Willy Astor “Stern des Suedens” Welche Münchner Fußballmannschaft kennt man auf der ganzen Welt? Wie heißt dieser Klub, der hierzulande die Rekorde hählt? Wer hat schon gewonnen, was es jemals zu gewinnen gab? Wer bringt seit Jahrzenten unsre Bundesliga voll auf Trap? Refrain: FC Bayern, Stern des Südens, du wirst niemals untergehn, weil wir in [...]
Monthly Archives: April 2010
DOCTYPE!’s
HTML 4.01 Strict, Transitional, Frameset <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> XHTML 1.0 Strict, Transitional, Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 [...]
getElementsByClassName function
Since there doesn’t exist something like a getElementByClassName function, I just tried the js prototype library which has a getElementsByClassName function. You can download it here. Include it in the head like this: <head> <script type="text/javascript" src="prototype.js"></script> </head> Then use it like this: var test = document.getElementsByClassName("test"); the variable test will be an array.
Make a linkable div
A div can be made into a link very simple using javascript using this code: <div onclick="location.href='http://www.domain.com';" style="cursor:pointer;">CLICK ME</div> Here everything that is inside this div will be clickable and will poing to http://www.domain.com. Using cursor: pointer dhe mause will change when it is over the div, just like in a real link.
Phpfreechat Albanian language
I just translated phpfreechat version 1.2 into the albanian language. Feel free to download and use. Installation: 1. DOWNLOAD the language file. 2. extract it into /i18n/ folder 3. in your chat file (suppose it is chat.php) add the following code in the beginning: $params['language'] = ‘sq_AL’; Enjoy!
What are Design Patterns?
“Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice” by Christopher Alexander, architect (the guy in the [...]