Pages: 1
LoLuigi |
Posted on 09-25-11, 07:50 pm
|
Koopa
Karma: 75 Posts: 70/102 Since: 08-05-11 |
I'm having trouble making the profile part come down into the sections, Edit and View.
Here's the code link: https://docs.google.com/document/d/1IuWD1fR_BitNRwLDKYK3Mcc1LfUdkDQ0B_cAkltH6Ls/edit?hl=en_US _________________________ "What to know what happens if someone assassinates dirbaio? He dies. NOW WHAT!?" |
Piranhaplant |
Posted on 09-25-11, 08:03 pm
|
Fuzzy
Full mod Karma: 1183 Posts: 210/785 Since: 06-28-11 |
You need to replace this: #pokeparadise-navbar li: hover ul {
display: block;
} With this: #pokeparadise-navbar li:hover > ul {
display: block;
list-style-type: none;
} Pseudo selectors aren't supposed to have spaces. I also removed the bullets 'cause you probably didn't want those. |
LoLuigi |
Posted on 09-26-11, 01:21 am
|
Koopa
Karma: 75 Posts: 71/102 Since: 08-05-11 |
Okay. Thanks. I was also wondering if you knew how to make it so I could toggle the navigation bar using a button with javascript or something.
_________________________ "What to know what happens if someone assassinates dirbaio? He dies. NOW WHAT!?" |
Piranhaplant |
Posted on 09-26-11, 01:23 am
|
Fuzzy
Full mod Karma: 1183 Posts: 213/785 Since: 06-28-11 |
You could do it with javascript, it's just much easier with css. If you need to use javascript for some reason, I could probably write something.
|
LoLuigi |
Posted on 09-26-11, 01:24 am
|
Koopa
Karma: 75 Posts: 72/102 Since: 08-05-11 |
I don't need javascript. I just want to toggle the navigation bar.
_________________________ "What to know what happens if someone assassinates dirbaio? He dies. NOW WHAT!?" |
Piranhaplant |
Posted on 09-26-11, 01:27 am
|
Fuzzy
Full mod Karma: 1183 Posts: 214/785 Since: 06-28-11 |
Wait, what do you mean by toggle? If you mean make it invisible with a click, that will require javascript.
|
LoLuigi |
Posted on 09-26-11, 01:28 am
|
Koopa
Karma: 75 Posts: 73/102 Since: 08-05-11 |
I want it so then if you click a minus picture or something of that sort then it will close and if you click it again it will open.
_________________________ "What to know what happens if someone assassinates dirbaio? He dies. NOW WHAT!?" |
Piranhaplant |
Posted on 09-26-11, 01:46 am
|
Fuzzy
Full mod Karma: 1183 Posts: 215/785 Since: 06-28-11 |
Something like this: http://pastebin.com/TfBWtc24
|
Pages: 1