[jQuery] jquery change image based on server side data

2008-04-21 Thread Legster
I have a NEW image that displays at the top of the page, if there is new data. I had two loops(server side) on the page looping through data; the first time to see if there was something new, and then the second time to display the data. To improve performance I was hoping to delete the first

[jQuery] div X, Y Location

2008-03-24 Thread Legster
Is there an easy way to find the current X, Y location of any div area? Example of what I am trying to find: $(this).xpage or $(#mainDiv).ypage Those currently returns undefined. What am I missing? Thanks.