-
Book Overview & Buying
-
Table Of Contents
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
Menus based on DHTML layers and JavaScript can be created with the objects TMENU_LAYERS and GMENU_LAYERS. You don't have to know these technologies to do this. Even if you have no experience with this rather complex subject, you can create functional DHTML applications. The two objects are based on TMENU and GMENU respectively and extend their properties.
Before you use these menus, keep in mind that older browsers will have problems displaying them. This is due to their imperfect support of the Document Object Model (DOM). But even current browsers like Opera 7 have their problems with these menus since these browsers work with a newer version of DOM. If you want to use these menus in these browsers in spite of that, you have to modify the layer functions. Search for the following code in the \media\scripts\jsfunc.layermenu.js file:
this.x= (bw.ns4||bw.op)?this.css.left:this.el.offsetLeft; this.y= (bw.ns4||bw.op)?this.css.top:this.el.offsetTop; this.height=(bw.ie4||bw.ie5||bw...
Change the font size
Change margin width
Change background colour