inherit
205394
0
Jun 13, 2017 7:38:38 GMT -8
crystalfrost
55
February 2014
crystalfrost
|
Post by crystalfrost on Oct 25, 2014 7:31:11 GMT -8
all-around-rp.proboards.com
I have a navigation tree in my sidebar that links to the custom pages on my site. It's collapsed by default, and I want to make it so certain parts of it are expanded depending on what page you're on. I tried to write the javascript myself, but it doesn't seem to be working. Here's what I have:
<script language="javascript"> if (window.location.href == 'http://all-around-rp.proboards.com/board/27/secret-world') { document.getElementById('paranormal').style.display='block'; } </script>
I have style="display:block in my <ul> element, along with id="paranormal". I want everything under the "paranormal" element to show when I'm on the board in the code.
I'm very new to coding, so I'd appreciate some help (and explanation).
|
|
inherit
213990
0
Aug 29, 2019 10:08:59 GMT -8
Hernandez
162
September 2014
ziden
|
Post by Hernandez on Nov 2, 2014 3:57:11 GMT -8
I think this Work try this in For verey Link Replace (URL here) with Your url custome page and (Title Here) with the titel will shows
<a href="URL here" title="Title Here"></a>
|
|
inherit
205394
0
Jun 13, 2017 7:38:38 GMT -8
crystalfrost
55
February 2014
crystalfrost
|
Post by crystalfrost on Nov 2, 2014 17:55:51 GMT -8
I don't think that's what I'm looking for. Thanks, though.
|
|
inherit
205394
0
Jun 13, 2017 7:38:38 GMT -8
crystalfrost
55
February 2014
crystalfrost
|
Post by crystalfrost on Nov 5, 2014 5:54:58 GMT -8
Figured it out.
|
|