The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

how can i edit the name of the nav links on top

View previous topic View next topic Go down

how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 on January 16th 2012, 5:20 am

I was wondering how can i edit the name of the nav links cause i really want to know how please tell me

Forum Version: PunBB

Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by petros_7 on January 19th 2012, 10:35 pm

this can not be

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 on January 24th 2012, 6:00 am

BUMB

Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by Mati on January 24th 2012, 8:39 am

No need to bump cuz petros_7, give you the answer. Cool so you can't edit the current text.

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by LGforum on January 24th 2012, 3:36 pm

Here's a script that allow you to change the text of the navlinks:
Stick it in an announcement or widget.
Code:

<script>
(function (){
var n="i_icon_mini_";

if(document.getElementById(n+'search')){
  document.getElementById(n+'search').parentNode.innerHTML="New Text"; }

})();
</script>

To use, it all you must do is simple replicate the middle two lines.
Each time replacing where it says 'search' for something else and of course replacing the new text.

For the Home link change 'search' to 'index'
For the Portal Link, change 'search' to 'portal'
for the memberlist link, change 'search' to 'members'

Feel free to ask for any more links if your not sure.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by The Lone Ranger on January 24th 2012, 5:46 pm

Or you could replace the text with a picture (button), and put your own text on it.

The Lone Ranger
Forumember

Male Posts : 438
Reputation : 37
Language : English
Location : Scotland

http://www.tenerifesforumoffun.com

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by betistapir on January 27th 2012, 1:29 am

mermaid wrote:Or you could replace the text with a picture (button), and put your own text on it.
top answer of the month huhohi

betistapir
New Member

Male Posts : 20
Reputation : 1
Language : indonesia

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 on January 27th 2012, 2:40 am

LGForum Wut Is The Variables For the name for the links

Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by LGforum on January 27th 2012, 1:45 pm

What ones are you wanting to change?

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 on January 27th 2012, 5:01 pm

You Have no messages that one and memberlist to members and log out username to Log Out

Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

Re: how can i edit the name of the nav links on top

Post by LGforum on January 27th 2012, 8:12 pm

As i say all that needs changing in the script is the word 'search'. So change the both words 'search' to whatever, and duplicate the middle two lines.

For the memberlist link change 'search' to 'members'
For the logout its 'logout'
and for the private message its 'message'

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum