|
Looking for a little clarity on MooTools
I understand that I need an understanding of javascript to use.
I do not have such.
So in this interim before I finally learn it, if I do, I have a few questions about MooTools/javascripts.
Is this how it works:
1. Write javascript with mootools for a sliding contact page
2. Make sure it loads
3. Write some _code_ in the body that matches with your javascript
4. Works
Are there any problems with using it in MediaWiki or extra steps to be taken?
I've got a MooTools extension in place but I could have just added the MooTools core to my common javascript page (adds to/overrides default javascript).
On the MooTools demo page, i downloaded fx.slide and there was only a javascript and css file.
I will give testing another shot right now.. Someone please tell me before i rip my eyes out.
Edit: another failure, whenever i click on any button to perform a javascript action such as 'open' or 'toggle', nothing happens and a hash # is added to the end of the page title / url. This also happened with Modalbox and Lightbox2 which have yet to work.
I tried putting the core mootools into my javascript page but it turns out to be 92 pages long of code so it came out blank. I've tried moving js files around and referencing them but it always returns the hash.
________
I'll also add that I installed NavFrame which is a open/close box and that worked fine - copied javascript and css.
Last edited by Dr.McNinja; 11-19-2009 at 02:57 PM..
|