ive wanted to make rollover buttons on myspace, i realize that you cant use javascript on myspace,any ideas on how i could do so still...ive looked and looked and looked with no success
ive wanted to make rollover buttons on myspace, i realize that you cant use javascript on myspace,any ideas on how i could do so still...ive looked and looked and looked with no success
You can always use CSS.
Then when you put in your buttons, for example:Code:.button { background: url('url_to_image.png'); width: 100px; height: 50px; } .button:hover { background: url('url_to_hover_image.png'); width: 100px; height: 50px; }
You wanna include class="button" like the highlighted above.Code:<a href="#"class="button">#</a>
Jeremy | jfein.net
thanks for the help!
do i have to put the css in the head code ?? if not where?
heres my myspace:
http://www.myspace.com/LILBOYFRESH83
i want to make it so the images in my friends change to something like:
http://img175.imageshack.us/img175/2/paigegmw3.gif
when you mouseover.
Yes, always in the head. But you can use the same class for as many links as you want.
So, if you have 10 friends of whatever and want to link to the same image on :hover, then use the same class and just add that CSS style to your head.
Otherwise (if you want a different image for each friend), use separate class decelerations and/or ids.
alright its starting to work!! but it verry verry tiny even though i changed the size in the css code
take a look
http://profile.myspace.com/index.cfm...endid=46458831
Last edited by fresh83; 04-15-2008 at 03:29 AM.
Bookmarks