[jQuery] A return false function for all of jQuery when script not included?
I have implemented jQuery as my DHTML effects engine (and it rocks) in
the latest version of my site (preview two of version 2.8 of JAB
Creations which is not yet public). I have DHTML disabled by default
unless the user chooses broadband and or manually enables DHTML on my
site.
I have not removed nor will add dozens of lines of PHP per page, per
visitor to detect whether or not to serve the JavaScript functions
inside the XHTML itself; rather I'd like to avoid JavaScript console
errors by simply returning some sort of universal return false
function. My understanding of JavaScript is however not adequate
enough as it seems the functions are dynamically created and thus I'm
pretty much clueless how to even approach this! Thanks for reading!
- John
My test server for 2.8 can be found at http://www.jabcreations.net/
though preview one is using script.aculo.us at the moment.