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.

removing links...

View previous topic View next topic Go down

removing links...

Post by hydroghost on 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
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

Re: removing links...

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

Put this in where url address goes Wink
http://illiweb.com/fa/empty.gif

Agent24
Forumember

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

Back to top Go down

Re: removing links...

Post by hydroghost on 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
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

Re: removing links...

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

Your forum version?

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: removing links...

Post by shadowz au on 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

shadowz au
Forumember

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

http://tommyzserver.forummotion.com

Back to top Go down

Re: removing links...

Post by boffer10 on 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>

boffer10
Forumember

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

http://squarefoot.creatingforum.com/

Back to top Go down

Re: removing links...

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

That is Dion's script Smile

Guest
Guest


Back to top Go down

Re: removing links...

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

yes, and modified for OP

boffer10
Forumember

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

http://squarefoot.creatingforum.com/

Back to top Go down

Re: removing links...

Post by Guest on 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;}

Guest
Guest


Back to top Go down

Re: removing links...

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

awesome! thank you Dion, Smile

hydroghost
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

Re: removing links...

Post by blindbat1457 on 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
Forumember

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

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