Page 1 of 1

INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 4:17 am
by novice4eva
Yes i had heard of it and yes it is the perfect night-mare for all client side programmers and designers as well BUT WHY THE HELL PEOPLE USE IE PLZZZZZ don't use it Pleasssssse..... I BEG YOU. I only tried window.location.href , works like magic in FF compared to IE, is that command so complex one, a simple redirect!! I would have never ever imagined that "MICROSOFT" IE, despite its esteemed stature of having the name "MICROSOFT" backing it fails like CRAPPPP...
I HATE INTERNET EXPLORER, AND AS OF NOW I DON'T CARE I AIN'T GONNA USE IE FOR PERSONAL USE NEVERRRRRRRRR :madblow:

Re: INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 4:21 am
by papa
Which one are you using?

I'm not a big fan of IE either but it's a necessary evil when working with web. :)

Re: INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 4:31 am
by novice4eva
version:6

Re: INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 4:47 am
by Eran
use 'window.location' without the '.href'. Should work

Re: INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 5:03 am
by silenceghost
SOME TNT TO BLOW IT the internet explorer is put
return false on the event handler of onClick
check if C is capital on onClick or not

Code: Select all

 
<html>
<title></title>
<head>
<script>
function test(url){ 
    window.location=url;
}
</script>
</head>
<body>
<a href="#" onClick="test('test.php');return false;">click</a>
</body>
</html>

Re: INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 5:05 am
by novice4eva
Thanks guys for much appreciated help.
I tried all three flavours: window.location.href, window.location, location.href none worked 8O
Ok this is what i'm doing, maybe that will shed some light if i did something wrong

Code: Select all

 
<a href="javascript&#058;void(0);" onClick="doRedirection();">Redirect</a>
 
my redirection function in JS is:

Code: Select all

 
function doRedirection()
{
  window.location.href = 'addNewItem.php?mode=U';
/* THINGS I TRIED
  window.location = 'addNewItem.php?mode=U';
  location.href = 'addNewItem.php?mode=U';
*/
}
 
I read few blogs and i also tried changing that <script language=""> thing, setting language to "javascript", "javascript 1.2", and other versions also "text/javascript".... and IE loves disappointing us

Re: INTERNET EXLPORER!!! GIMME SOME TNT TO BLOW IT

Posted: Mon Dec 15, 2008 5:07 am
by novice4eva
Eii thanks there, the return false thing worked good...still I HATE IE :twisted: :twisted: :twisted:
THANKS A LOT AGAIN TO ALL YA FRENS