|
myspace contact box with hover effect |
|
|
Author |
Message |
Lbroskee
Veteran Member
From : Florida
OS : Mac OS X Leopard
|
Subject: myspace contact box with hover effect February 1st 2008, 7:34 pm |
|
|
so i want to make a myspace contact box where each link picture changes to a different 1 when highlighted using 20 Apple Website Buttons but i have my own versions already set up and just dont know how to do this kind of coding (if its even possible)
|
|
|
|
SbuxBlaze
Founder
From : Southern California
OS : Win 8 x64, Android 4.0
|
Subject: Re: myspace contact box with hover effect February 1st 2008, 9:46 pm |
|
|
You can look at CSS Mouseover,
I believe you can try this,
.nameofwhatever { background-image: url("http://tonormalbutton"); } .nameofwhatever:hover { background-image: url("http://torolloverbutton"); }
If you dont know CSS well I cant help you out much more because this is all I know xP
|
|
|
|
Markoz
Veteran Member
OS : Windows Vista
|
Subject: Re: myspace contact box with hover effect February 1st 2008, 9:57 pm |
|
|
I was knowing it had to do something with hover.
|
|
|
|
Lbroskee
Veteran Member
From : Florida
OS : Mac OS X Leopard
|
Subject: Re: myspace contact box with hover effect February 1st 2008, 10:00 pm |
|
|
well i know basic 1 image but since the contact box is like 8 links and it would be 8 on 8 images i would have no idea what to do for this, because obviously u cant combine them into 1 image or the whole thing would change just by highlighting 1 image
|
|
|
|
Markoz
Veteran Member
OS : Windows Vista
|
Subject: Re: myspace contact box with hover effect February 1st 2008, 10:07 pm |
|
|
Try repeating alxz's step 8 times in the HTML box
|
|
|
|
Lbroskee
Veteran Member
From : Florida
OS : Mac OS X Leopard
|
Subject: Re: myspace contact box with hover effect February 1st 2008, 10:35 pm |
|
|
tried that, with 1 i just repeats alot, and with 2 theres no image there at all
|
|
|
|
alxmarcond
Community Leader
From : Clemson
OS : LFS, Win7 b.7000, OS X Leopard 10.5.6
|
Subject: Re: myspace contact box with hover effect February 1st 2008, 11:57 pm |
|
|
u need javascript my friend - Code:
-
<script language="JavaScript" type="text/javascript"> <!-- if (document.images) { homebuttonup = new Image(); homebuttonup.src = "homebutton.gif" ; homebuttondown = new Image() ; homebuttondown.src = "homebuttondown.gif" ; } function buttondown( buttonname ) { if (document.images) { document[ buttonname ].src = eval( buttonname + "down.src" ); } } function buttonup ( buttonname ) { if (document.images) { document[ buttonname ].src = eval( buttonname + "up.src" ); } } // --> </script>
|
|
|
|
Lbroskee
Veteran Member
From : Florida
OS : Mac OS X Leopard
|
Subject: Re: myspace contact box with hover effect February 2nd 2008, 12:09 am |
|
|
ok idk if im forgetting everything i've learned about myspace codes or what, but i have no clue how to enter the stuff in there
|
|
|
|
SbuxBlaze
Founder
From : Southern California
OS : Win 8 x64, Android 4.0
|
Subject: Re: myspace contact box with hover effect February 2nd 2008, 12:12 am |
|
|
- broskee wrote:
- ok idk if im forgetting everything i've learned about myspace codes or what, but i have no clue how to enter the stuff in there
don't you enter the code in your profile?
|
|
|
|
Lbroskee
Veteran Member
From : Florida
OS : Mac OS X Leopard
|
Subject: Re: myspace contact box with hover effect February 2nd 2008, 12:19 am |
|
|
yes but there are some parts of the code that need 2 be replaced with a link, otherwise my image won't show up. and i dont know if im looking at it wrong but it looks like i'll end up replacing almost half of the coding
EDIT:just to make sure we are all on the same page this is what im trying to achieve....
|
|
|
|
alxmarcond
Community Leader
From : Clemson
OS : LFS, Win7 b.7000, OS X Leopard 10.5.6
|
Subject: Re: myspace contact box with hover effect February 2nd 2008, 11:51 am |
|
|
just animation? then just upload a flashing .gif...
|
|
|
|
Lbroskee
Veteran Member
From : Florida
OS : Mac OS X Leopard
|
Subject: Re: myspace contact box with hover effect February 2nd 2008, 12:13 pm |
|
|
well not so much animation. thats jus what i want it 2 do on mouseover, but my mac doesnt capture the mouse in screen capture. and if i want that for each button, do i need the code 8 times?
|
|
|
|
alxmarcond
Community Leader
From : Clemson
OS : LFS, Win7 b.7000, OS X Leopard 10.5.6
|
Subject: Re: myspace contact box with hover effect February 3rd 2008, 1:57 am |
|
|
yeah, once for each one of the images
|
|
|
|
Sponsored content
|
Subject: Re: myspace contact box with hover effect |
|
|
|
|
|
|
|
myspace contact box with hover effect |
|
|