Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-18 Thread Vincent Majer
ok, i couldn't show the page but we've put the site online, now.. So, first of all, i don't have a real control on the html generated, so just stay cool when you give a look at the source code... For the moment, i've replaced the jquery code with a classic show/hide javascript : that was my jqu

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: > Karl Swedberg schrieb: > >> $().ready(function(){ >> > It would produce an interesting pattern if $() implied a jQuery object > containing only the document object. Then $().ready(function() {}) would > work and be a little more logical then $(function() {}).

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Karl Swedberg
On Dec 14, 2006, at 1:50 PM, Mike Alsup wrote: fyi, these all work the same: $(document).ready(function() {}); $().ready(function() {}); $(function() {}); Very interesting. I knew about the first and third being the same, but didn't know about the second. Thanks, Mike! --Karl

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Jörn Zaefferer
Karl Swedberg schrieb: > $().ready(function(){ It would produce an interesting pattern if $() implied a jQuery object containing only the document object. Then $().ready(function() {}) would work and be a little more logical then $(function() {}). -- Jörn Zaefferer http://bassistance.de

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Mike Alsup
> I see a couple things that I would change if it were my code. > > 1. change > $().ready(function(){ > to > $(document).ready(function(){ fyi, these all work the same: $(document).ready(function() {}); $().ready(function() {}); $(function() {}); _

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Karl Swedberg
On Dec 14, 2006, at 8:49 AM, Vincent Majer wrote: $().ready(function(){ $("a.ShowMap").click( function() { $("div.dynamic_zone").find("div#description").css({display:"none"}); $("div.dynamic_zone").find("div#map").show("slow");

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Vincent Majer
I don't have duplicate id in my document, so the problem does not come from that point. I've tried the code you are proposing, but it does not change the comportment in IE 6 / 7.. In IE 6, it works sometimes (seems to be a question of luck).. In IE 7, it seems not to work at all.. Peter Be

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Peter Bengtsson
> > > $().ready(function(){ > > $("a.ShowMap").click( > function() > { > > $("div.dynamic_zone").find("div#description").css({display:"none"}); > $("div.dynamic_zone").find("div#map").show("slow"); > > }); > > $("a.

[jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Vincent Majer
Hi, I'm trying to do a very simple thing with jquery, it works all right with firefox, and it works SOMETIMES with IE 6 and IE 7.. I'm using the very latest jquery 1.0.4 here is my code : $().ready(function(){ $("a.ShowMap").click( function() {