Help >
Layout & Coding Help > Post Reply
TUTORIAL - Keep Horse/Dog Dividers Closed
BANNED August 8th, 2014 3:58:24pm 19 Posts |
Okay, so I was playing around with my coding and I came across a handy little code.
Remember when we used to have #horses {display: none} and #dogs {display:none} and it would close the drop-downs? This method does NOT work anymore. Here is an updated version to keep all drop-downs in the animal area closed!
FIRST: You will want to know your animal divider's ID #. You may do it differently, but this is how I find them easily. ( HOME > DIVIDERS ; RIGHT-CLICK > VIEW SOURCE) If you VIEW SOURCE on your Player Page, it's 500% harder because of the animal links inbetween each divider. Here, they're all neatly together.
Copy all of the ID #'s in the view-source page. (CTRL F > Search: "NAME > (optional)HIGHLIGHT-ALL)
My dividers are:
6295, 6297, 6298, 6299, 6300, 6307, 6314, 6305, 6306
The code to close the drop-downs for dividers is #dividerNUMBER {display: none}
My dividers are:
#divider6305 {display: none} #divider6306 {display:none} #divider6314 {display: none} #divider6307 {display: none} #divider6300 {display: none} #divider6299 {display: none} #divider6298 {display: none} #divider6297 {display: none} #divider6295 {display: none}
Now, one last step. Want to keep the default Horses divider closed?
#noDividerH {display: none}
My Page Result:
|
View Comments
View Comments