Deskripsi
Berikut adalah cara mengembed file external dari css dan js.
Howto
1. You must have .css and js file.
2. - your css file path : webroot\CakeApp\app\webroot\css\[create or copy here]
- your script file path : webroot\CakeApp\app\webroot\js\[create or copy here]
3. Add this script to your view
<?php echo $this->Html->css('style'); // no need .css ?>
<?php echo $this->Html->script('jquery-1.8.2'); // no need .js?>
4. now your script and css will connect to view
Post a Comment
Harap gunakan bahasa yang baik dan sopan, terima kasih