HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Img Hover Problems
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> Images & Graphics
View previous topic :: View next topic  
Author Message
xmryoureonfire



Joined: 02 Jan 2007
Posts: 5

Posted: Tue Jan 02, 2007 1:48 pm     Img Hover Problems  

Kay so,
I have a custom div layout made by moi.
in div1
I have a photo of myself.
Under my photo
I have my links to things like pix, home, etc.
and those are pictures not actual text.
I want to have
a code
where when you hover over the pictures. ..
they are replaced by another picture [going to be another color of the same words].

So erm. HELP! PLZ KTHNX!


Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Tue Jan 02, 2007 2:41 pm      

Check out Rollover script.

_________________
Corey
Toll Free Numbers | Merchant Accounts
xmryoureonfire



Joined: 02 Jan 2007
Posts: 5

Posted: Tue Jan 02, 2007 6:54 pm      

well, I have to have diferent hovers for different pictures.
I don't know exactly where to insert the Rollover script.

Need I post my Layout?
Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Wed Jan 03, 2007 4:06 am      

Well the first one tells you exactly what to - saving the JS file, adding it to the <head> and then add the second part to where you want your image to show up.

And then the second one shows an entire web page so I am not certain which one you are using and where you might be having problems?

_________________
Corey
Toll Fax Numbers | Merchant Accounts | Microsoft Expressions
xmryoureonfire



Joined: 02 Jan 2007
Posts: 5

Posted: Wed Jan 03, 2007 9:14 am      

alright. so I'm still rather confused.[let me remind you this is a myspace layout]

1)How do I save something as .js?
2)When I did the .js when I rolled over the link it had like the little info bar show up saying what that was a link to. I don't need that! I need it to display another picture.
ex. like if you had a star.bmp as a link and when you rolled over it it became like... a clowd.bmp
4) It seems that CSS would work, cause I've seen that in a lot of layouts that I've done... but I'm not to sure where to put it.


I'm sorry for being so difficult.



Layout:
Code:
</td></tr></table></td></tr></table></td></tr></table></div>

<div class="bbzContainer">
<div class="div1">

<img src="http://img177.imageshack.us/img177/790/sinbg6.png">

<br><img src="http://a82.ac-images.myspacecdn.com/images01/23/m_a2bef2de03d6afcb6e886099710f5541.jpg"><br>

<a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=16202558"><img src="http://img409.imageshack.us/img409/6307/picturesce7.png"></a>
<br>

<a href="http://home.myspace.com/index.cfm?fuseaction=user" ><img src="http://img116.imageshack.us/img116/3311/homene0.png"></a><br>

<a href="http://messaging.myspace.com/index.cfm?fuseaction=mail.message&friendID=16202558"><img src="http://img101.imageshack.us/img101/5207/messagedk8.png"></a><br>

<a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=16202558"><img src="http://img64.imageshack.us/img64/7493/addyt0.png"> </a><br>

<a href="http://comment.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm&friendID=16202558"><img src="http://img124.imageshack.us/img124/6606/commentij2.png"></a><br>

<a href="http://home.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=16202558"><img src="http://img116.imageshack.us/img116/1158/friendzxk5.png"></a><br>

<a href="http://blog.myspace.com/index.cfm?fuseaction=blog.ListAll&friendID=16202558"><img src="http://img471.imageshack.us/img471/4599/blogzvt2.png"</a><br></font>
<br>


</div>

<div class="div2"><center>MY NAME iS<br><img src="http://img412.imageshack.us/img412/2532/kellyza7.png"><br><bR>
<font size=5>SOMETHiNGS ABOUT ME?</font><br><br>
<img src="http://img406.imageshack.us/img406/6596/christmasday126ej3.jpg"><br>
<font size=3>Feelings change with seasons.</font><br>
I screw up a lot.
<b>I am in <i>ACTION!!!</I>.</b>
I get in trouble.<br>
My name translated by Google into French is: Tige carrée d'entraînement.<br>
People hate me.
People love me.
I play <b> varsity soccer</b>
I run.
I am a photographer & a 
writer. <Br><br>
<img src="http://img134.imageshack.us/img134/5663/christmasday030bo1.jpg"><br>
I'm a <b>dork</b>. I go to Bolton High School in Alexandria, Louisiana.<Br>
I honestly, hate it here, but I make the <i>best of what's around</i>.
<br><br>
<a href="http://xxlovexrhymesxx.deviantart.com/"><img src="http://img412.imageshack.us/img412/895/christmasday086xw0.jpg"><br>MY DEViANT ART</a>
<br><BR>
I love to make art. Whether it be photography or convential. Need some band art? Hook me up with a name and a general idea and I'll try to do the best I can.
<br><br>
SOME MOAR?<br><br>
.I never fail to represent<br>
who I really am on a regular basis.<br>
.My signature move<br>
is the robotic thrust<br>
.I mosh. It's true. I also buffer.<br>
.I am Daddy Long Legs.<br>
.and kel-zero.<br>
.and also:<br>
Skanksickles<br><img src="http://tn3-1.deviantart.com/fs14/300W/f/2006/361/d/1/Skank_by_xxlovexrhymesxx.jpg" width="200" height="250"><br>
<br>
.I'm a photoholic.<br>
that includes being in front of and <br>
behind the camera.<br>
.I wear glasses, and, yes<br>
they are black and thick rimmed.<br><br>
.I don't care about how you go comando:]<br>
.I am undate able.?<br>
.I cannot sing, or play an instrument.<br>
.But I am artistic like woah.<br>
.I basically only hang out with boys and older people.<br>
.I'm uncomfortable around people my own age.<br>
.I hate wine. and beer. and cigarettes.<br>
<br><BR>
.I still write snail-mail to my best friend, Susie, in Georgia<br>
.People don't really like me. I don't know why.<br>
But whatev. It's cool.<br>
.I laugh at Steve Irwin's death, lol,stingray.<br>
.I'm lame, enough said. .I tend to get in trouble with my friends a bunch. <br>
<br><br>
 


