Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

acoolie
Guest
Yeah, it's not Perl. Good guess though.

Nate

Nate Avatar

**
Official Member

85


July 2007
Acoolie: Actionscript?

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
nate said:
Acoolie: Actionscript?

no =P

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005
acoolie: if its not perl it must be cgi or pear... thats the only things i can think of

ok this should be easy but its a giggle lol


function testbrowser(){
var x = navigator;
var b = x.appName;

if(b == "Microsoft Internet Explorer") {
alert('You are currently surfing using an IE based browser, you really should switch to FireFox')
var getit = confirm('Download firefox?');
if(getit ==true) {
location.href='http://www.ie7.com';
}
if(getit == false){
alert('That wasn\'t the answer i was looking for... i\'m becoming annoyed...');
var striketwo = confirm('Try again? download firefox?');
if(striketwo == true){
location.href='http://www.ie7.com';
}
if(striketwo == false){
alert('RIGHT THATS IT I AM PISSED OFF NOW');
location.href='http://www.ie7.com';
}
}
}
}



Last Edit: Mar 30, 2006 4:58:42 GMT by Llanilek

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
you can only post a code when you've guessed the language and what the code does correctly.
And It's not cgi or pear

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
I wanna say C or C++, but I have no clue. :P

Nate

Nate Avatar

**
Official Member

85


July 2007
I know it but don't wanna post it cause I cheated XD

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
blah. It's Ruby and it prints out "Peter is a n00b" 5 times.

anyone can take my spot to post a code. :)

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005

function testbrowser(){
var x = navigator;
var b = x.appName;

if(b == "Microsoft Internet Explorer") {
alert('You are currently surfing using an IE based browser, you really should switch to FireFox')
var getit = confirm('Download firefox?');
if(getit ==true) {
location.href='http://www.ie7.com';
}
if(getit == false){
alert('That wasn\'t the answer i was looking for... i\'m becoming annoyed...');
var striketwo = confirm('Try again? download firefox?');
if(striketwo == true){
location.href='http://www.ie7.com';
}
if(striketwo == false){
alert('RIGHT THATS IT I AM PISSED OFF NOW');
location.href='http://www.ie7.com';
}
}
}
}


Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Javascript, and it does nothing cause its never called. :P

But what it would do is give them two tries to get Ff if they're using IE.

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005
then what would it do? lol

acoolie
Guest
crazyj said:
blah. It's Ruby and it prints out "Peter is a n00b" 5 times.

anyone can take my spot to post a code. :)


>_>

Also, CGI and Pear aren't even languages =P

Anyways, Perl is the best guess. Ruby is basically an extension on Perl.

Nate

Nate Avatar

**
Official Member

85


July 2007
Then it would redirect them to IE.

function misfits(clash){
var casualties = document.getElementById(clash);
var sham69 = none;
if(casualties.style.display==sham69){
casualties.style.display="";
} else{
casualties.style.display=sham69;
}


Last Edit: Apr 3, 2006 4:37:38 GMT by Nate

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Nate, that'd error out like hell. :P

And it'd redirect them to ie7.com, which is an ad site for FF. :P

Nate

Nate Avatar

**
Official Member

85


July 2007
OK tested this one :P

function misfits(clash){
var casualties = document.getElementById(clash);
if(casualties.style.display == "none"){
casualties.style.display = "";
} else{
casualties.style.display = "none";
}
}


newBookmarkLockedFalling