We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Board Index on Forum jump
Topic Started: Jul 31 2010, 10:55 AM (446 Views)
atomicwitch-ZNR
Member Avatar
Member
[ * ]
Board Address: http://s4.zetaboards.com/Emmys_Guys_and_Gals/index/
Board Software: ZetaBoards
Description: I want to have a link to the Board Index at the top of the forum jump. Above News and Discussion.
http://i31.tinypic.com/2cwwieb.jpg
Offline Profile Goto Top
 
RedBldSandman
Member Avatar
Asante sana Squash banana
[ *  *  *  * ]
Code:
 
<script type="text/javascript">
$(function() {
$("<option value='Index'>Board Index</option>").click(function() {
location.href = main_url+"index/";
return false;
}).prependTo("select[name=fid]");
});
</script>
That should work but I can't test it atm.
Edited by RedBldSandman, Jul 31 2010, 02:20 PM.
Offline Profile Goto Top
 
Xero
Member Avatar
Member
[ *  *  *  * ]
Does not work. I applied it to my board and, when clicking it, it sent me to this page. http://s4.zetaboards.com/Gamer_Zone/forum/0/
Offline Profile Goto Top
 
RedBldSandman
Member Avatar
Asante sana Squash banana
[ *  *  *  * ]
Code:
 
<script type="text/javascript">
$(function() {
$("select[name=fid]").prepend("<option value='Index'>Board Index</option>").parent("form").submit(function() {
if ($(this).find("select option:selected").val()=="Index") {
location.href = main_url+"index/";
return false;
} else return true;
});
});
</script>
Offline Profile Goto Top
 
atomicwitch-ZNR
Member Avatar
Member
[ * ]
Thank you very much. :)
Where does it go?
Offline Profile Goto Top
 
Xero
Member Avatar
Member
[ *  *  *  * ]
That one worked. Nice. :D I'll probably use this.

EDIT: I put it Above the Copyright.
Edited by Xero, Jul 31 2010, 02:59 PM.
Offline Profile Goto Top
 
atomicwitch-ZNR
Member Avatar
Member
[ * ]
Thanks both. :D

EDIT: works for me too. :yes:
Edited by atomicwitch-ZNR, Jul 31 2010, 03:05 PM.
Offline Profile Goto Top
 
Roby-ZNR
Member Avatar
Efficacy
[ *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic