I’m watching that only I can see snow on index page, but not por each page or post, did you know why?
Tnx in advance!
Use this:
<script type="text/javascript" src="/wordpress/snow.js">
When you visit a permalink, it tires to look in that fake folder for the Javascript file and it can’t find it.
WoW Viper!
You are a genius… tnx a lot!
Regards from México!
Can you elaborate on how that works?
gutielua: haha, no problem. 🙂
gatewayy: If you use just "snow.js", that tells the browser to look in the current folder for the file. Well if you’re at http://www.gutielua.com/wordpress/, that works fine as the JS file is located at http://www.gutielua.com/wordpress/snow.js. However, if you were to view a permalink, such as http://www.gutielua.com/wordpress/250/tecnologia, browsers would look for the JS file at http://www.gutielua.com/wordpress/250/tecnologia/snow.js.
Using "/wordpress/snow.js" tells browsers to start at the root (the first slash does that) no matter what the current URL is.
You can also do like ../snow.js to always look in the directory above the current directory, ../../snow.js to look 2 directories above the current one, and so forth.
Damn after working on it for like 2 hours, i used dynamic drives one and finally got it working. Anyone know if i can make a button to turn it on/off?
somebody knows some wordpress theme for xmas?
Check a few topics back down the page….
Just to remember this topic, I put the snow again on my blogs.
Regards!
@