Hey guys, so I am a designer (not a developer) doing a site for someone.
I am playing with some simple free javascripts.
I have lightbox and toggler. Both work great individually.
They are conflicting and everywhere online says to set the both to onLoad in the body tag.
Sounds easy enough.
But I can’t seem to figure out the call for this script:
<script type=”text/javascript” src=”
<script type=”text/javascript” src=”../js/expand.js”></script>
<script type=”text/javascript”>
$(function() {
$(“h2.expand”).toggler({method: “fadeToggle”});
});
//–><!]]>
</script>
<body onload=”toggler();initLightbox()”> is what is seems like it should be for me. But that isn’t working at all.
Please help!
I feel like I have tried every possible name with the toggler()…
the other script is initLightbox().