Animated Collapsible DIV in Blogger
1) Script Title: Animated Collapsible DIV
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm
3) Describe problem: when i load my webpage, the <div> is expanded and on clicking the collapse link, the div doesn't collapse.
...i am using this script on my Blogger blog and i uploaded the .js to a different domain...
could this be a problem? i saw this in the .js file:
Quote:
window.location.href.replace("http://"+window.location.hostname, "")
i don't understand what this means yet but i was hopping somebody could tell me if setting up the .js in a different domain can cause the script to not work, so i can then start to 'decode' the .js
more so, i linked the script's src to the right url here:
Quote:
<script type="text/javascript" src="animatedcollapse.js">
and double checked the entire code. everything is correct in place. the only 'fishy' thing is when i put this piece of code in the blog's <body>:
Quote:
<script type="text/javascript">
var collapse1=new animatedcollapse("dog", 1000, false)
</script>
...i see this after saving:
Quote:
<script type='text/javascript'>
var collapse1=new animatedcollapse("dog", 1000, false)
</script>
i tried using ' ' instead 0f " " but still i just get the code instead of the symbols
thanks