Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[howto] Control snowfall on your website with adi_variables
Not sure if it’s OK to just link to one’s own tutorial here, but I’ve written one on controlling snowfall on your website with adi_variables.
Offline
Re: [howto] Control snowfall on your website with adi_variables
Great tip maruchan! Hope you don’t mind I’ve made the jQuery part into a plugin based on your tip. With the plugin you can simply use:
<txp:if_variable name="snowflakes" value="on">
<txp:msd_snowflakes/>
</txp:if_variable>
Merry Christmas!
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: [howto] Control snowfall on your website with adi_variables
Very cool, Matt. I’m not able to download the plugin though…do I need to donate first? Maybe I’m not seeing the correct link.
Offline
Re: [howto] Control snowfall on your website with adi_variables
No donation necessary! I just had to tell rah_plugin_download it was ok to let folks download it. Should work now.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: [howto] Control snowfall on your website with adi_variables
Right on, that worked. I’ve updated the tutorial page with the information, as well as a fix for a bug in Firefox.
Offline
#6 2010-12-01 20:17:31
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [howto] Control snowfall on your website with adi_variables
Wow, very nice, thank you both! I really hate real life snow, but I like it on my site ;)
Edit: I wish I could make it pile up at the bottom ;)
Last edited by els (2010-12-01 20:19:54)
Offline
Re: [howto] Control snowfall on your website with adi_variables
Nice guys!
a fwiw — I tried putting the txp tag for Matt’s plugin in the <head></head>. Showed in the source, but no snowflakes. Moved to the body and worked perfect. I don’t have time to figure out why right now (probably something I’m clueless on re: js.). But in case it wasn’t operator error, thought I’d mention it.
Offline
Re: [howto] Control snowfall on your website with adi_variables
Els wrote:
I really hate real life snow, but I like it on my site ;)
It’s all the contrary for me. :D
Last edited by PascalL (2010-12-01 20:25:08)
Offline
Re: [howto] Control snowfall on your website with adi_variables
maverick wrote:
a fwiw — I tried putting the txp tag for Matt’s plugin in the <head></head>. Showed in the source, but no snowflakes.
I’ve just updated the plugin to fix this.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: [howto] Control snowfall on your website with adi_variables
Very nice, I remember last year going on some Wordpress sites and seeing the falling snow.
I have a question, why does the falling flakes cause my CPU to spike up? I’m using Firefox 3.6.12 on Windows 7.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: [howto] Control snowfall on your website with adi_variables
hcgtv wrote:
I have a question, why does the falling flakes cause my CPU to spike up? I’m using Firefox 3.6.12 on Windows 7.
Yikes, No idea since I didn’t write the jQuery plugin that’s doing that work. Sorry.
I’ve created a forum post for the plugin to keep track of questions or issues.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline