• If i include the wp_head in my header.php file it will break my javascript which is:

    <script type="text/javascript">
    
    	window.addEvent('domready', function() { 
    
    var sliders = $$(".moreinfo");
    var triggers = $$(".toggle") ;
    
    triggers.each(function( o, x ){
    	var sl = new Fx.Slide( sliders[x], { } );
    		$(triggers[x]).addEvent('click',function(e){
    		e = new Event(e);
    		sl.toggle();
    		e.stop(); })
    			sl.hide();
    });
    }  )// end
    
    	</script>

    Any ideas why this occurs?

Viewing 1 replies (of 1 total)
  • Thread Starter qwik3r

    (@qwik3r)

    uh nevermind I see now that WP_head isn’t the culprit its another plugin of mine that is interacting negtively with the above, damn it.

Viewing 1 replies (of 1 total)
  • The topic ‘[RESOLVED]wp_head breaks javascript’ is closed to new replies.