Javascript

IETester

As a developer, Internet Explorer is the bane of my existence. I’m hoping that this IETester product will help with testing. It still in alpha, but it claims to be a free WebBrowser that allows you to have the rendering and javascript engines of IE8, IE7 IE 6 and IE5.5 on Windows 7, Vista and XP, as well as the installed IE in the same process.

Check it out here…[…]

Published on Wed, 10 Mar 2010 16:21

Sick of Browser Incompatibilities with IE6/IE7?

Check out the ie7-js javascript library. It helps with a bunch of css, layout, hover, PNG support, etc.

Project Site - http://code.google.com/p/ie7-js/

Demos - http://ie7-js.googlecode.com/svn/test/index.html

[...]
Published on Sat, 09 Feb 2008 00:23

Ajax Toolkits

Ajax Tutorials:


[…]

Published on Fri, 16 Mar 2007 12:01

Popup Blocker Detection in JavaScript

This crossbrowser script detects whether or not a popup blocker blocked a window.open.



Original link…



 function detectPopupBlocker() { var test = window.open(null,"","width=100,height=100"); try { test.close(); alert("Pop-ups not blocked."); } catch (e) { alert("Pop-ups blocked."); } } // Created by: Simon Willison // http://simon.incutio.com/archive/2004/05/26/addLoadEvent function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } addLoadEvent(detectPopupBlocker); 


[…]

Published on Sat, 23 Dec 2006 04:13

Modality in the world of JavaScript

I am currently working on project where i am looking to incorporate a series of pages in modal form. These pages will have to accomodate images, flash swfs, and also straight up html. I have been scouring the web for the various options available to aid in this task. I ran accross this link that talks in great depth about the various modal alternatives in the world of html and javascript.

Here are some of the options:

All of these have their own strengths/weaknesses, but i am leaning towards using lightbox and ibox…

[…]

Published on Tue, 31 Oct 2006 08:41

Using Javascript to close a parent window (self)

For work I had to create a script where by a Flash app calls a javascript method to close the window silently. If you use a normal window.close in a parent window, it will promopt the user in IE and flat out not work in Firefox. Here is the work around. [js]function closeWindow(){ if (navigator.appName==”Netscape”) { window.open(”,’_parent’,”); window.close(); } else if(“Microsoft Internet Explorer”) { // IE window.opener=’x’; window.close(); }else{ // redirect to another page… } }[/js]

The from your html call this method…[…]

Published on Wed, 12 Jul 2006 22:36