|
myspace contact box with hover effect |
|
|
|
| Author |
Message |
Lbroskee

Veteran Member

Group : Member Joined :
29 Jan 2008 From :
Florida
OS :
Leopard/Vista
|
February 1st 2008, 23:34 |
|
|
| 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

Group : Founder Joined :
24 Dec 2007 From :
Southern California
OS :
Vista Ultimate
|
February 2nd 2008, 01:46 |
|
|
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 _________________ Founder of Galaxy GUI |
|
| |
|
Markoz

News Poster

Group : Member Joined :
24 Dec 2007
OS :
Windows Vista
|
February 2nd 2008, 01:57 |
|
|
| I was knowing it had to do something with hover. |
|
| |
|
Lbroskee

Veteran Member

Group : Member Joined :
29 Jan 2008 From :
Florida
OS :
Leopard/Vista
|
February 2nd 2008, 02:00 |
|
|
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

News Poster

Group : Member Joined :
24 Dec 2007
OS :
Windows Vista
|
February 2nd 2008, 02:07 |
|
|
Try repeating alxz's step 8 times in the HTML box |
|
| |
|
Lbroskee

Veteran Member

Group : Member Joined :
29 Jan 2008 From :
Florida
OS :
Leopard/Vista
|
February 2nd 2008, 02:35 |
|
|
tried that, with 1 i just repeats alot, and with 2 theres no image there at all _________________
 |
|
| |
|
alxmarcond

Geek Squad Pwnr

Group : Tech Support Joined :
12 Jan 2008 From :
Clemson
OS :
Ubuntu, Fedora, LFS, WinXP Pro SP3
|
February 2nd 2008, 03:57 |
|
|
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

Group : Member Joined :
29 Jan 2008 From :
Florida
OS :
Leopard/Vista
|
February 2nd 2008, 04:09 |
|
|
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

Group : Founder Joined :
24 Dec 2007 From :
Southern California
OS :
Vista Ultimate
|
February 2nd 2008, 04:12 |
|
|
| 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? _________________ Founder of Galaxy GUI |
|
| |
|
Lbroskee

Veteran Member

Group : Member Joined :
29 Jan 2008 From :
Florida
OS :
Leopard/Vista
|
February 2nd 2008, 04:19 |
|
|
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

Geek Squad Pwnr

Group : Tech Support Joined :
12 Jan 2008 From :
Clemson
OS :
Ubuntu, Fedora, LFS, WinXP Pro SP3
|
February 2nd 2008, 15:51 |
|
|
just animation? then just upload a flashing .gif... _________________
 |
|
| |
|
Lbroskee

Veteran Member

Group : Member Joined :
29 Jan 2008 From :
Florida
OS :
Leopard/Vista
|
February 2nd 2008, 16:13 |
|
|
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

Geek Squad Pwnr

Group : Tech Support Joined :
12 Jan 2008 From :
Clemson
OS :
Ubuntu, Fedora, LFS, WinXP Pro SP3
|
February 3rd 2008, 05:57 |
|
|
yeah, once for each one of the images _________________
 |
|
| |
|
|
myspace contact box with hover effect |
|
|