[WSG] Major memory leaking in IE
Hello, can anyone help me debug the major memory leakage in IE on this page; http://www.prisguide.no/kategorier/mobiltelefon It seems to be the JavaScript when rendering new results after selecting a filter. I have tweaked it a bit, but seems to be very messy in IE. Runs with the jQuery 1.3.2 JS-lib. PS: Don't worry about IE6, we don't support it. :) It's just IE7 and IE8. Kind regards, Mads *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Major memory leaking in IE
Interesting, I've had similar problems all the way through each IE incarnation, I had a quick look at your example, with no luck, but then I didn't test it in IE. You would think M$ would have been able to fix this problem by now, as it looks like it's a similar problem as I've always experienced, but was able to get around it by splitting data up into smaller chunks, and renaming vars to single chars, and removing white space which also helps speed the code up and reduce file size. Regards, StudioJunkyard.com Mads Erik Forberg wrote: Hello, can anyone help me debug the major memory leakage in IE on this page; http://www.prisguide.no/kategorier/mobiltelefon It seems to be the JavaScript when rendering new results after selecting a filter. I have tweaked it a bit, but seems to be very messy in IE. Runs with the jQuery 1.3.2 JS-lib. PS: Don't worry about IE6, we don't support it. :) It's just IE7 and IE8. Kind regards, Mads *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Major memory leaking in IE
Event delegation helped me alot, still some tweaks I can do with that. But yeah, splitting data in to smaller chunks would probably help. Also I think the jQuery.fn.replaceWith method is a bit slow in IE, maybe try to use jQuery.fn.html() instead. Does anyone have experience with which method is the fastest when replacing HTML with jQuery? Kind regards, Mads Den 02.12.2009 14:09, skrev i...@eyemaxstudios.net: Interesting, I've had similar problems all the way through each IE incarnation, I had a quick look at your example, with no luck, but then I didn't test it in IE. You would think M$ would have been able to fix this problem by now, as it looks like it's a similar problem as I've always experienced, but was able to get around it by splitting data up into smaller chunks, and renaming vars to single chars, and removing white space which also helps speed the code up and reduce file size. Regards, StudioJunkyard.com Mads Erik Forberg wrote: Hello, can anyone help me debug the major memory leakage in IE on this page; http://www.prisguide.no/kategorier/mobiltelefon It seems to be the JavaScript when rendering new results after selecting a filter. I have tweaked it a bit, but seems to be very messy in IE. Runs with the jQuery 1.3.2 JS-lib. PS: Don't worry about IE6, we don't support it. :) It's just IE7 and IE8. Kind regards, Mads *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Major memory leaking in IE
When you say memory leak, what do you mean? Are you saying it just runs slower and slower over time, or are you saying that it is just slow in IE? Also, I am getting an error in IE7... Google is your friend For info on difference between replaceWith and html jQuery methods: http://stackoverflow.com/questions/730916/whats-the-difference-between-jquerys-replacewith-and-html Be careful with anonymous functions and event handlers: $('#button').click(function(){ ... blargh }); In some circumstances, this is better: function blargh() { ... click event stuff } $('#button').click(blargh) Now, blargh is declared only once and evaluated the same... You have to be careful with 'this' though... Couple of interesting articles: http://www.communitymx.com/content/article.cfm?cid=4E137 http://www.sitepoint.com/blogs/2009/11/12/google-closure-how-not-to-write-javascript/ Karl On Thu, Dec 3, 2009 at 12:23 AM, Mads Erik Forberg m...@hardware.no wrote: Event delegation helped me alot, still some tweaks I can do with that. But yeah, splitting data in to smaller chunks would probably help. Also I think the jQuery.fn.replaceWith method is a bit slow in IE, maybe try to use jQuery.fn.html() instead. Does anyone have experience with which method is the fastest when replacing HTML with jQuery? Kind regards, Mads Den 02.12.2009 14:09, skrev i...@eyemaxstudios.net: Interesting, I've had similar problems all the way through each IE incarnation, I had a quick look at your example, with no luck, but then I didn't test it in IE. You would think M$ would have been able to fix this problem by now, as it looks like it's a similar problem as I've always experienced, but was able to get around it by splitting data up into smaller chunks, and renaming vars to single chars, and removing white space which also helps speed the code up and reduce file size. Regards, StudioJunkyard.com Mads Erik Forberg wrote: Hello, can anyone help me debug the major memory leakage in IE on this page; http://www.prisguide.no/kategorier/mobiltelefon It seems to be the JavaScript when rendering new results after selecting a filter. I have tweaked it a bit, but seems to be very messy in IE. Runs with the jQuery 1.3.2 JS-lib. PS: Don't worry about IE6, we don't support it. :) It's just IE7 and IE8. Kind regards, Mads *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Major memory leaking in IE
Thank you for your all your tips! Will look into some of the links tomorrow. I know the difference between replaceWith and html, but which is faster? Kind regards, Mads Den 02.12.2009 22:41, skrev Karl Lurman: When you say memory leak, what do you mean? Are you saying it just runs slower and slower over time, or are you saying that it is just slow in IE? Also, I am getting an error in IE7... Google is your friend For info on difference between replaceWith and html jQuery methods: http://stackoverflow.com/questions/730916/whats-the-difference-between-jquerys-replacewith-and-html Be careful with anonymous functions and event handlers: $('#button').click(function(){ ... blargh }); In some circumstances, this is better: function blargh() { ... click event stuff } $('#button').click(blargh) Now, blargh is declared only once and evaluated the same... You have to be careful with 'this' though... Couple of interesting articles: http://www.communitymx.com/content/article.cfm?cid=4E137 http://www.sitepoint.com/blogs/2009/11/12/google-closure-how-not-to-write-javascript/ Karl On Thu, Dec 3, 2009 at 12:23 AM, Mads Erik Forbergm...@hardware.no wrote: Event delegation helped me alot, still some tweaks I can do with that. But yeah, splitting data in to smaller chunks would probably help. Also I think the jQuery.fn.replaceWith method is a bit slow in IE, maybe try to use jQuery.fn.html() instead. Does anyone have experience with which method is the fastest when replacing HTML with jQuery? Kind regards, Mads Den 02.12.2009 14:09, skrev i...@eyemaxstudios.net: Interesting, I've had similar problems all the way through each IE incarnation, I had a quick look at your example, with no luck, but then I didn't test it in IE. You would think M$ would have been able to fix this problem by now, as it looks like it's a similar problem as I've always experienced, but was able to get around it by splitting data up into smaller chunks, and renaming vars to single chars, and removing white space which also helps speed the code up and reduce file size. Regards, StudioJunkyard.com Mads Erik Forberg wrote: Hello, can anyone help me debug the major memory leakage in IE on this page; http://www.prisguide.no/kategorier/mobiltelefon It seems to be the JavaScript when rendering new results after selecting a filter. I have tweaked it a bit, but seems to be very messy in IE. Runs with the jQuery 1.3.2 JS-lib. PS: Don't worry about IE6, we don't support it. :) It's just IE7 and IE8. Kind regards, Mads *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Major memory leaking in IE
Yeah, me to.. But to answer your other question, it runs slower over time. Kind regards, Mads Den 02.12.2009 23:31, skrev Karl Lurman: I suspect that the html method would be faster... Karl On Thu, Dec 3, 2009 at 9:24 AM, Mads Erik Forbergm...@hardware.no wrote: Thank you for your all your tips! Will look into some of the links tomorrow. I know the difference between replaceWith and html, but which is faster? Kind regards, Mads Den 02.12.2009 22:41, skrev Karl Lurman: When you say memory leak, what do you mean? Are you saying it just runs slower and slower over time, or are you saying that it is just slow in IE? Also, I am getting an error in IE7... Google is your friend For info on difference between replaceWith and html jQuery methods: http://stackoverflow.com/questions/730916/whats-the-difference-between-jquerys-replacewith-and-html Be careful with anonymous functions and event handlers: $('#button').click(function(){ ... blargh }); In some circumstances, this is better: function blargh() { ... click event stuff } $('#button').click(blargh) Now, blargh is declared only once and evaluated the same... You have to be careful with 'this' though... Couple of interesting articles: http://www.communitymx.com/content/article.cfm?cid=4E137 http://www.sitepoint.com/blogs/2009/11/12/google-closure-how-not-to-write-javascript/ Karl On Thu, Dec 3, 2009 at 12:23 AM, Mads Erik Forbergm...@hardware.no wrote: Event delegation helped me alot, still some tweaks I can do with that. But yeah, splitting data in to smaller chunks would probably help. Also I think the jQuery.fn.replaceWith method is a bit slow in IE, maybe try to use jQuery.fn.html() instead. Does anyone have experience with which method is the fastest when replacing HTML with jQuery? Kind regards, Mads Den 02.12.2009 14:09, skrev i...@eyemaxstudios.net: Interesting, I've had similar problems all the way through each IE incarnation, I had a quick look at your example, with no luck, but then I didn't test it in IE. You would think M$ would have been able to fix this problem by now, as it looks like it's a similar problem as I've always experienced, but was able to get around it by splitting data up into smaller chunks, and renaming vars to single chars, and removing white space which also helps speed the code up and reduce file size. Regards, StudioJunkyard.com Mads Erik Forberg wrote: Hello, can anyone help me debug the major memory leakage in IE on this page; http://www.prisguide.no/kategorier/mobiltelefon It seems to be the JavaScript when rendering new results after selecting a filter. I have tweaked it a bit, but seems to be very messy in IE. Runs with the jQuery 1.3.2 JS-lib. PS: Don't worry about IE6, we don't support it. :) It's just IE7 and IE8. Kind regards, Mads *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help:
[WSG] web style guide
Hi there, I need to write a web style guide for our web site. Does anyone know of any good examples I could draw inspiration from? We already have our style sheets etc working, but need to have some kind of documentation we can hand to third party or contract developers so they can work to our standards. Thanks, Lucien. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
RE: [WSG] web style guide
Lucien wrote: Hi there, I need to write a web style guide for our web site. Does anyone know of any good examples I could draw inspiration from? You'll find a lot of government guides online, such as http://webpublishing.agimo.gov.au/ or http://www.intact.act.gov.au/Website_Development_Mgt_Standard.doc Kerry --- This email, and any attachments, may be confidential and also privileged. If you are not the intended recipient, please notify the sender and delete all copies of this transmission along with any attachments immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person. --- *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] web style guide
Hi Lucien, I don't have any style guides of my own to share, but I have two links you may want to review: A List Apart: Writing an interface style guidehttp://www.alistapart.com/articles/writingainterfacestyleguide/( http://www.alistapart.com/articles/writingainterfacestyleguide/) Government of Canada's Common Look and Feel for the Internethttp://www.tbs-sct.gc.ca/clf2-nsi2/index-eng.asp( http://www.tbs-sct.gc.ca/clf2-nsi2/index-eng.asp) Kris On Wed, Dec 2, 2009 at 8:59 PM, nedlud ned...@gmail.com wrote: Hi there, I need to write a web style guide for our web site. Does anyone know of any good examples I could draw inspiration from? We already have our style sheets etc working, but need to have some kind of documentation we can hand to third party or contract developers so they can work to our standards. Thanks, Lucien. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] web style guide
And a couple more links: http://www.pebbleroad.com/articles/view/Creating-Maintaining-a-Web-Style-Guide/ http://delicious.com/maish/styleguide 2009/12/3 kris wright kcwri...@gmail.com: Hi Lucien, I don't have any style guides of my own to share, but I have two links you may want to review: A List Apart: Writing an interface style guide (http://www.alistapart.com/articles/writingainterfacestyleguide/) Government of Canada's Common Look and Feel for the Internet (http://www.tbs-sct.gc.ca/clf2-nsi2/index-eng.asp) Kris On Wed, Dec 2, 2009 at 8:59 PM, nedlud ned...@gmail.com wrote: Hi there, I need to write a web style guide for our web site. Does anyone know of any good examples I could draw inspiration from? We already have our style sheets etc working, but need to have some kind of documentation we can hand to third party or contract developers so they can work to our standards. Thanks, Lucien. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** -- Nick Cowie http://nickcowie.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] web style guide
Thanks everyone. Some great resources there. I have plenty to read now :) Lucien. On Thu, Dec 3, 2009 at 2:28 PM, Nick Cowie cowie.n...@gmail.com wrote: And a couple more links: http://www.pebbleroad.com/articles/view/Creating-Maintaining-a-Web-Style-Guide/ http://delicious.com/maish/styleguide 2009/12/3 kris wright kcwri...@gmail.com: Hi Lucien, I don't have any style guides of my own to share, but I have two links you may want to review: A List Apart: Writing an interface style guide (http://www.alistapart.com/articles/writingainterfacestyleguide/) Government of Canada's Common Look and Feel for the Internet (http://www.tbs-sct.gc.ca/clf2-nsi2/index-eng.asp) Kris On Wed, Dec 2, 2009 at 8:59 PM, nedlud ned...@gmail.com wrote: Hi there, I need to write a web style guide for our web site. Does anyone know of any good examples I could draw inspiration from? We already have our style sheets etc working, but need to have some kind of documentation we can hand to third party or contract developers so they can work to our standards. Thanks, Lucien. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** -- Nick Cowie http://nickcowie.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** -- Sent from Melbourne, Victoria, Australia *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] web style guide
Just some recent blog posts on style guide to add to your reading list: http://www.purecaffeine.com/2009/11/style-guides-and-ui-implementation/ http://www.purecaffeine.com/2009/11/style-guides-and-ui-implementation-part-2/ Cheers, Nathanael Boehm Web user interaction designer user experience · social experience · social media · user interface development · usability · accessibility Imagine Innovation · KATA Professional · UXnet Canberra · OpenAustralia · BarCampCanberra Australian Social Innovation eXchange (ASIX) Canberra www.purecaffeine.com http://www.purecaffeine.com/about/ Canberra, Australia 0409 288 464 Latest UX blog post: Style guides and UI implementation: Part 2http://bit.ly/68H1ZR RSVP http://bit.ly/bHic2 for BarCampCanberra 2010, in mid-February On Thu, Dec 3, 2009 at 2:35 PM, nedlud ned...@gmail.com wrote: Thanks everyone. Some great resources there. I have plenty to read now :) Lucien. On Thu, Dec 3, 2009 at 2:28 PM, Nick Cowie cowie.n...@gmail.com wrote: And a couple more links: http://www.pebbleroad.com/articles/view/Creating-Maintaining-a-Web-Style-Guide/ http://delicious.com/maish/styleguide 2009/12/3 kris wright kcwri...@gmail.com: Hi Lucien, I don't have any style guides of my own to share, but I have two links you may want to review: A List Apart: Writing an interface style guide (http://www.alistapart.com/articles/writingainterfacestyleguide/) Government of Canada's Common Look and Feel for the Internet (http://www.tbs-sct.gc.ca/clf2-nsi2/index-eng.asp) Kris On Wed, Dec 2, 2009 at 8:59 PM, nedlud ned...@gmail.com wrote: Hi there, I need to write a web style guide for our web site. Does anyone know of any good examples I could draw inspiration from? We already have our style sheets etc working, but need to have some kind of documentation we can hand to third party or contract developers so they can work to our standards. Thanks, Lucien. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** -- Nick Cowie http://nickcowie.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** -- Sent from Melbourne, Victoria, Australia *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***