Is it possible?
Is it possible?
I want to create a page on a website that has a background image and then some small icons on top of that image that when you hover over each icon it shows you a bigger picture of the location the icon is on. Is this something possible to do?
Short answer... yes ? 
You can set a background image via css to most elements, for example:
Then, the element with this css id will have the above background:
Then, in that element you can add your images. To make the hover elements as the location, or something else you can use javascript onmouseover/onmouseout events, you can use the simple html "title=...." tags on the images, use php to fill them automatically, or some other ready product like highslide.js, depending on how complex you want to go with it, not sure exactly what you're trying to do. Does the hover element need to be a picture just to show the location ?
You can set a background image via css to most elements, for example:
Code: Select all
#roody {width: 150px; padding: 0; margin: 0; background: #3a484c url('/images/bg_left2.gif') repeat-y fixed left top;}Code: Select all
<div id="roody"> </div>Meth......Roody wrote:I want to create a page on a website that has a background image and then some small icons on top of that image that when you hover over each icon it shows you a bigger picture of the location the icon is on. Is this something possible to do?
People will forget what you said... and people will forget what you did... but people will never forget how you made them feel.
- Mad_Haggis
- Senior Member
- Posts: 4128
- Joined: Sun Mar 07, 2004 12:00 pm