PDA

View Full Version : Newbie Needs Help



SuperDub
12 Oct 2005, 03:05 PM
I'm trying to design my first web page and I'm using Frontpage. I'm looking to be able to have the pointer roll over a graphic on my page and a box pop up in the corner of the page with some info re: the what the graphic refers to. I saw this done on this link,

http://www.scottishgolfcourses.com/southwest/index.html

where the pointer rolls over a green dot and the box pops up. Can anyone tell me what this is called and where I'd find more info on how to do it in Frontpage. Thanks in advance for your help. :drink:

Rincewind
12 Oct 2005, 06:48 PM
I don't use frontpage but dreaweaver has a system to do this so I'd think that frontpage would too.

The popup is just a <div>. You use some CSS to set the position or the div on the screen (position:absolute; top:10px; left20px; width:100px; height:150px; etc) and set the visibility:hidden;

Then you have a link. You set a javascript behaviour on the link so that OnMouseOver(...) to load a bit of javascript that will change the visibility setting of the div so that it apears and dissapears.

This is how all popup menus work and those popup adds that get round your add blocker. You can get a full break down of the javascripts involved at my site here
http://www.splodgy.com/modules/dokuwiki/doku.php?id=id_switch_menu
and also
http://www.splodgy.com/modules/dokuwiki/doku.php?id=dhtml_menu_code