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


Quick Links:



Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Heal Zelda
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
FINISH RYU
Hurt Dante
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Aaron Avatar
I'm not serious. :P
Gah, sarcasm over the internet! My weakness! :-[
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Aaron Avatar
Oh, and honestly, don't waste your time on CSS.
I am shocked and appalled. CSS is my favorite thing to write on websites. >:(
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
function convertBase(convertFrom, convertTo, convertString){ return parseInt(convertString,convertFrom).toString(convertTo);}

Usage: Use to convert from base 16 to 10, or the other way around. Useful for hex codes, etc.

Example:
var Converted = convertBase(16,10,"ff"); //Converted = "255"
var ConvertedBack = convertBase(10,16,Converted); //ConvertedBack = "ff"
A little open source snippet because not many people I know know about the optional parameters in toString and parseInt.

EDIT: Fixed some typos. :P


Last Edit: Jan 7, 2008 20:39:14 GMT by Tobias
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Array.prototype.copy = function(){
return this.slice(0);
}

Slice takes two parameters, starting index and length, I believe.
Specifying no length goes until it reaches the end of the array.
e = ["r","t"];
r = e.slice(0);
e[0] = "t";
alert(e[0]+r[0]); // Alerts tr
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Err, also happens in FF2 on Windows.
zephix, Mithras
Studio Zero wishes these people a very happy birthday!Events:

Both Lite and Module.
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Back at school, and it's fixed except I now noticed this:
birthday!Events:
:P
(In the Upcoming Events part, V2 Lite and Module, IE6)


Last Edit: May 30, 2007 11:02:16 GMT by Tobias
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
This was for v2, sorry I forgot to say which skin I'm using.
Not sure what happened there, since you said you fixed it. ???


Last Edit: May 25, 2007 12:47:47 GMT by Tobias
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
I'm using IE6. I can't upgrade bcause I'm at school, so I'm not sure about how it is in other browsers.
"Studio Zero would like to welcome Webmasteras the most recent member!"
"We have a grand total of 882members and are still growing!"
"View our latest topic: Now Playing Threadby Kay(Today at 1:02am)."
Just noticed it, not really important, but now that I've seen it, it'll irk me to no end. :)
I put the last one in blue because I wasn't sure if it was intentional or not.
Now that I see that the missing space is always after a var, I think it might have to do with how IE6 Handles Whitespace. (I've never really looked at the differences between browsers, so I'm not sure.)
Anyway, just noticed it and thought I'd notify you guys. ;)

#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
cddude229 said:
tobias said:
This should fix the Search Box for Linux in v2, Chris:
if(navigator.platform.indexOf("Linux")!=-1){
var s = document.getElementById('search_section');
s.style.marginRight="-10px";
s.size="15";
}

I take it you know where it would go. ;D
Do I still need to pay? ::)


Added. :P I'll wait for someone with Linux to tell me if it aligned it properly though.
I have Linux. :P And I got Arty to test it too to make sure it didn't depend on resolution.
See?


Last Edit: May 26, 2007 1:54:10 GMT by Tobias
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
This should fix the Search Box for Linux in v2, Chris:
if(navigator.platform.indexOf("Linux")!=-1){
var s = document.getElementById('search_section');
s.style.marginRight="-10px";
s.size="15";
}

I take it you know where it would go. ;D
Do I still need to pay? ::)


Last Edit: May 26, 2007 0:08:04 GMT by Tobias
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Congrats! :)
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
Whoooooo!
Ownage
We're open again.
Still with 274 Skins and 170 Codes, and great tutorials. We're trying to go more to the community side of things, too, so we're not just for designers now!


Last Edit: Oct 5, 2007 9:53:19 GMT by Tobias
#intj (Mastermind)^

Tobias

Tobias Avatar

***
Dedicated Member

182


November 2006
I'd read about that, but never could figure out the syntax for JS.
#intj (Mastermind)^