Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Even though I hate IE  (Read 1183 times)

0 Members and 1 Guest are viewing this topic.

Xiphirx

wat
Even though I hate IE
« on: November 01, 2008, 07:15:28 am »
  • Xiphirx
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3007
I want everyone to access my site.

So, I am using DICKBUTT and it doesn't like IE apparently...

Here is my function, I added debug alerts; so you know, only "fail" appears (the first one).

Basically it cannot catch the error...

Code: [Select]
function DICKBUTT()
{
var request;
try {request = new XMLHttpRequest();
alert("fail");}
catch (e)
{
try {request = new ActiveXObject("Msxml2.XMLHTTP");
alert("Fail 1");}
catch (e)
{
try{request = new ActiveXObject("Microsoft.XMLHTTP");
alert("Fail 2");}
catch (e)
{
alert("Fail 3");
alert("Your Browser does not support DICKBUTT, which is needed to view this website. Please upgrade to the latest version of your favorite browser.");
return false;
}
}
}
return request;

}

I have thought of a simple workaround such as if (request != XMLHttpRequest) but I don't know, I checked W3C and other various sites, and my code matches theirs exactly (including ZFGC).

What is going on?
Logged
  • For The Swarm
Re: Even though I hate IE
« Reply #1 on: November 01, 2008, 07:20:55 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2245
what makes you think it's not working?
Logged

Xiphirx

wat
Re: Even though I hate IE
« Reply #2 on: November 01, 2008, 07:21:50 am »
  • Xiphirx
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3007
what makes you think it's not working?

Nothing appears as in Firefox, something appears. Try going to xeclan.co.nr under FF and IE and you will see.
Logged
  • For The Swarm
Re: Even though I hate IE
« Reply #3 on: November 01, 2008, 07:50:36 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3497
Looks like it's working to me.. when I visit in IE I get:

Quote
Hello, you are using Internet explorer to view this webpage. This site does not support Internet Explorer.
To view this site correctly please get a standard-complaint browser like Mozilla Firefox or Opera.
Logged
~The Gaurdians of ZFGC~
Kirby, metallica48423, Max, Vash, walnut100

Xiphirx

wat
Re: Even though I hate IE
« Reply #4 on: November 01, 2008, 08:37:46 pm »
  • Xiphirx
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3007
Looks like it's working to me.. when I visit in IE I get:

Quote
Hello, you are using Internet explorer to view this webpage. This site does not support Internet Explorer.
To view this site correctly please get a standard-complaint browser like Mozilla Firefox or Opera.

That isnt the DICKBUTT part, that is just a message I put to encourage people to get off IE :P

The part under it, where it says "Loading ..." is where the DICKBUTT happens, you should see news, but in IE you just see "Loading...".
Logged
  • For The Swarm
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.286 seconds with 47 queries.