Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 pop up info box

Author  Topic 

php95saj
Starting Member

43 Posts

Posted - 2002-06-18 : 06:29:11
I am trying to create pop up inof boxes on a page. the idea is that the user moves their mouse on an element(an image for example) and a little pop up box appears giving detials about that element.

I am using the following code:

<a href="javascript:void(0)"
onmouseover="writetxt('<%= arrMessages(0,0) %>')"
onmouseout="writetxt(0)">ALTTXT Description</a>

where writetxt is a JS function that displays box with the text in it.
At the moment I am using an array to store the text for different elements returned by a recordset.

The problem is that I don't want to query the whole of the table and then store the result in a massive array. I just want to bring page relevant text, may be use dictionary object to store complete recordset. Any practical ideas are very welcome.

Thnaks.





   

- Advertisement -