Beispiel #1
0
 function getJS_CSS()
 {
     #   $this->jsLink[] = "css/redbox.css";
     $this->jsLink[] = "css/core.css";
     $this->jsLink[] = "css/ical.css";
     $this->jsLink[] = "css/moo.css";
     $this->jsFile[] = "css/core.js";
     $js = new js();
     foreach ($this->jsLink as $l) {
         $js->addLink($l);
     }
     foreach ($this->jsFile as $f) {
         $js->addFile($f);
     }
     $js->addCode("if (self != top) top.location=self.location;");
     $js->addCode('var gaJsHost=(("https:" == document.location.protocol) ? "https://ssl." : "http://www.");' . 'document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));');
     $js->addCode('try { var pageTracker = _gat._getTracker("UA-8444721-1"); pageTracker._trackPageview();} catch(err) {}');
 }
Beispiel #2
0
 function tabs($flavor = "")
 {
     $js = new js();
     $js->addLink("css/tabs.css");
     $this->tabsFlavor = $flavor;
 }