Thanks for all the help John, it looks like I'm all done with this! :)
Type: Posts; User: Baller95; Keyword(s):
Thanks for all the help John, it looks like I'm all done with this! :)
John, here's what I have -
var plugin = proboards.plugin.get('falling_images');
var settings = plugin.settings;
var images = plugin.images;
var fall_direction = settings.fall_direction;
...
Thanks John, you're the man! :D I'll see how it works once I'm at my laptop.
John, that's definitely helped so thanks a lot! :)
The only issue now is that the fall doesn't cycle meaning once the leaves fall out of the screen it doesn't come back as seen on my test forum...
Thanks John, I'll check this out later today!
John, here's my current functional code. I've made my plugin using this code and the only way for it to correctly function is by using if statements and other variables.
var dir =...
John, why can't I use if statements in the new code? Also, for things like amount, speed, etc I'm trying to use variables but they don't work. It's really hard making a plugin with this code. The one...
John, going back to the previous code, it doesn't appear that the images are continually falling correctly while scrolling the page as seen on my forum - http://inspiredsciforum.com/
function...
Oops I missed this, yeah definitely ask John, he'll be able to help :)
I've replied to you, check your inbox! :P
Hey JRR! Yes it works with all latest browsers (on Windows 8.1) and I'm working on making a plugin with the new code but it's much harder than with the older code.
Perfect, works like a charm! Thanks John :)
Thanks John. Strangely, it works on my iPad (Safari) but not on my laptop when using the latest version of FF & IE.
Thanks John that's kinda fixed it!
If you have a look at the forum the leaves accumulate under the boards which end up hiding them - http://inspiredtestforum.proboards.com
John, I can't move the HTML code so I changed the second part and corrected the last part but still no luck :(
Also, why is there an option for speed, sway & amount twice?
Thanks John. So this new code is jQuery and the others weren't? The only reason I want this new code is for it's ability to accumulate. The ability to fall up and down at the same time is cool too. ...
So I have this in a JavaScript component but I just can't get it to work! :(
Hmm, I'll play around with it a little more and see if it works and I'll report back.
John I need it all in one script, I can't do two scripts.
Is there a way to integrate the accumulating into this code?
The leaves don't seem to be accumulating for me. Is there anything I need to change?
Great stuff John, thanks for that! :)
Thanks Daniel! It's not much of an issue and coming to think of it, I think it's fine how it is. :)
John, I've just realized that the leaves kinda disappear as they get to the bottom of the screen, they don't fall right off the screen like before. Do you know why?
Oops, never mind. It's working :)
Thanks John!