The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

removing links...

+2
Agent24
hydroghost
6 posters

Go down

removing links... Empty removing links...

Post by hydroghost September 4th 2010, 6:27 am

is there any way to remove the calender/faq links in the nav bar? I'm not using images for the buttons so..
hydroghost
hydroghost
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

removing links... Empty Re: removing links...

Post by Agent24 September 4th 2010, 6:42 am

Put this in where url address goes Wink
https://2img.net/i/fa/empty.gif
Agent24
Agent24
Forumember

Male Posts : 813
Reputation : 72
Language : English, Spanish
Location : California

Back to top Go down

removing links... Empty Re: removing links...

Post by hydroghost September 4th 2010, 6:48 am

lol noo, it's already like that, no images is what I want, it has no images, but I don't want the link to come up at all.
hydroghost
hydroghost
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

removing links... Empty Re: removing links...

Post by Sanket September 4th 2010, 6:55 am

Your forum version?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

removing links... Empty Re: removing links...

Post by shadowz au September 4th 2010, 7:43 am

Calender

ACP Arrow Modules Arrow Calender Arrow Configuration Arrow click No

I dont think you cant get FAQ link off
avatar
shadowz au
Forumember

Male Posts : 280
Reputation : 30
Language : Australia
Location : Sydney

http://tommyzserver.forummotion.com

Back to top Go down

removing links... Empty Re: removing links...

Post by boffer10 September 4th 2010, 5:17 pm

Put this in your site description:

<script>$(function () {$('li a[href=/calendar.forum]')[0].innerHTML='';});</script><script>$(function () {$('li a[href=/faq.htm]')[0].innerHTML='';});</script>
avatar
boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

removing links... Empty Re: removing links...

Post by Guest September 4th 2010, 5:49 pm

That is Dion's script Smile
avatar
Guest
Guest


Back to top Go down

removing links... Empty Re: removing links...

Post by boffer10 September 4th 2010, 5:58 pm

yes, and modified for OP
avatar
boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

removing links... Empty Re: removing links...

Post by Guest September 4th 2010, 6:21 pm

Yes, that is my script. And I was wondering how long it would take for someone to misuse it. Not long...

The script won't work for this application because the link will still be present. All my little script does is change the displayed name of the link. To remove the link, you need a different script, one that I am not willing to post here.

Plus, the site description has very little room for code. Two, maybe three, of those little scripts is all that would fit.

But back to the problem at hand. You can keep the links from displaying with CSS. Add this line to your CSS:

Code:
a.mainmenu[href="/calendar.forum"],a.mainmenu[href="/faq.htm"] {display:none;}
avatar
Guest
Guest


Back to top Go down

removing links... Empty Re: removing links...

Post by hydroghost September 6th 2010, 12:26 am

awesome! thank you Dion, Smile
hydroghost
hydroghost
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

removing links... Empty Re: removing links...

Post by blindbat1457 September 6th 2010, 12:51 am

Dion wrote:Yes, that is my script. And I was wondering how long it would take for someone to misuse it. Not long...

The script won't work for this application because the link will still be present. All my little script does is change the displayed name of the link. To remove the link, you need a different script, one that I am not willing to post here.

Plus, the site description has very little room for code. Two, maybe three, of those little scripts is all that would fit.

But back to the problem at hand. You can keep the links from displaying with CSS. Add this line to your CSS:

Code:
a.mainmenu[href="/calendar.forum"],a.mainmenu[href="/faq.htm"] {display:none;}

That is cool that you know all these scripts but not to sound like a prick by why would you not post it and share with the rest of us? Is it really a competition of who has the best forum? I mean some people have a difficult time understanding and learning a new code/language. I personally will be learning js soon but I am just saying.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Back to top

- Similar topics

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