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 (1 - 12)
emotaku
post Aug 9 2006, 04:49 PM
Post #2


chill
****

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



Yikes, that script is a bit ridiculous. It's gonna require you to have to edit a a lot, so if you're looking for something a bit more simple to plugin in this isn't a great choice.

I was going to dissect it a bit but I don't think it's worth it. You actually have to use that code for every link in the navigation.
 
anime-essence
post Aug 9 2006, 05:42 PM
Post #3


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
 
lalalaLANUH
post Aug 9 2006, 05:44 PM
Post #4


peace&love, earth flower
*****

Group: Member
Posts: 651
Joined: Apr 2006
Member No: 398,938



Well yes i found it a bit confusing myself. It is a cool code though.
 
prongs0101
post Aug 9 2006, 08:39 PM
Post #5


valerie
***

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



But I still Don't get it.

Im trying to put this code in one on my divs but the link won't show up.
Can anyone give me examples on how to adust the numbers for the width/hieght and what not.So I can just adjust the codes accordingly?
 
emotaku
post Aug 9 2006, 10:32 PM
Post #6


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.
 
GREASEbaby
post Aug 10 2006, 12:44 AM
Post #7


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



Please post the code that you used, as well as the div that you are placing it into.

Maybe even the css for the div as well.
 
anime-essence
post Aug 10 2006, 12:17 PM
Post #8


Senior Member
******

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



I'm ending this,the script has been removed by me.
 
freeflow
post Aug 10 2006, 12:57 PM
Post #9


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



^ Why don't you juse leave it. Take it out because of this? There are many other people that come to this forum and can find it useful. Oh and you have to pm a mod to take it down I believe.
 
prongs0101
post Aug 10 2006, 01:03 PM
Post #10


valerie
***

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



Thanks both of you guys because I finally got it to work.
Please don't take your code out of the scripts, it was very helpful!
anime.essence theres no need to feel insulted, thats one persons opinion and it really shouldn't bother you.

well... Thank you!!

oh you can go see it on my profile the link is in my signature

and i know i misspelled navigation on my profile im to lazy to fix it!
 
GREASEbaby
post Aug 10 2006, 01:08 PM
Post #11


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



Ah, yes. That turned out beautiful.

Nice job Ricky and Valerie :]
 
prongs0101
post Aug 10 2006, 01:09 PM
Post #12


valerie
***

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



thank you!! it took me forever!!
 
GREASEbaby
post Aug 10 2006, 01:13 PM
Post #13


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



So, closed?
 

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