homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Mouseover preview popup that displays info from a database

 2:23 pm on Sep 22, 2010 (gmt 0)

So I want the user to hover the mouse cursor over a link, then have a popup window, about 400 X 400 maybe, that can dynamically display some text pulled from a MYSQL database. Click the popup window or the original link to go to a page that displays more information.
This is not for the web, it is a LAN with a computer that is running Apache server and PHP.
It must work for Firefox browser.
I'm just trying to get a handle on what technologies are involved, (Javascript? CSS?) and would appreciate a "oh, you can do it with so and so" description, not code examples at this point.
I'm trying to figure out where to start. Thanks!



 2:52 pm on Sep 22, 2010 (gmt 0)

What you are proposing is quite simple with PHP, grabing mysql information is very easy especially if you don't have to worry about security with it benig on a LAN.

The pop up window next to the mouse will be javascript but the rest should be PHP...

When you say dynamically I assume you mean there is some other program that is updating the database and you want to be able to see that data as it updates? If so it should all be quite simple.


 3:30 pm on Sep 22, 2010 (gmt 0)

I'm just trying to get a handle on what technologies are involved

In that case definitely look into jQuery - there are so many plugins available there might already be something that comes close to what you are after.


 9:14 pm on Sep 22, 2010 (gmt 0)

FutureX, the info grabbed from the database actually doesn't get updated by users, so it's not really dynamic at all, wrong word I guess.

Haven't heard of jQuery, I'll check it out, thanks.


 1:02 pm on Sep 25, 2010 (gmt 0)

Just a hollaback...
I made it work with both Javascript and CSS, and preferred the CSS method; much quicker popup, using a div instead of a clunky window.
Easier than I thought it would be, too.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved