- on windows load, find ('.someClass').
- control settings of agility.js for (.someClass) from external JS
Just point me to some examples that are not saturated in jQuery and I will do the rest, thanks.
I am building a JS gallery in vanilla. No frameworks is important for me and it helps me learn more as I progress and put out the plugin for free and premium.
Slight change to the structure, everything is now on one variable statement:
agInfrastructure - disables default CSS when JS is disabled, all the functions to build, place, and animate the image blocks.
shape library - a long list of declared variables that the default settings grab.
default settings - pulls from the shape library and into the agInfrastructure to process the shape/size/padding/ etc.
Initializer function - grabs all the functions from the agInfrastructure to turn them on all at once.
Return Init - sends the Initializer out so it can be fired from the HTML.
I currently have no options control, mainly because I just do not know how, and the worse part is that I probably already did it and not realized it.
I wanted the default settings at the top of the file so I do not have to scroll down every time, but it needs to be below the shape library to grab the variable objects. The shape library is going to grow taller overtime and I’d prefer it be at the bottom. I figured I could turn both into a function and put it under infraStructure but am not sure how to do it since I am told you can’t declare globals inside a scope.
But that’s part of the learning process right, get annoyed and figure it out, then feel great. Like a drug…
Thanks for responding btw, this like other forums seem less responsive.