Log In · Register

 
help with navigation table
prongs0101
post Aug 9 2006, 02:47 PM
Post #1


valerie
***

Group: Member
Posts: 80
Joined: Jul 2005
Member No: 183,864



I decided to try and use this code that i got from the createblog script area only i don't exactly know how to use it and what to change.
Can someone please explain the instructions to me a little more detailed because I read the instructions and I tried it but I don't think i did it right.

Any help?http://www.createblog.com/scripts/download.php?id=341
 
 
Start new topic
Replies
anime-essence
post Aug 9 2006, 05:42 PM
Post #2


Senior Member
******

Group: Staff Alumni
Posts: 1,188
Joined: Jan 2006
Member No: 364,198



No you do not,make all of the links the same class.Duh! Some people just can't handle unique codes,and that's why they quit and poke fun out of wonderful creations,because they're jealous they didn't think of themselves first. I swear,some people on Createblog really need a lot of growing up to do,either learn html by trying something new,or keep your insults to yourself. _dry.gif
 
emotaku
post Aug 9 2006, 10:32 PM
Post #3


chill
****

Group: Member
Posts: 113
Joined: Apr 2005
Member No: 124,700



QUOTE(anime.essence @ Aug 9 2006, 5:42 PM) *
No you do not,make all of the links the same class.Duh! Some people just can't handle unique codes,and that's why they quit and poke fun out of wonderful creations,because they're jealous they didn't think of themselves first. I swear,some people on Createblog really need a lot of growing up to do,either learn html by trying something new,or keep your insults to yourself. _dry.gif


who's insulting who? i just meant ridiculous in the sense that it requires a lot of user input. are you implying i'm jealous of your script there and i need to grow up because i gave someone practicality advice? i dont appreciate you going out of your way to try and insult me while ignorning the person asking for help and perhaps you should keep your insults to yourself. check out my myspace buddy, i can code (though though the stylesheets are a bit of a mess currently).

alright, so getting this code is mostly just understanding the functions everything performs. though if you already did there really wouldn't be much here to have gotten from in the first place. here is anime.essence's code formatted and corrected of a few errors and put in a very simple form (without most of the background values).

<style type="text/css">

.NAMEOFYOURLINK {
display:block;
width:WIDTHpx;
height:HEIGHTpx;
background-color:COLORHERE;
text-align:LEFTCENTERORRIGHT;
padding-top:NUMBERpx;
}

.NAMEOFYOURLINK:hover {
display:block;
width:WIDTHpx;
height:HEIGHTpx;
background-color:COLORHERE;
text-align:LEFTCENTERORRIGHT;
padding-top:NUMBERpx;
}

</style>

width, height and text-align is self explanitory. by the look if it first it was centered then on hover was aligned right. padding adjusts the extra space around the link, though the script gives an example for padding-top, in the screenshot padding-bottom is edited. now the class with :hover are the effects that are going to be applied when the link is hovered over, so you'll probably want almost everything the same except the background colour. if you really want to keep it tidy, when you're done editing, everything the same between these two you can put together by setting it up something like class1, class2 { values }

<a href="ANYOFMYSPACE'SCONTACTLINKSHEREORNAVIGATIONLINKS" class="NAMEOFYOURLINK">TEXTHERE</a>

this is what you enter for every one of the links.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: