It's hard to say for certain without seeing the page. Even then it might be difficult. But here's what I would try:
First make sure all of the files are on and being fetched from the secure server. That includes the close image, scripts and css, as well as the file(s) fetched via AJAX for the content. This latter will probably need to be on both.
For the one file not on your server at all, use the https version. Change:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
to:
Code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
Then if you want to skip the script for the secure server, where you have this or something like it add the highlighted as shown top and bottom:
Code:
<script>
if(location.protocol.indexOf('https') < 0){
var dropinbox1=new dropincontentbox({
source:['#dropbox', 'dropincontent.htm'], //#id of DIV to show if defined inline, or [#id, path_to_box_content_file] if defined in external file
cssclass:'dropinbox standardshadow', //arbitrary class(es) to add to the drop in box to style it
showduration:10 //disappear after x seconds?
})
var dropinbox2=new dropincontentbox({
source:'#reminder', //#id of DIV to show if defined inline
cssclass:'dropinbox dropinboxaltstyle drop-shadow lifted',
fx:'easeInExpo', //alternate drop animation keyword
pos:[-20, -20], //custom position of drop in box
deferred:1 //show box 1 sec after page has loaded
})
}
</script>
The browser cache may need to be cleared and/or the page refreshed to see changes.
If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks