Ask questions and get good answers on jQuery

When trying to use the MB extruder at fictionpost.com, I will receive a javascript error and the second tab will not display ONLY WHEN I use the url:'../../..html' in the div tag.

However, when I have INLINE content for both tabs, it works without error in IE8.

The Javascript error is the following:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0) Timestamp: Mon, 17 May 2010 12:39:22 UTC

Message: Access is denied.

Line: 5113 Char: 4 Code: 0 URI: ....fictionpost.com/xxxxx/jquery-1.4.2.js

My code is the following:


$(function(){ $("#extruderLeft").buildMbExtruder({ positionFixed:true, width:300, sensibility:800, position:"left", extruderOpacity:8, flapDim:100, textOrientation:"bt", // or "bt" (top-bottom or bottom-top) onExtOpen:function(){}, onExtContentLoad:function(){}, onExtClose:function(){}, hidePanelsOnClose:true, autoCloseTime:0, // 0=never slideTimer:300 });

 $("#extruderLeft1").buildMbExtruder({
     positionFixed:true,
      width:300,
      sensibility:800,
      position:"left",
      extruderOpacity:8,
      flapDim:100,
      textOrientation:"bt", // or "bt" (top-bottom or bottom-top)
      onExtOpen:function(){},
      onExtContentLoad:function(){},
      onExtClose:function(){},
      hidePanelsOnClose:true,
      autoCloseTime:0, // 0=never
      slideTimer:300
  });   });   </script>

Any help would be greatly appreciated.

asked May 17 '10 at 12:56

Cedric%20Effpy's gravatar image

Cedric Effpy
1112


Does your web server accept ajax POST requests?

Usually this kind of error depends on security settings of the web server where your site is hosted. If this is your case, you can solve your problem just changing all the ajax call in mbExtruder.js from POST to GET: lines 172, 284.

Hope this can help you.

answered May 17 '10 at 14:00

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

I already tried changing the POST to GET and it didn't work.

If it works in Firefox / Chrome and NOT in Internet Explorer, that would indicate that it is not a POST / GET problem.

The line in question in the jquery file (5113): xhr.open(type, s.url, s.async);

(May 17 '10 at 14:10) Cedric Effpy

Is there a possible update to this issue? I still haven't been able to solve it.

answered May 21 '10 at 13:24

Cedric%20Effpy's gravatar image

Cedric Effpy
1112

I don't have this issue on IE; are you sure it doesn't depend from your HTML...? for example: what is the DOCTYPE of your page? did you try with absolute urls...?

Do you have a public URL where to see the page code?

(May 25 '10 at 17:36) Matteo Bicocchi ♦♦
Your answer
toggle preview

jQuery main site - Matteo Bicocchi