[TUTORIAL] Hide/show your widgets!
5 posters
Page 1 of 1
[TUTORIAL] Hide/show your widgets!
Use this code to hide/show your widgets!
Works in all forum versions!
Thanks to Etana from French support forum!
Bye!
Works in all forum versions!
Thanks to Etana from French support forum!
- Code:
<div id="forum-widget" style="height: 13px; width: 16px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; position: absolute;background: #E5F1F9 url(http://i39.tinypic.com/68esds.png) no-repeat 0 -13px;" onClick="if(my_getcookie('forum-widget')=='0') { jQuery('#content-container div#container').css('margin-right','-3px');jQuery('#content-container div#content').css('margin-right','3px');jQuery('#content-container div#left').animate({width: '180px',marginRight: '3px'}, 2000);jQuery('*+ html #content-container div#main').css('margin-left','183px');jQuery('#wrap').css('min-width','951px');jQuery('* html .conteneur_container_IE').css('margin-left','-1083px');jQuery('* html .conteneur_minwidth_IE').css('padding-left','1083px'); my_setcookie('forum-widget','1',0,0); jQuery('#forum-widget').css('background-position','0 -13px'); } else { jQuery('#content-container div#container').css('margin-right','0px');jQuery('#content-container div#content').css('margin-right','0px');jQuery('#content-container div#left').animate({width: '0px',marginRight: '0px'}, 2000);jQuery('*+ html #content-container div#main').css('margin-left','0px');jQuery('#wrap').css('min-width','768px');jQuery('* html .conteneur_container_IE').css('margin-left','-900px');jQuery('* html .conteneur_minwidth_IE').css('padding-left','900px'); my_setcookie('forum-widget','0',1,0); jQuery('#forum-widget').css('background-position','0 0px'); }"></div>
Bye!
Hancki- Forumember
- Posts : 48
Reputation : 0
Language : Portuguese
Re: [TUTORIAL] Hide/show your widgets!
Could you explain it a bit more?
crysis992- Forumember
- Posts : 67
Reputation : 0
Language : German
Re: [TUTORIAL] Hide/show your widgets!
Before: https://2img.net/h/oi43.tinypic.com/29mpt2h.png
After: https://2img.net/h/oi41.tinypic.com/2505sb5.png
Tested in Portuguese support forum.
After: https://2img.net/h/oi41.tinypic.com/2505sb5.png
Tested in Portuguese support forum.
Hancki- Forumember
- Posts : 48
Reputation : 0
Language : Portuguese
Re: [TUTORIAL] Hide/show your widgets!
Hello,
Please PM this to a member of the staff team please.
Please PM this to a member of the staff team please.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: [TUTORIAL] Hide/show your widgets!
Where do you put this code?
TMP- Forumember
- Posts : 72
Reputation : 0
Language : English
Re: [TUTORIAL] Hide/show your widgets!
Can be in Homepage message...
Admin CP -> Display -> Homepage -> Generalities
...or anywhere that accepts HTML.
See here: http://hancki.forumotion.com/-h1.htm
Admin CP -> Display -> Homepage -> Generalities
...or anywhere that accepts HTML.
See here: http://hancki.forumotion.com/-h1.htm
Hancki- Forumember
- Posts : 48
Reputation : 0
Language : Portuguese
Re: [TUTORIAL] Hide/show your widgets!
Hancki, if you have any tutorials written by you, please PM them to any of the staff members.
Thread Locked
Thread Locked
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» The Hide/Show Widgets Tutorial Is Causing Issues With The Toolbar
» Hide / Show Widgets
» Show/Hide Widgets Problem
» Show/Hide Widgets Script.
» Show/Hide Widgets Script
» Hide / Show Widgets
» Show/Hide Widgets Problem
» Show/Hide Widgets Script.
» Show/Hide Widgets Script
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum