Snippets

From TYPO3Wiki

Jump to: navigation, search

<< Back to Main Page

[edit]

On this page we have links to various Typo3 snippet categories. Please choose a category (or make a new one) before contributing code snippets. Please use the Snippet Template when adding new snippets. Thank you!

Menues

Code snippets for making different kinds of menues.

User TypoScript

Page TypoScript

Extensions


Snippet title

</table>
 <script language="JavaScript">
 <!--
 
 // ==========================
 // (C) 2000 by CodeLifter.com
 // http://www.codelifter.com
 // Free for all users, but leave in this  header
 
 function doTheClock() {
    window.setTimeout( "doTheClock()", 1000 );
    t = new Date();
    if(document.all || document.getElementById){
       document.title = t.toString();
    }else{   
       self.status = t.toString();
    }
 }
 
 doTheClock()
 
 //-->
 </script>
Script: Dynamic Title Bar Date-Time Clock
Function: Shows the date and time dynamically in the browser title bar in IE4 and later and NS6. (Older browsers show the date and time in the status bar.) </tr>
Keywords: Javascript, title, bar, clock, dynamic
Author: etLux - after Microsoft
Instruction:   This is a simple one. Just paste the following script into the <head> ... </head> of your page. There are no other set-ups needed.
Personal tools