PDA

View Full Version : Error fetching Ajax content on Google Chrome with Drop-in box script



baumann06
12-13-2012, 02:06 PM
1) Script Title: Drop-in content box v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem:
we can get this to work on IE but on Chrome we are getting an Error fetching Ajax error.. any suggestions on how to get this to work?

this is what i have for code...


<link rel="stylesheet" href="css/dropincontentbox.css" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/dropincontentbox.js">

/***********************************************
* Drop In Content Box (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

</script>

<script>

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?
})


</script>

thank you!

bernie1227
12-13-2012, 11:09 PM
Is this the error?


error fetching ajax content- Server response (blank)

The issue is, that if the code is local (which I assume it is since ie has it working), it won't work on chrome. Put it on a webserver and it should function perfectly.
See here:
http://www.dynamicdrive.com/forums/showthread.php?68155-problem-with-dropinbox-on-Chrome

If that's not the issue, we'll need a better description of the problem,
Thanks,
Bernie