[TUT] Conditionally Load WibyaBar onclick
2 posters
Page 1 of 1
[TUT] Conditionally Load WibyaBar onclick
Features:
1] User will be able to select whether wibyabar is to load or not, so users with faster net connection will turn it off & vice versa
2] The choice will be remembered
HTML part (style it as necessary)
JS part
Special thanks to
LGforum & Dion for making us understand Forumotion
1] User will be able to select whether wibyabar is to load or not, so users with faster net connection will turn it off & vice versa
2] The choice will be remembered
HTML part (style it as necessary)
- Code:
<p>•<a href="" onclick="stopwibya('hidden')" title="Decrease page loading time"> Remove </a>|<a href="" onclick="stopwibya('visible')" title="Increase page loading time"> Show</a> WibyaBar
</p>
JS part
- Code:
function stopwibya(stwb) {
my_setcookie('stopwib', stwb, true);
window.location.reload();
}
var stopwib = my_getcookie('stopwib');
if (stopwib != 'hidden') {
//Put complete Wibya code here
}
Special thanks to
LGforum & Dion for making us understand Forumotion
Re: [TUT] Conditionally Load WibyaBar onclick
I knew someone will say this
This isn't something that deals with FM directly, so officials may not agree. I suggest you don't lock it for the sake of wibya lovers which are many
This isn't something that deals with FM directly, so officials may not agree. I suggest you don't lock it for the sake of wibya lovers which are many
Re: [TUT] Conditionally Load WibyaBar onclick
Hi,
Anything you you want to add to Tips and tricks you are welcomed to send to my PM. Please do so. If it helps our users it will certanly be published so there is no need to vory about the topic beeing locked. You concern and will to help will be highly apriciated. Topics like these are not allowed on the Support forum cause of the quantity of our users & our will to keep the forum clean and organized.
Thank you for understanding.
> Locked
Anything you you want to add to Tips and tricks you are welcomed to send to my PM. Please do so. If it helps our users it will certanly be published so there is no need to vory about the topic beeing locked. You concern and will to help will be highly apriciated. Topics like these are not allowed on the Support forum cause of the quantity of our users & our will to keep the forum clean and organized.
Thank you for understanding.
> Locked
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum