How to add CSS, javascript, IMages to Codeigniter

Share on :
I previously discussed about How to Use CodeIgniter Easily, from previous articles we've been getting a little technique to run CodeIgniter. This occasion I will try to share about how to add javascript files, css or images in codeigniter, This article will also discuss how to put css , javasrcipt, drawing to the main page in codeignitur. several steps that must be executed..

  • The first open the codeigniter that you've downloaded, then create a directory on pages outside of codeigniter file, silahan see in the picture below
  • In the picture above I created a directory named "public" in public directory please input files in addition to file format. php like css, javascript or image see the following picture :
  • Next we will try to edit the main page to provide links css, image or JS that you created earlier to the main page. See the following picture :

<link href="http://localhost/ajonk1/public/css.css" 

<td width="233" valign="top"><img src="http://localhost/ajonk1/public/images/index_03.gif" 
src="http://localhost/ajonk1/public/images/index_04.gif" 



0 comments on How to add CSS, javascript, IMages to Codeigniter :

Post a Comment and Don't Spam!

 
Protected by Copyscape Duplicate Content Software
Related Posts Plugin for WordPress, Blogger...