Internet Explorer

File - Open As... On IE 7

When I first installed Internet Explorer, I could not figure out where the File menu was. I thought, " I'll just check the help menu". Well, the help menu is hidden too, so no luck there. It didn't take long to find an answer on the internet - Alt + F toggles on the File menu. I'm surprised MS decided to have it hidden by default?

Posted In: Internet Explorer | 3 comments

Javascript, Tables & InsertBefore

I was trying to dynamically add rows to a table and ran into a problem with both Firefox and Internet Explorer. I had a table with a couple rows of data and there was a link to add a new row at the bottom of the table (in its own row).



The javascript simply cloned the first row, cleaned out some values from the td’s and inserted the new row into the table before the last row (i.e., the inserted row would be the second to last row) . That's where the problems arose. In firefox, table.appendChild(newRow) functioned fine, but when I tried table.insertBefore(newRow,lastRow) it threw a DOMexception saying it could not replace the child node because it didn't exist. In Internet Explorer, I could use appendChild or insertBefore. It turns out, you need to append and or insert to the tbody html element, instead of the table element. A real basic example:

<html>
<body>
<table>
<tbody id="useThis">
<tr id="row1"><td>Row One</td></tr>
<tr id="row2"><td>Row Two</td></tr>
</tbody>
</table>
<script type="text/javascript">
//clone row1
var newRow = document.getElementById('row1').cloneNode('true');
//get row2
var row2 = document.getElementById('row2');
//add cloned row1 one before row2
document.getElementById('useThis').insertBefore(newRow,row2);
</script>
</body>
</html>

Posted In: JavaScript, firefox, Internet Explorer | 6 comments

Google Analytics & Secure Connections with HTTPS

I ran into a small problem with Google Analytics and secure connections. I worked with a company to get a secure certificate installed and noticed that the Google Analytics tracking code placed on the pages was calling a script from http and not https. This raised an alert in Internet Explorer asking if you “want to display non-secure items in the page”. Firefox also had a red icon, indicating everything was not secure on the page.



A quick search on Google turned up nothing useful, so I visited Google Analytics and quickly found the answer to my problem - http://www.google.com/support/analytics. The instructions are straightforward and you can place the code on non-secure and secure pages. Looking at the new tracking code and both JavaScript files on Google’s server, it looks like the only difference is the tracking code calls the script over https. This leads me to believe you could only update the secure pages on your site with the new tracking code and be fine.

Posted In: firefox, Internet Explorer, Google Analytics | No Comments

Testing for IE7

With IE7 about to be pushed out to millions of computers, I realized I need to test some sites and make sure everything looked okay. But I don't want to lose IE6 in the process. I found a stand alone version of IE7 RC1. For some reason, I am not too worried about Firefox 2.0. They haven't made huge changes in CSS, which is what scares me about IE7. Surprisingly, all the sites I have built recently looked fine in IE7. I haven't employed any IE specific hacks, mostly just adding extra divs or other unnecessary markup.



While researching this, I also stumbled across IEs4Linux. I haven't had a chance to install it yet, but will in the next couple of weeks. Now, if the developer adds IE7 to the list, that is one less reason for me to fire up my Windows box.

Posted In: firefox, Internet Explorer | No Comments

Gmail and Saving via JavaScript

I noticied (and read online) that Google had put in scrolling on their maps via the mouse wheel. But I just stumbled across something new while using Gmail - if you are typing an email and hit crtl+s, the normal Microsoft save command for word docs, it will actually use AJAX to save the email into your drafts (works on both IE and firefox on windows, but you have to have focus on the text area for composing the email in order for it to work) . They had auto-save, but this is something I wasn't aware of. I also tried it on firefox on Linux, but it didn't do it. You may be wondering why I hit crtl+s? It was a habit I developed while working as a webmaster for a ski area. Not that often, but often enough, the power would go out and I would lose all my unsaved data on the computer. It only had to happen a couple of times before I developed a habit if saving all the time. Such is the price of working at a ski area and being able to get powder for lunch...

Posted In: JavaScript, firefox, Internet Explorer | No Comments

IE and China Airlines

Gunjan and I are going away for the Holidays in December and have been researching prices of flights to various countries. While seeing how much it cost to get to Asia, I went to China Airline's website (using Firefox of course) and was greeted with a javascript alert that said "Please useing IE6.0 or later !". Man, I thought those days were long gone...

I wonder what impact IE7 will have on the world of web design? Will it stop or slow the movement towards Firefox? Does the general public even care about what web browser they use, or do they see a web browser as a commodity? In my opinion, Firefox's increased market share played a large part in Microsoft's move to push out IE7, fix bugs in their rendering engine and try to adhere to standards. If Firefox continues to slowly eat away at IE's dominance, I think we will see not only more development of IE from Microsoft, but also more of a convergence towards accepted standards.

Let's face it, the browser is becoming more and more important every year. Applications that once required a desktop platform can now be moved online and dispersed via the internet. For that reason alone, IE is very important to Microsoft.

Posted In: firefox, Internet Explorer | No Comments