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.

CSS Forum


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



Reply
[Request]Mouseover text, causing image to popup.
Old 12-28-2008, 09:44 AM [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Well like the little says,
I would like to know the the code so that when you scroll over a LINK a small picture pops up next to that link or text.

Example:

I am trying to put the names of a few people on a list, and i want their picture to pop up when you mouseover/rollover each individual name.

Like:

Eric (on mouseover ERIC) ----> Picture.
Sam (on mouseover SAM) ----> Picture.
Eddy (on mouseover EDDY) ----> Picture.

This code will be used for a myspace page so this criteria must apply;

-"You may enter HTML/DHTML or CSS in any text field. Javascript is not allowed." -MySpace Admins.

I am also using DIV layout for said myspace page. So i have no idea how the code will blend in/react/function with the layout.



EDIT:
I want something like this:
http://www.candsdesign.co.uk/page-te...ery/layout.asp

Rollover the link, picture shows under it


EDIT2 REQUEST #2:
If this is not able to be done, perhaps you can supply me qith a code to like a hidden link sorta thing,

EX:
http://forum.ninjavideo.net/viewtopi...347297#p347297

Refer to the second post in this forum to get an idea of what i am talking about.

EDIT3:

I have used codes like pure css, but it does not seem to work, this i believe is due to a DIV based layout that i am using which might be blocking or hiding some code, give it a shot anyways thanks

I hope i was descriptive enough. Thanks in advance guys i really appreciate what you guys do here :]

~Khaoz

Last edited by Khaoz; 12-29-2008 at 10:31 PM..
Khaoz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-28-2008, 11:32 AM Re: [Request]Mouseover text, causing image to popup.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
do a search on "lightbox" or "disjointed rollover"
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-28-2008, 12:13 PM Re: [Request]Mouseover text, causing image to popup.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You could also try this .. pure 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 12-28-2008, 12:18 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Pure css is just for text i think.
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 12:23 PM Re: [Request]Mouseover text, causing image to popup.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Not necessarily, as you can place either images or text (or both together) inside of a link. Sometimes I'll use schemes such as the one LadynRed suggested as a model for degradation in which JavaScript is used to make it a bit fancier, while if JS is disabled, it will still function.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-28-2008, 01:30 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Ugh i cant seem to get the pure core together,

Can someone put an example together for me please,

so it would be a link to....

www.google.com

when you mouseover it, it will display this picture:

http://www.mobileburn.com/media/logos/thumbs/google.jpg

This way ill have a base to what i should be seeing/filling out with my own links.

EDIT:
Grrrr this is so frustrating! nothing i try works god damned piece of **** myspace!
lol....maybe its just the div interfering with the code....
Nah! I'm sure its just i cant get the coding right try after try....

Last edited by Khaoz; 12-28-2008 at 02:09 PM..
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 02:30 PM Re: [Request]Mouseover text, causing image to popup.
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
If all else fails, take a look at
http://www.jampmark.com/web-scripting/pure-html-css-slideshow.html


- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 02:30 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Hep me out here dudes

EDIT:
Woah dude steve this is really good find i like it. but, it kinda does not match my layout and i cant have that crowding on the layout i like it simple, easy on the eyes

Simple on the outside, hard as hell on the inside.

Last edited by Khaoz; 12-28-2008 at 02:33 PM..
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 02:44 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
BTW it cannot contain any javascript in it, or else myspace blocks the code. i don't know why but any JS included disables the code and it tells me VIOLATION OF TERMS OF SERVICE.

Would this be a correct code?

Code:
div#set_of_links {
    position:relative;
    padding:9px;
    border:1px dotted #999;
    background-color:#fff;
    margin-bottom:20px
}
div#set_of_links a {
    display:inline;
    padding:0px 9px 0px 9px;
    text-decoration:none;
    color:maroon
}
div#set_of_links a:hover {background:transparent}
div#set_of_links a span {display:none}
div#set_of_links a:hover span {
    display:inline;
    position:absolute;
    top:9px;
    left:100px;
    padding:80px 15px 5px 0
}
.www.google.com  {background:url(http://www.mobileburn.com/media/logos/thumbs/google.jpg) no-repeat top left}
OR???


Code:
<div id="set_of_links">
<a href="javascript:;"><img src="http://www.mobileburn.com/media/logos/thumbs/google.jpg" />
<span class="google.com"><strong>google</strong><br />Its google!.</span></a><br /></div><!-- /set_of_links -->

Last edited by Khaoz; 12-28-2008 at 03:06 PM..
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 03:54 PM Re: [Request]Mouseover text, causing image to popup.
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Quote:
Woah dude steve this is really good find i like it. but, it kinda does not match my layout and i cant have that crowding on the layout i like it simple, easy on the eyes
Who cares about the layout - all you need to do is take the code. You can change the layout easily.

Let me know if it works!
- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 04:46 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Quote:
Originally Posted by stevej View Post
Who cares about the layout - all you need to do is take the code. You can change the layout easily.

Let me know if it works!
- Steve
Dude i love the layout! its a band page, been working on it to perfection for about 2 days on 4 hours of sleep still haven't slept actually waiting on this stupid code!!! Gagghhh! A forum full of experts and nothin'.
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 04:55 PM Re: [Request]Mouseover text, causing image to popup.
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
No - I meant the layout of the css slideshow. I linked to.

- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 05:05 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Quote:
Originally Posted by stevej View Post
No - I meant the layout of the css slideshow. I linked to.

- Steve
oh xD.

Well it doesn't work with my layout.

Myspace block it saying that crap about Violates the Terms.
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 05:15 PM Re: [Request]Mouseover text, causing image to popup.
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Well, what DOES your layout look like?
stevej is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 05:20 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Quote:
Originally Posted by stevej View Post
Well, what DOES your layout look like?
It looks cool
Its just a myspace thing that says that u cant use javascript or some type of code because it thinks its a virus. So yeah.

Last edited by Khaoz; 12-28-2008 at 05:22 PM..
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 06:14 PM Re: [Request]Mouseover text, causing image to popup.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
thinking JavaScript is a virus has nothing to do with it. It would be dumb for Myspace to allow JavaScript because that would allow users to redirect to other pages, open popup windows onclick, send alerts, make XML HTTP requests, and do all sorts of things that would be bad for the community as a whole.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-28-2008, 07:18 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
thinking JavaScript is a virus has nothing to do with it. It would be dumb for Myspace to allow JavaScript because that would allow users to redirect to other pages, open popup windows onclick, send alerts, make XML HTTP requests, and do all sorts of things that would be bad for the community as a whole.

That makes sense, any solution to my problem?
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-28-2008, 11:49 PM Re: [Request]Mouseover text, causing image to popup.
Average Talker

Posts: 20
Trades: 0
BUMP!! teach me to do PURE cSS
Khaoz is offline
Reply With Quote
View Public Profile
 
Old 12-29-2008, 08:44 AM Re: [Request]Mouseover text, causing image to popup.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by Khaoz View Post
BUMP!! teach me to do PURE cSS
http://www.webmaster-talk.com/css-fo...tml#post817914
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to [Request]Mouseover text, causing image to popup.
 

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.51937 seconds with 12 queries