</center>



<br><br>


</div>



</div>



</div>

<div class="bbzsc"><table><tr><td><table><tr><td><table><tr><td>

<bgsound src="http://www.onthepullmanagement.com/04%20Gold%20Lion-(Nick%20Zinner%20Remix).mp3" loop=infinite>
</noembed>




</td></tr></table></td></tr></table></td></tr></table></div>


<style type="text/css">
body {background-color:ffffff; background-image:url("http://img206.imageshack.us/img206/779/msidivcopyjv9.jpg"); background-repeat:repeat; background-position:top left; background-attachment:fixed;}
td, .text, div, input {color:ffffff !important;font-family:century gothic;font-size:9px;line-height;9px; }
a {color:ffffff !important;font-family:century gothic;font-size:9px;line-height;9px;}
a:hover {text-decoration:none;} img {border:0px;}
table, tr, td {background:transparent; border:0px;}
img, .contactTable { display:none; }
.bbzContainer img, .comt img { display:inline; }
table div, td td td, table div div { visibility:hidden; }
font, a, .bbzsc a { visibility:hidden; }
marquee { visibility:visible !important; }

.bbzComment { This is where you control the position of the player. }
table table embed {display:block; width:202px; height:35px; position:absolute; top:0px; left:0px; visibility:visible;}
table table table embed,  .bbzContainer div embed {position:static !important; width:auto; height:auto; }
.text, table table table table a,
table table table table div,table table table table div a {visibility:visible;}
.bbzComment { You selected to hide comments. }
.bbzsc { display:none; }
.text, td.text td.text table, .contactTable, .lightbluetext8 {display:none;}
table table, table table td {padding:0px; height:0px;}

.div1 {
background-color:333333; color:ffffff;
border:6px solid; border-color:fff;
width:250px; height:300px; overflow:auto;
position:absolute; z-index:2; left:50%; top:0%;
margin-left:-300px; margin-top:200px; text-align:left;
visibility:visible;}

.div2 {
background-color:333333; color:ffffff;
border:6px solid; border-color:fff;
width:500px; height:300px; overflow:auto;
position:absolute; z-index:2; left:50%; top:0%;
margin-left:-30px; margin-top:200px; text-align:left;
visibility:visible;}

marquee { z-index:8; }
table div, span, td td td, table div div { visibility:hidden !important; }
.bbzContainer div, .bbzContainer div font, .bbzContainer div a, .bbzContainer div div, .bbzContainer font a, .bbzContainer span, .bbzContainer div table a, .bbzContainer div table img, .bbzContainer div table font, .bbzContainer div table, .bbzContainer div table td, .comt, .comt td, .comt span, .comt a, .comt div {visibility:visible !important;}
a:link.hotlyts, a:active.hotlyts, a:visited.hotlyts { font-size:11px;color:fff;text-align:left;display:block;padding-left:2px;}
a:hover.hotlyts {font-size:11px;text-align:left;display:block;background-color:000;color:fff;font-color:fff;padding-left:2px;}


</style>
<div style="display:none;"><table><tr><td><table><tr><td><table><tr><td>
Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Wed Jan 03, 2007 9:55 am      

xmryoureonfire wrote: alright. so I'm still rather confused.[let me remind you this is a myspace layout] Remind me? You negelcted to tell me that was what you were doing - myspace layout until now. From what I have read, myspace does not support JavaScript and you really cannot edit the head of the document to add an internal / external CSS script.

The code that you provided - shows that you have an internal style sheet inside your <body> and this goes into the <head>

I don't mess with MySpace unfortunately. I pretty much only know where code goes and doesn't go

_________________
Corey
My Merchant Account Blog | Merchant Accounts
xmryoureonfire



Joined: 02 Jan 2007
Posts: 5

Posted: Wed Jan 03, 2007 10:27 am      

sorry. I thought I had. >.<
Again, sorry for wasting yr time.
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> Images & Graphics
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group