overlap

How can i check if 2 controls overlap eachother on a canvas in WPF?

I am writing a designer that enables the user to drag controls around the screen. What would be the best way of detecting if a control is overlapping another control while i am dragging the one control around? Should i just get the dimensions of the FrameworkElement and keep on checking the dimensions of the other elements? Thanks. Eli...

IE7 Overlapping Divs

While working to create a simple module, I ran into an issue with IE7 and its apparent desire to overlap elements. Here is my HTML code sample with CSS: <style type="text/css"> body { padding: 200px; } .description { padding: 60px; background-color: green; clear: both; } .middleba...

JavaScript: Trigger a function when two divs touch / overlap.

The title explains it really. How to do this? Both divs are of differing size. Both divs are moving (I'm making a little Jquery game). If one hits the other, I want stuff to happen. Thanks ...

itextsharp table text overlapping

Hi, A website im working on creates a pdf document using itextsharp xml but for some reason when content in a table row is split between two pages the content is falling into the next column and overlapping on the next page. Has anyone come across this issue before and if so any fizes? Any help would be much appreciated. John ...

How can you detect if two regular expressions overlap in the strings they can match?

I have a container of regular expressions. I'd like to analyze them to determine if it's possible to generate a string that matches more than 1 of them. Short of writing my own regex engine with this use case in mind, is there an easy way in C++ or Python to solve this problem? ...

Div overlapping & wrong height

I have 3 DIVs. 2 are inside the parent DIV. something like <div id="parent"> <div id=1>......</div> <div id=2 style="position:relative;left:0px;top:-300px;">....</div> </div> As you can see, there is an overlapping. The annoying thing is, the parent div has a huge white space at the bottom. The reason apparently is bec...

Android: When the keyboard pops up, the layout is invisible. How do I solve this?

In my layout, there is a TextView at the bottom of the screen. The problem is that when I click inside the text box to type something, the keyboard covers the text box as a result of which I am not able to see what's happening... Is there any solution for this? Here's my layout... <?xml version="1.0" encoding="utf-8"?> <LinearLayout xml...

can two overlapping buttons recieve the same click?

I am new to flex and as3 and I need to create a workaround for a button issue. I don't know how to have one button created by one class send a click event to another item created in a different class Therefore, I'd like to place both of my buttons on top of one another, alpha one of them out and have both buttons receive the same click....

Using subreport in crystal reports 8.5, How can we stop overlapping it with the end of the main report?

hi I've created a new report using crystal reports 8.5. In it, I've used 3 sub reports and they are positioned in main report vertically. My question is, How can I stop overlapping them with each other and also with the down border of the main report? thank you ...

iphone UITableViewCellStyleValue1 detailTextLabel overlapping textLabel

Hello, I'm using UITableViewCellStyleValue1 in my table and setting some text for both the textLabel and detailTextLabel. In one cell the detail text label is a long URL, which overlaps with the textLabel (normally "URL" and then shortened to "U."), which sucks. Is there a way to prevent this, except from creating my own label and putti...

Calculate overlap between two rectangles on x/y grid?

I need to calculate the overlap (amount or yes/no) that two rectangles make on a special x/y grid. The grid is 500x500 but the sides and corners connect (are continuous). So the next point after 499 becomes 0 again. In a previous question I asked for a way to calculate the distance between two points in this grid. This turned out to be ...

What are the differences and similarities between the .NET languages?

I'm trying to figure out how much overlap there is between the different languages of the .NET framework, and what the real differences are. Is there an overlap of libraries/methods/functions...? If I'm googling a question for, say, VB .NET, and C# answers come up, what can I take from the C#-relevant info and what differences/incompatib...

jQuery - overlapping click events... How to prevent one

I'm currently working with a click event that fires an ajax call. I'd like to leverage a small plugin which, will handle some form data validation. The problem is that both the ajax call and the validation function of the plugin will be fired on the same click event. In the end, I'd like the plugin to override the ajax function. I'm not...

CSS Overlapping divs

With this css .addProblemClass{ width:300px; height:300px; /*width:25%; height:40%;*/ border:solid 1px #000000; margin: 5px; background-color:#FFFFFF; padding:5px; opacity:0.9;/*For chrome and mozilla*/ filter:alpha(opacity=90);/*For IE*/ } .boxHeader{ border: solid 1px #000000; height: 2...

How to display jquery qtip tooltip for overlapping divs

I have a series of 'crosshair image' divs on a webpage which are moved with jquery and absolute positioning. I would like to display a qtip tooltip when the user's mouse moves over these crosshairs. The problem is that quite often these divs will be overlapping but qtip tooltip is only displayed for one of the divs, not all of the divs...

reversing z-index based from page render order

Example Markup: <div class="wrapper"> <h2>Trigger</h2> <div>This is some content</div> </div> <div class="wrapper"> <h2>Trigger</h2> <div>This is some content</div> </div> <div class="wrapper"> <h2>Trigger</h2> <div>This is some content</div> </div> Example CSS: .wrapper {z-index: 1} .wrapper div {display: no...

Planar Graph Layouts

What are some edge overlap minimization techniques when laying out a graph? (Preferably related to GraphViz) Also are there any existing software that can layout a graph in a planar fashion? Current Layout - http://www.evecakes.com/doodles/master.gif The pink section in the upper left hand corner looks fine while the light blue section...

making a java panel fullscreen

hello, how would you make a JComponent (panel, frame, window, etc.) fullscreen so that it also overlaps everything on the screen including the windows startbar? i dont want to change the resolution or anything with the graphics device like bitdepth etc, i just want to overlap everything else. thanks! ...

Limiting ASP.Net cookies to application

I have two applications on my webserver. myserver.com/ApplicationA myserver.com/ApplicationB Both applications are using similar codebases and so there are several overlaps in their cookie names, which are causing problems... I'm aware that it is possible to limit a cookie in ASP.Net so that only applications on a certain "Path" can ac...

Two nib overlapped: how to interact?

Hy guys, i've a problem. I've two nibs, the one partially overlapped to other. Into the first nib there's a full interactive area (it's the big red button). Into the second there are two buttons (a visible one "button 2" and a hidden "button 3" that slides up when you press "button 2"). How can i click the "button 1" when i am into the...