hide or show widget code
3 posters
Page 1 of 1
hide or show widget code
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.
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.
hackerspark- New Member
- Posts : 14
Reputation : 0
Language : English
Location : Mumbai
Re: hide or show widget code
This code has not been tested by the staff so we don't now because its not a tutorial we support.
MrMario- Helper
- Posts : 22186
Reputation : 1839
Language : test
Re: hide or show widget code
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
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
hackerspark- New Member
- Posts : 14
Reputation : 0
Language : English
Location : Mumbai
Re: hide or show widget code
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
Re: hide or show widget code
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
- Posts : 14
Reputation : 0
Language : English
Location : Mumbai
Re: hide or show widget code
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:
Generally though you find the id and use CSS like below:
- Code:
# {
display:none;
visibility:hidden;
}
harvengure- Forumember
- Posts : 86
Reputation : 0
Language : English
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum