Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.


Post Reply  Post Thread 

Add links to Preferences

Post Bank
Posting Manager
******

Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Download FileShield free from PermissionResearch!
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.

Signin to Remove this Post

godkillah
Senior Member
****


Posts: 261
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 3
Points: 183 (Donate)
Post: #1

Add links to Preferences


Written for Zetaboards


A friend requested this to me at msn,
it basically adds links to the preferences at the top (next to the Welcome name [Sign out])
it works in both FF and IE and i don't think any other browser will have problems with this

Add it anywhere under the top menu

Quote:
<script>
/*Add links to preferences
by Godkillah from:
phantom-designs.net*/
var AddLinks=[];n=0
AddLinks[n++]=['[color=red]My Link
','http://www.MyLink.com']
AddLinks[n++]=['My 2nd Link','http://www.MyLink2.com']
AddLinks[n++]=['My Link 3','http://www.My3thLink.com']
[/color]
Addmenu='';for(i=0;i<AddLinks.length;i++){
Addmenu+='<li><a href="'+AddLinks[i][1]+'">'+AddLinks[i][0]+'</a></li>'
}
if(document.getElementById("menu_ucp"))
document.getElementById("menu_ucp").getElementsByTagName("ul")[0].innerHTML+=Addmenu
</script>


i think how to edit it etc. should be quite easy,
to be sure everyone will understand it i colored it though and will give a small instruction.

this is what you can add/edit/remove in the code to make new links in the preferences
this is the name of the link, basically the text they will see
this is the URL they will got to when they click the link

enjoy


This post was last modified: 01-12-2007 03:54 AM by godkillah.

01-12-2007 03:46 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [invisionfree] limit signature links godkillah 0 365 18-12-2007 03:34 AM
Last Post: godkillah

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites
Rate This Thread:

Forum Jump:

Sign In to Remove Ads

Download 1000's of web templates. Unlimited access!
World's Best Web Hosting
Resources

Recommended Sites:



Visit our Sponsors!

Current time: 06-01-2009, 06:21 PM


Copyright © 2002-2009 MyBB Group
Powered By MyBB