Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Dumb javascript question

Not sure it's what I need



8:36 pm on Jun 25, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I want to have pictures on my site that are divided into areas that when the visitor hovers their mouse over them pop up an information bubble. Is this a javascript thing? I have found one javascript thing that is using the title of the image, but I want to divide the image up into hotspots. Seems like I remember doing this in the past but can't remember how to do it now, and it's not so much a link I want in the hotspot as a popup bubble. If that makes sense. If it is not javascript that I could do this with, what would I use? I want to make an online book that is image-heavy and that uses the images as "indexes" to information that is presented on the same page in this bubbles or whatever they are called.

Also, if I can do this in javascript, is there a way to control the font?


9:33 pm on Jun 25, 2012 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

When you make a popup window, you can set anything that you would set in a normal window-- including the font. But I'm pretty sure that it defaults to the values of its "home" window, not the user's default settings, so don't spend time setting things that don't need to be set.

You can detect areas in javascript or you can use an image map. In fact you can do the whole thing purely in html, though the popup won't look as nice.

Featured Threads

Hot Threads This Week

Hot Threads This Month