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.

hide or show widget code

3 posters

Go down

hide or show widget code Empty hide or show widget code

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

i found this hide or show widget code https://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
hackerspark
New Member

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

Back to top Go down

hide or show widget code Empty Re: hide or show widget code

Post by MrMario 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
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

hide or show widget code Empty Re: hide or show widget code

Post by hackerspark 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
hackerspark
New Member

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

Back to top Go down

hide or show widget code Empty Re: hide or show widget code

Post by harvengure 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?
avatar
harvengure
Forumember

Posts : 86
Reputation : 0
Language : English

Back to top Go down

hide or show widget code Empty Re: hide or show widget code

Post by hackerspark 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
hackerspark
New Member

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

Back to top Go down

hide or show widget code Empty Re: hide or show widget code

Post by harvengure 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;
}
avatar
harvengure
Forumember

Posts : 86
Reputation : 0
Language : English

Back to top Go down

Back to top


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