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 / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Dumb javascript question
Not sure it's what I need

WebmasterWorld Senior Member 10+ Year Member

Msg#: 4469397 posted 8:36 pm on Jun 25, 2012 (gmt 0)

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?



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

Msg#: 4469397 posted 9:33 pm on Jun 25, 2012 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
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