Is it possible?

Discuss anything not covered in another forum (life, the universe etc.)... Please keep it PG-13 and avoid spam.
Post Reply
User avatar
Roody
SG VIP
Posts: 30735
Joined: Sun Nov 19, 2000 12:00 am
Location: East Tennessee

Is it possible?

Post by Roody »

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?
User avatar
Philip
SG VIP
Posts: 11728
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Short answer... yes ? ;)

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;}
Then, the element with this css id will have the above background:

Code: Select all

<div id="roody">   </div>
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 ?
User avatar
MadDoctor
New Member
Posts: 5
Joined: Fri Apr 27, 2001 12:00 pm
Location: Looks dark

Post by MadDoctor »

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?
Meth......
People will forget what you said... and people will forget what you did... but people will never forget how you made them feel.
User avatar
Mad_Haggis
Senior Member
Posts: 4128
Joined: Sun Mar 07, 2004 12:00 pm

Post by Mad_Haggis »

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?
Adobe
BEER
Post Reply