Ask questions and get good answers on mb.jQuery.components

In IE9, when calling $("#quickStatsDiv").mb_toggle(); to toggle the panel the min and max icon cannot be found. I used fiddler to see what was happening and it looks like it is passing the wrong path for the image.

undefinedwhite/min.png

Any help would be appreciated. I am able to replicate this in the demo project.

Thanks

asked Sep 09 '11 at 11:20

doctorj101's gravatar image

doctorj101
111


Hi, the "undefined" should be the "elementsPath" property set in the initialize function. As default its value is elementsPath:"elements/".

Does it happens with other browsers?

bye, Matteo

answered Sep 09 '11 at 14:09

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Thanks for the quick respones. :)

I saw that undefinied should be the elementsPath property. I did change elementsPath:"elements/" to the proper path in my project. I still have the problem.

I get this issue in the demo page that downloads with the project. When I click on the icon it fixes the icon path. It looks like toggle calls containerCollapse(). In containerCollapse() it calls if (!opt) opt=container.attr("options"); It must not be reading opt as empty or something is up with container.attr("options"); I cannot replicate this issue in FireFox or Chrome. Only IE9. Let me know what you think.

answered Sep 09 '11 at 14:55

doctorj101's gravatar image

doctorj101
111

I looked at the debugger in IE9 and FireFox and it looks like they have the same value. They are both passing undefined as the elementsPath. But Somehow Firefox loads the correct image.

(Sep 09 '11 at 15:21) doctorj101

I'll give a look and let you know...

(Oct 05 '11 at 13:58) Matteo Bicocchi ♦♦

try download the latest (not public) 2.5.9 version from gitHub:

https://github.com/pupunzi/jquery.mb.containerPlus/zipball/master

Think the problem is solved on this release.

(Oct 05 '11 at 17:42) Matteo Bicocchi ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×9
×2
×1

Asked: Sep 09 '11 at 11:20

Seen: 330 times

Last updated: Oct 05 '11 at 17:42

jQuery main site - Matteo Bicocchi