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.

hide or show widget code

View previous topic View next topic Go down

hide or show widget code

Post by hackerspark on May 23rd 2010, 9:10 pm

i found this hide or show widget code http://help.forumotion.com/script-code-problems-f43/tutorial-hide-show-your-widgets-t69414.htm?highlight=tutorial but the problem seems that this code only hides the widgets which are profided by forumotion and not those made by us.
i asked the person who posted this topic who says to give ID to the widgets made manually and then the code shall hide them too apart from those already provided by forumotion. DOes anyone know how to do this step by step. Question

scratch

hackerspark
New Member

Male Posts : 14
Reputation : 0
Language : English
Location : Mumbai

Back to top Go down

Re: hide or show widget code

Post by MrMario on May 24th 2010, 2:36 am

This code has not been tested by the staff so we don't now because its not a tutorial we support.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Re: hide or show widget code

Post by hackerspark on May 26th 2010, 7:00 pm

BUMP..
i actually tried it... and as i said it just hides the widgets already provided by forumotion like top posters etc and not made by users i.e admins Sad

hackerspark
New Member

Male Posts : 14
Reputation : 0
Language : English
Location : Mumbai

Back to top Go down

Re: hide or show widget code

Post by harvengure on June 4th 2010, 2:15 pm

I'm not exactly sure what it is you're after. Are you hoping to hide widgets that exist on your forum or are you looking for some sort of widget toggle?

harvengure
Forumember

Posts : 86
Reputation : 0
Language : English

Back to top Go down

Re: hide or show widget code

Post by hackerspark on June 4th 2010, 3:22 pm

@harvengure wrote:I'm not exactly sure what it is you're after. Are you hoping to hide widgets that exist on your forum or are you looking for some sort of widget toggle?

what i am actually saying that if we use this script to hide widgets like top posters, latest topics etc which are provided to use readily by forumotion this script works perfect and does its job of hiding them when required.

on the other hand if you try this with widgets made by you like a slideshow widget or something the script fails to hide it.

what i am trying to find is how to hide these customized widgets too.

the poster of this tut asked me to put up "IDs" to these customized widgets so as to make rhe script work properly.

so does anyone know how to put those "IDs"

hackerspark
New Member

Male Posts : 14
Reputation : 0
Language : English
Location : Mumbai

Back to top Go down

Re: hide or show widget code

Post by harvengure on June 4th 2010, 3:38 pm

Can you link me to the forum you are trying to hide these widgets on? But yes, the IDs are in the sourcecode of the page...they are pretty easy to spot if you have a basic understanding of html. Easier to spot if you are using firefox and have the firebug extension.

Generally though you find the id and use CSS like below:
Code:
# {
      display:none;
      visibility:hidden;
}

harvengure
Forumember

Posts : 86
Reputation : 0
Language : English

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