Awesome! How do I raise or lower the lights? I'm using the pico sized lights.
I did that. Please re-read my last post. Raise or lower the lights.Download one of those zip files he uploaded up there replace .js file .
You need to use negative top on #lights in smashing_lights.css for raising them, for lowering you use positive.Awesome! How do I raise or lower the lights? I'm using the pico sized lights.
What do you mean show? On my test install the pico lights explode and the "fragments" are destroyed. Do you mean having them collect on screen?Also, how do I get the actual smashed piece to show once I've changed it to pico sized?
There was a conflict with jQuery which seems to be fixed. I am fairly certain this new one will fix the issue, but I was not experiencing the full extent of the error my self, so I can't guarantee it.
I also updated the instructions, I saw there was something wrong in the template smahing_lights, you need to remove the xen:if statement (including the style tag inside it).
I think the script is quite intensive for the CPU, it might just be that. I have also noticed random slow downs. I also just now noticed an error which I can't figure out for the life of me; the explosion animation doesn't work all of a sudden, a quick fix is to create a new folder called image/ in your xF root and then upload the image (included in the zip) called: bulbs-50x50-fragments.png to it.Not a huge problem but my background is set up so the images slide down as the viewer moves down the page. Now, that process seems to be much slower or doesn't work at all. I assume it's a conflict with the script I use to make that happen.
I'm using Safari for Mac.
My site is goTitans.com if you wanted to see the issue.
The fragments don't show.Well if anyone wants to see working Demo : http://www.safishingforum.com/
Thanks to MagnusB he did alot of work to help me out to fix the problem i was having on my site to put these lights on . Still trying to fix few things here and there.
You need to use negative top on #lights in smashing_lights.css for raising them, for lowering you use positive.
What do you mean show? On my test install the pico lights explode and the "fragments" are destroyed. Do you mean having them collect on screen?
Yeah, I can see that, it suddenly stopped working for me as well. Have no idea how it is happing. To fix,The fragments don't show.
Thanks!
What I mean is, the fragments don't show when you smash them.
background:transparent url(image/bulbs-50x50-fragments.png) no-repeat 0px 0px;
background:transparent url(lights/image/bulbs-50x50-fragments.png) no-repeat 0px 0px;
xlsf.initSounds();
// xlsf.initSounds();
What would be the CSS for the pico sized christmas lights because it's not matching up with the existing css.DOH! I was being stupid, I thought the fragments were controlled by the javascript file, no wonder I couldn't find themIn smashing_lights.css find:
Replace with:Code:background:transparent url(image/bulbs-50x50-fragments.png) no-repeat 0px 0px;
Code:background:transparent url(lights/image/bulbs-50x50-fragments.png) no-repeat 0px 0px;
Need a facepalm smiley here just about now
EDIT: If you want to disable the sounds, just open christmaslights.js and search for:
replace with:Code:xlsf.initSounds();
You will still load the sound files, but they won't play.Code:// xlsf.initSounds();
Do you mean the background image (greyish, with a dude in a helmet)? To me that seems to work fine, so it might just be CPU overload, or flash being buggy. AS for setting the volume, I think it is on line 91 in christmaslights.js, just find this:Any way to have the sound files a lower volume?
Update on the background image issue: I can click to another tab on my browser and immediately go back and it looks right. Puzzling.
volume:50
The fragments are one size fits all. The 50x50 is a sprite with the largest being 50x50, and then smaller versions etc.What would be the CSS for the pico sized christmas lights because it's not matching up with the existing css.
Yes. It's that image which seems to not refresh on deeper pages.Do you mean the background image (greyish, with a dude in a helmet)? To me that seems to work fine, so it might just be CPU overload, or flash being buggy.
So far, that's not having any impact.AS for setting the volume, I think it is on line 91 in christmaslights.js, just find this:
I think decreasing the number would lower the volume, not 100% sure though.Code:volume:50
Try the one attached, volume level is set to 10 (size is pico).Yes. It's that image which seems to not refresh on deeper pages.
So far, that's not having any impact.
We use essential cookies to make this site work, and optional cookies to enhance your experience.