IE6/IE7 bug in jQuery/CSS

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved

Join Date: Jul 2006
Posts: 798
Reputation: pritaeas is on a distinguished road 
Solved Threads: 130
Sponsor
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Master Poster

IE6/IE7 bug in jQuery/CSS

 
0
  #1
20 Days Ago
I can reproduce this bug in IE7 (and a colleague in IE6), my link is here:

http://www.pritaeas.net/tools/linkfarm/

If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another one will result in positioning the new tag next to the element that has been removed.

Is this a jQuery issue, or can this be fixed by changing my css.

After a suggestion on StackOverflow I've also tried to use .hide() and .hide("fast") but to no avail.

T.i.a.


Originally posted here: http://stackoverflow.com/questions/1...in-ie6-and-ie7
Last edited by pritaeas; 20 Days Ago at 5:19 am. Reason: addition
"If it is NOT source, it is NOT software."
-- NASA
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 348
Reputation: Troy III will become famous soon enough Troy III will become famous soon enough 
Solved Threads: 42
Troy III's Avatar
Troy III Troy III is offline Offline
Posting Whiz
 
0
  #2
20 Days Ago
could it be the other way around, because if it really happens to be an IE "bug" you should post back at Microsoft -'cause we cant fix browsers.

Why don't you check you code instead of 'repoting bugs' you don't know anything about?

It works fine on my IE 6 - but you should check back the style, (and a bit of positioning) because the border around elements is dashed here while in fx it's solid.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 798
Reputation: pritaeas is on a distinguished road 
Solved Threads: 130
Sponsor
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Master Poster
 
0
  #3
20 Days Ago
Yes, it could be an IE bug (I did not state it was, but it is the only one with the problem), but that is why I want to know if anyone has ever seen this behaviour before. I want to rule out coding/css errors first. Any help I've had so far has not resulted in anything.

The border is supposed to be dashed... but that is just visual stuff, not important at this time. I'm hoping to find a solution to the positioning problem.
Last edited by pritaeas; 20 Days Ago at 10:14 am. Reason: removed accidental quote
"If it is NOT source, it is NOT software."
-- NASA
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 17
Reputation: futingkiller is an unknown quantity at this point 
Solved Threads: 2
futingkiller futingkiller is offline Offline
Newbie Poster
 
0
  #4
20 Days Ago
first of all, besides the position of the border that is messed up in IE, i had another error... when i was selecting the check-boxes and deselecting them, they wore still there but invisible...
http://archivist.incutio.com/viewlist/css-discuss/37888
this came to mind... the difference between visibility hidden vs display none
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 148
Reputation: mschroeder is on a distinguished road 
Solved Threads: 25
mschroeder mschroeder is offline Offline
Junior Poster
 
1
  #5
20 Days Ago
This is not an IE issue.
Get yourself Firebug for Firefox and the IE Developer Toolbar for IE7 -- maybe 6 and 8?

When I run through the example on firefox it is not removing the li tags from the list when i deselect a tag, just the input and the label.

Firefox is leaving the empty li tags and not displaying them or hiding them or something I assume it is your css. On IE7 the EXACT same behavior is occurring except IE7 is leaving the li's in their default state (expanded/not hidden?).

Both browsers show like this once i have removed items that i previously selected.
  1. <ul class="selected">
  2. <li> </li>
  3. <li> </li>
  4. </ul>
If you're question/problem is solved don't forget to mark the thread as Solved!

-- Code I post is usually but not always tested. If it is tested it will be against 5.2.11 or 5.3.0
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 798
Reputation: pritaeas is on a distinguished road 
Solved Threads: 130
Sponsor
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Master Poster
 
0
  #6
19 Days Ago
Thanks for the tips. I'll sit down this weekend and try again. Apparently the .remove and .hide functions of jQuery do not work as expected, so I'll have to write a work-around.
Last edited by pritaeas; 19 Days Ago at 4:33 am. Reason: Add-on
"If it is NOT source, it is NOT software."
-- NASA
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 798
Reputation: pritaeas is on a distinguished road 
Solved Threads: 130
Sponsor
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Master Poster
 
0
  #7
19 Days Ago
Thanks all. Your insights helped me fix it. Apparently my .remove() did not recognize the parent li tag correctly. It is now fixed.
"If it is NOT source, it is NOT software."
-- NASA
Reply With Quote Quick reply to this message  
Reply

Tags
bug, ie7, jquery

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC