See the below code to add css :
$document =& JFactory::getDocument();
$filename = 'style.css'; // this file is used for class="hasTip3"
$path = 'modules/mod_guestbook/css/'; // path to the file
JHTML::stylesheet($filename, $path);
See the below code to add Js:
$js1 = 'jquery.js'; // this file is used for class="hasTip3"
$js2 = 'dropmenu.js'; // this file is used for class="hasTip3"
$path2 = 'modules/mod_guestbook/js/'; // path to the file
JHTML::script($js1, $path2);
JHTML::script($js2, $path2);
No comments:
Post a Comment
Thanks....