Wordpress Theme - Myspace Layouts - Travel and Leisure Articles - Internet Advertising - Free Advertising

PDA

View Full Version : Dynamic Mouseover?


egdcltd
Aug 26th 2006, 2:25 pm
I would like a JavaScript onmouseover event to bring up a box with text in it. The text is retrieved from a MySQL database, as it alters with different rollovers. Is there any way of doing this please? It's on a phpBB forum.

jestep
Aug 26th 2006, 7:31 pm
This would be an Ajax script.

You use the javascript to call a php function that returns data from the database or any other script that you create. Im not sure how easy this would be to implement in a phpBB forum, but Ajax is definitely the direction you need to look in.

egdcltd
Aug 27th 2006, 1:35 am
Thanks. Looks sort of complicated - I don't really have much experience with JavaScript.

wormy
Aug 29th 2006, 12:32 pm
I would like a JavaScript onmouseover event to bring up a box with text in it. The text is retrieved from a MySQL database, as it alters with different rollovers. Is there any way of doing this please? It's on a phpBB forum.


You wan't to duplicate what VB already does when you hover over a topic and get the first few words of the post right?

egdcltd
Aug 29th 2006, 12:41 pm
I hadn't noticed that before, but yes, that's what I was trying to accomplish