for the search, my way to preload images! haha

Search for in

Skem9 contact button codes

Skem9 Website Tutorials | Submited Dec 19, 2007

Written by: User Picture..

A few contact button codes for skem9 profiles.

Simple


.37182{hide the default buttons}
#ContactTable a img{visibility:hidden}

.37182{add link}
a.add2buds{
background:#000 url(IMAGE_URL_HERE) center top no-repeat;
height:35px;
width:125px;
display:block;
}

.37182{block link}
a.blockbud{
background:#000 url(IMAGE_URL_HERE) center top no-repeat;
height:35px;
width:125px;
display:block;
}

.37182{message link}
a.messagebud{
background:#000 url(IMAGE_URL_HERE) center top no-repeat;
height:35px;
width:125px;
display:block;
margin-top:-16px;
}


Positioning


Scratch the last code and use this if you want to make them hard to find, like most do.
Adjust the top: and left: numbers

.37182{hide the default buttons}
#ContactTable a img{visibility:hidden}

.37182{add link}
a.add2buds{
background:#000 url(IMAGE_URL_HERE) center top no-repeat;
height:35px;
width:125px;
display:block;
top:-100px;
left:-100px;
position:relative;
}

.37182{block link}
a.blockbud{
background:#000 url(IMAGE_URL_HERE) center top no-repeat;
height:35px;
width:125px;
display:block;
top:-100px;
left:-100px;
position:relative;
}

.37182{message link}
a.messagebud{
background:#000 url(IMAGE_URL_HERE) center top no-repeat;
height:35px;
width:125px;
display:block;
margin-top:-16px;
top:-100px;
left:-100px;
position:relative;
}



Hovers


Add this in if you want the image to change when you hover it


.37182{message link hover}
a.messagebud:hover{background:#000 url(IMAGE_URL_HERE) no-repeat;}

.37182{block link hover}
a.blockbud:hover{background:#000 url(IMAGE_URL_HERE) no-repeat;}

.37182{add link hover}
a.add2buds:hover{background:#000 url(IMAGE_URL_HERE) no-repeat;}


on-hover messages


This is a bit more advanced, what it does is when (in this case) your message button is hovered it'll display a message of your choice.
You'll have to change the margin-top/margin-left numbers, don't change the left:50%; so it'll work in all resolutions.
this part you can pretty much change to any of the class names, I used the message class because that's the one I wanted


a.messagebud:hover:before{
content:'YOUR_MESSAGE_HERE';
display:block;
position:absolute;
left:50%;
margin-left:-400px;
margin-top:-40px;
background:#000;
text-align:left;
width:135px;
height:200px;
text-decoration:none !important;
border:0 !important;
}

tags Tags: skem9 profile contact buttons

1Thumbs up  Thumbs down0

Related Tutorials
How to create contact tables
Simple div / overlay tutorial
Tiny Profile
how to flip your comments and profile
How to get an Image name on Myspace
Input contact buttons
image at the bottom of your profile
Relative positioning on MySpace
Flip your Skem9 profile
Skem9 contact button codes
Resize comment images [skem9]
Marquee above profile
Making an Extended Contact Table
Image at the top of an artist profile
Skem9 CSS Pop-ups
Hiding the photobucket widget
Vista-ish buttons in Gimp
Autoplaying Videos
Replace proInfo with image
Vista'esque Buttons
5 Comments
  User Picture.. ~ 02/29/08, 3:14pm
Picture..
I like the hovering text to bad it don't work in IE also
  User Picture.. ~ 02/26/08, 1:30am
Picture..
Hey Brandon, thanks for the tutorial. [smile]
  User Picture.. ~ 12/24/07, 8:00pm
Picture..
12/24/07::.
Added :before hover code.
  User Picture.. ~ 12/20/07, 11:38am
Picture..
You are welcome
  Zac92Him ~ 12/19/07, 12:04pm
Picture..
I never thought of hovering the Contact buttons before. Good tut.[yay]

1 


Sorry, you have to be a member to comment tutorials