changing links at top of page

4 views
Skip to first unread message

wilson212

unread,
Feb 3, 2010, 9:27:51 PM2/3/10
to xmlarsenal-discuss
How exactly do you change the "worldofwarcraft.com : The Armory :
Xmlarsenal" links at the top of the page?

amras-taralom

unread,
Feb 4, 2010, 6:01:40 AM2/4/10
to xmlarsenal-discuss
quite easily done:

open shared/global/menu/topnav/buildtopnav.js
look into lines 198-208


>//my own linkz
>link2.href = "/"
>link5 = new Object();
>link5.text = "XMLArsenal"
>link5.href = "http://xmlarsenal.sourceforge.net/"
>
>linkarray.push(link1)
>linkarray.push(link2)
>//linkarray.push(link3)
>//if (showEUStore) { linkarray.push(link4); }
>linkarray.push(link5)

you see now i'm creating a link object named link5, its text is
XMLArsenal and it's address is (the old) sourceforge address.
afterwards in 208 i push the link into the linkarray. so basically you
have to create your own link object, apply both values and push it. if
you want a link out just don't push it into the array.

Reply all
Reply to author
Forward
0 new messages