Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Role over link and image shows up
Old 03-08-2007, 05:29 PM Role over link and image shows up
Novice Talker

Posts: 10
Name: patrick
Trades: 0
hi all
need some help, what i want to know is how do i have a link that when some one roles over it a image shows up.

is there a java script that does this or better still is there a way of doing it with out useing java thanks from patrick

hope you all know what i meen thanks
Patrickjohn is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-08-2007, 05:46 PM Re: Role over link and image shows up
RickPlmr's Avatar
Super Talker

Posts: 107
Name: Rick Palmer
Trades: 0
Here's a great example of what css can do without any javascript.

Assuming you have the rollover image in an images folder on your server, and a link named roller, try this css:

#roller a {
background: url(images/image1.gif) no-repeat top center;
}

#roller a:hover {
background: url(images/image2.gif) no-repeat top center;
}


HTH
__________________

Please login or register to view this content. Registration is FREE
- free online training in Java, J2EE, and MySQL.


Please login or register to view this content. Registration is FREE
- answers and advice from a geek who knows stuff.

Last edited by RickPlmr; 03-08-2007 at 05:48 PM..
RickPlmr is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 05:52 PM Re: Role over link and image shows up
Novice Talker

Posts: 10
Name: patrick
Trades: 0
hi thanks for that but what it is am after is the image to show up separately like if you role over an image and you text shows up saying what it is.

i want this to happen on links but not text showing up i want it to be an image thanks hope you know what i mean
Patrickjohn is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 06:00 PM Re: Role over link and image shows up
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Are you saying you want an image to appear somewhere else on the page when you hover over a link ??
If that is the case, it can be done with CSS:
http://meyerweb.com/eric/css/edge/popups/demo.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 06:17 PM Re: Role over link and image shows up
Novice Talker

Posts: 10
Name: patrick
Trades: 0
i want the image to float / aprear just nere the pointer as i role over it
Patrickjohn is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 06:24 PM Re: Role over link and image shows up
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
K, then the link I gave you will tell you how to do that. You can position the image to come up wherever you like.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 06:26 PM Re: Role over link and image shows up
Novice Talker

Posts: 10
Name: patrick
Trades: 0
ok thanks for that
Patrickjohn is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 06:38 PM Re: Role over link and image shows up
Novice Talker

Posts: 10
Name: patrick
Trades: 0
hi that link doestn show you how to put a differnt image some were its just text pluss you cant put it were you wasnt it
Patrickjohn is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 06:40 PM Re: Role over link and image shows up
Novice Talker

Posts: 10
Name: patrick
Trades: 0
http://meyerweb.com/eric/css/edge/popups/demo2.html this one does images but how do you have the image show up some were els
Patrickjohn is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 02:20 PM Re: Role over link and image shows up
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Add a style tag to the image with:
Code:
position: absolute;
left: ***px;
top: ***px;
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 02:45 PM Re: Role over link and image shows up
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It's pretty clear you're in over your head if you can't figure out how to change the values to move the image. I suggest some study at www. w3schools.com.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Role over link and image shows up
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37410 seconds with 12 queries