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

Hi Matteo,

I'm having an issue on IE7 with mb.extruder (it's working as expected on FF3.6).

In you demo file, I've added in the 'mb.creativity' child menu of 'extruder top' a drop-down list:

<select name="dropdown">
  <option value="1">opt1</option>
  <option value="2">opt2</option>
  <option value="3">opt3</option>
</select>
<br>
<br>
<input type="button" name="tuoTesto" value="submit" onclick="$('#extruderTop').closeMbExtruder();" />

The problem is that when I open the extruder, then select an option of the list, the extruder closes itself. This doesn't happened on Firefox.

Do you have any idea on how this can be fixed?

Thanks and regards, Julien

asked Jan 06 '11 at 10:22

JulienF's gravatar image

JulienF
11


Hi, The best answer is "Why are you using IE7"? Joke appart... I'll take a look. Bye, Matteo

answered Jan 07 '11 at 06:38

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Actually, I don't! That why I've discover that after weeks of development only! :(

But I'm trying to use your creation on an intranet tool project.... and you can guess what's the standard browser of the company...

Thanks, Julien

answered Jan 07 '11 at 07:01

JulienF's gravatar image

JulienF
11

Hi,

I still can't figure what's wrong with the drop-down list :( A click anywhere else in the menu or in the form doesn't close the extruder but it does on this particular element. weird!

answered Jan 18 '11 at 05:15

JulienF's gravatar image

JulienF
11

1

You should try adding a preventDefault() on the select... I think that IE7 event propagation structure for the SELECT is different than the other browsers... Actually, once you open an extruder, an "onclick" event is attached to the body to close the extruder; this event is performed only if the element you clicked on is not inside the extruder itself. You should findout a way to prevent the default event propagation on the SELECT in IE...

(Jan 23 '11 at 12:24) Matteo Bicocchi ♦♦

Thanks for your answer Matteo, I'll try to get something from that.

answered Jan 24 '11 at 07:41

JulienF's gravatar image

JulienF
11

Your answer
toggle preview

jQuery main site - Matteo Bicocchi