Tuesday, January 26, 2010

Internet Explorer for Linux - (ie4linux)

Following Steps to be done for IE installation on LINUX:

Command 1:
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
Command 2: tar zxvf ies4linux-latest.tar.gz
Command 3: cd ies4linux-*
Command 4: ./ies4linux

Following screen will appear on executing command-4:

Click on Advance Button to set Paths. Also check on the 7.0 checkbox to get IExplorer7.

After completion of process go to your specified path. You will find ies4linux-ie6.desktop and ies4linux-ie7.desktop files. Double click on any one to start IE on Linux.


Executing Command-4 gives me the following error:

"IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. It's recommended that you update your wine to the latest version (Go to: winehq.com).
You need to install cabextract first!
Download it here: http://www.kyz.uklinux.net/cabextract.php"

Actually here the error is not correct because i do have latest version of Wine but doesn't have cabextract.

You can install Wine easily from Add/Remove Applications.
If cabextract is not Installed go through the following steps:

Command 5: wget http://www.cabextract.org.uk/cabextract-1.2.tar.gz
Command 6: tar -zxvf cabextract-1.2.tar.gz
Command 7: cd cabextract-1.2
Command 8: ./configure
Command 9: make
Command 10: make install


Friday, January 22, 2010


Some new cars in Karachi these days -)

Toyota Camry

Nissan Altima

Honda Accord

Due to there similar characteristics, they are known as Cam-Cord-Ima world wide.


Monday, January 18, 2010

javascript: Image as a Non-Submit Button

To use an image as a button that doesn't submit your form following code can be used:

Your input tag will be look like this:
input type="image" src="image.png" onclick="return false"

If you are calling some method on 'onclick' than that method has to return false.


Tuesday, January 12, 2010

Meld Diff Viewer

Meld is a tool which allows the user to see the changes in, and merge between, either two files, two directories, or two files with a common ancestor. I am using this tool in 'Ubuntu' as a replacement for WinMerge.

The tools is excellent and having user friendly UI. It also provides three way comparison between files and directories.

Look at some snapshots:


Monday, January 11, 2010

javascript Popup window

Useful javascript code for window popup:

Following code will popup a window:

function openPopup(url){
popupW = window.open(url,"Window1","menubar=no,width=700,height=500,toolbar=no");

moveTo() method sets the location of popup window on screen.

To open this popup window from a link following code will be used:

a href="#" onclick="javascript:openPopup('url');