1) Script Title: Drop-in content box v2.0
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../dropinbox.htm
3) Describe problem: In the past I had an issue with the drop-in box showing once per http session on my site and then showing again when the server switched to secure (https). At the time I believe I was using an external file for the drop-in content. This issue was corrected with the following code
My site uses snippets that can be edited without recompiling all the templates when something is changed. For some reason I cannot get the snippet to load with an external file AND a delay on the box droping, so I'm now using an inline DIV to load the drop-in box information when the page loads and all works fine. That is until the server goes to https. Once the secure server loads the page the inline div is now visible in the footer, which is where I've placed it.Code:<script> if(location.protocol.indexOf('https') < 0){ } </script>
I tried wrapping that same piece of code I showed above around the inline DIV but it still doen't solve the problem.
Any suggestions?
Here is the site
http:toolnook.com



Reply With Quote

Bookmarks