[wp-hackers] google jquery; wp fall back?
Barrett Golding
bg at hearingvoices.com
Tue Oct 5 02:47:05 UTC 2010
damn, i was wrong. while the following does load the scripts
sequentially,
so the second won't load if the first does:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/
jquery.min.js"?</script>
<script>!window.jQuery && document.write('<script src="/head/wp-
includes/js/jquery/jquery_test.js"><\/script>')</script>
this, however, seems to load 'em both in FF:
<?php wp_enqueue_script( 'jquery' ); ?>
<script>!window.jQuery && document.write('<script src="/head/wp-
includes/js/jquery/jquery_test.js"><\/script>')</script>
oh, well, back to drawing board.
bg
--
<http://HearingVoices.com/>
~radio active transmissions~
More information about the wp-hackers
mailing list