Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
Jump Menu Code
Topic Started: Apr 18 2008, 03:26 PM (1,469 Views)
wlucinda
Member
[ * ]
Code:
 
<div align="right">
<form method="post" action="" name="jump">
<script language="javascript">
<!--
function JumpTo(which) {
selecteditem = which.select.selectedIndex ;
url = which.select.options[selecteditem].value ;
location.href = url
}
-->
</script>
<select name="select" onChange = "JumpTo(this.form)">
<option value="#">FORUM JUMP</option>
<option value="#">------------------------------</option>
<option value="http://URL/">-Main Page</option>
<option value="#">------------------------------</option>
<option value="#">Category 1</option>
<option value="http://URL/forum/forum#/">-Forum 1</option>
<option value="http://URL/forum/forum#/">-Forum 2</option>
<option value="http://URL/forum/forum#/">-Forum 3</option>
<option value="http://URL/forum/forum#/">-Forum 4</option>
<option value="http://URL/forum/forum#/">-Forum 5</option>
<option value="http://URL/forum/forum#/">-Forum 6</option>
<option value="http://URL/forum/forum#/">-Forum 7</option>
<option value="http://URL/forum/forum#/">-Forum 8</option>
<option value="http://URL/forum/forum#/">-Forum 9</option>
<option value="http://URL/forum/forum#/">-Forum 10</option>
<option value="#"></option>
<option value="#">Category 2</option>
<option value="http://URL/forum/forum#/">-Forum 1</option>
<option value="http://URL/forum/forum#/">-Forum 2</option>
<option value="#"></option>
<option value="#">Category 3</option>
<option value="http://URL/forum/forum#/">-Forum 1</option>
<option value="http://URL/forum/forum#/">-Forum 2</option>
<option value="http://URL/forum/forum#/">-Forum 3</option>
<option value="http://URL/forum/forum#/">-Forum 4</option>
<option value="#">------------------------------</option>
<option value="http://URL/forum/forum#/">-Staff Forum</option>
</select>
</form>
</div>

PREVIEW: HERE
login: preview
password: pass2008

Instructions:

This code, once edited, goes in your Board Template section in the admin panel. We recommend pasting it into the Above the Copyright section, but it can be placed elsewhere in the template.


Main Page
<option value="http://URL/">-Main Page</option>
Replace http://URL with your boards main url
Replace Main Page if you like, with your forum name etc

Categories:
This jump sets up 3 Main Categories with 10, 2 and 4 subforums. You can add or subtract as needed.

In the code above find the following:
<option value="#">Category 1</option>

- Change Category 1 (2,3 etc) to the name of your Main Categories.


Forums:

In the code above find the following:
<option value="http://URL/forum/forum#/">-Forum 1</option>

- Change the url to each of your subforms between the option value tags.
(note: These will end with numbers)
- Change Forum 1 to the name of the subforum you are linking to

Add or remove categories and forums as needed.

Lucinda
Offline Profile Quote Post Goto Top
 
wlucinda
Member
[ * ]
Looks like I put this in the wrong place!
Sorry.
Can it be moved, or do I need to repost.
Offline Profile Quote Post Goto Top
 
Nicola
Darth Vader's Sewing Instructor

I shall move it.

Plus use some yummy code/quote tags around the code.
Offline Profile Quote Post Goto Top
 
Arrogant
Member Avatar
Vote Choco and Nicola!
[ *  *  * ]
1. nice job - quick, easy, and flawless. ^_^
2. you're a girl... and you know JavaScript??!?!?! /internet_explodes
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
Arrogant, qft.

Very simple, but very useful for people. Maybe there will be a bit less complaints on no Forum Jumping (that may be asking too much though).
Offline Profile Quote Post Goto Top
 
silvershoes
Member
[ * ]
Great piece of code. Thank you!
Offline Profile Quote Post Goto Top
 
Michael W
Member Avatar
MESKOS - Forum Consultant
[ *  * ]
Nice code but the alignment could be improved.
Offline Profile Quote Post Goto Top
 
colt-pixy
Member Avatar
Member
[ *  *  * ]
Thank you Lucinda!
Members asked me for this today so I came here and did a search that lead me to this thread. I just installed it and it works great.
Offline Profile Quote Post Goto Top
 
SeeYouAreTeee
Member Avatar
Just call me Curt ;)
[ *  * ]
Hey, that's awesome.

Thanks! :D
Offline Profile Quote Post Goto Top
 
g0dfather
Member
[ *  * ]
Great code! Thank you!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · User Created Codes · Next Topic »
Add Reply