Re: [WSG] IE9's Browser Mode Controls - Reliable?

2011-09-23 Thread Mads Erik Forberg

Browser Stack should work just fine:
http://www.browserstack.com/



http://www.browserstack.com/

Mads Erik Forberg
Utvikler
Mediehuset Tek - Et datterselskap av A-pressen og Edda Media
Tlf: +47 950 26 646


Den 23.09.2011 15:57, skrev Tom Livingston:

On Fri, Sep 23, 2011 at 8:12 AM, Russ Weakleyr...@maxdesign.com.au  wrote:

Hello All -

I've been testing a new version of a legacy project against IE 7, 8 and 9
using IE9's Browser Mode Controls.

This way of switching browser modes (between 7, 8 and 9) is quite convenient
but... is it a true representation of how the project will render in these
three browsers?

If not, I'd love to get some suggestions on the LEAST INVASIVE way to test
different modern flavors of IE.

Not ideal, but at least convenient - have you tried 
https://browserlab.adobe.com/ ?
You can check a wide range of browsers easily, including IE6/7/8/9

HTH
Russ


Also see http://www.browsercam.com/






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

[WSG] Major memory leaking in IE

2009-12-02 Thread Mads Erik Forberg

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

2009-12-02 Thread Mads Erik Forberg
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

2009-12-02 Thread Mads Erik Forberg

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

2009-12-02 Thread Mads Erik Forberg

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: memberh