I add the following Javascript to my Joomla page and I get a blank screen on my homepage. Please help cek my syntax. Thanks. <?php function changeCSS() { $javascript .= 'document.getElementById("container").style.height=1000'; return $javascript; } ?> <?php $doc =& JFactory::getDocument(); $doc->addScriptDeclaration( changeCSS() ); ?> |
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.