|
NOTE!
I've included a ZIP of all the site files in this message!
-------------------
I am currently building a site that uses AJAX, jQuery, and Mootools javascripts.
I use the jQuery to preload images in the CSS.
The AJAX is used to load dynamic content in a specified DIV.
I am using a Mootools content carousel/image scroller with Vimeo video files (instead of images).
--------------------
I've tried putting the Mootools (mootools.js) script at the end of my index.html.
The script that utilizes the Mootools is located in the "video.html" page (also set to dynamically load in the DIV).
The buttons that control the carousel (prev,next) work perfectly fine in Safari 4, but do not work in Firefox 3.5. They only way it works in Firefox is if I open the "video.html" page directly.
Right now I have a "loadScript.js" file externally linked to the "index.html" that loads the file via an "onClick" javascript function via the "home.html" file (dynamically loaded default content for the main page).
------------------
I did some research and it says that I need to not use innerHTML and append the javascript to the page DOM.
Unfortunately this above my level of knowledge.
Last edited by arsoneffect; 09-01-2009 at 06:52 PM..
|