• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter and not work css and jQuery. why?

#1
[eluser]SaSa[/eluser]
hello
i use CodeIgniter but not work css and jQuery to it. why?
jquery library is before any other jquery code
see for yourself:http://binboy.gigfa.com/ci/index.php/order

#2
[eluser]cideveloper[/eluser]
your jquery is loading fine on the pages. The scroll works. Where is your order.css file located? Your page is looking for it in ci/assets/css/order.css but the file is not there.
Your jquery file is located in ci/assets/js/jquery-1.4.3.min.js for example and it is found.

#3
[eluser]CroNiX[/eluser]
Yes, http://binboy.gigfa.com/ci/assets/css/order.css produces 404 error

#4
[eluser]tomcode[/eluser]
1. You might want to use Firefox with the HttpFox extension for testing, very nice in situations like Yours

2. With CodeIgniter You need to use absolute URL's for Your assets, see the URL helper method base_url()

#5
[eluser]danmontgomery[/eluser]
[quote author="tomcode" date="1293729161"]1. You might want to use Firefox with the HttpFox extension for testing, very nice in situations like Yours

2. With CodeIgniter You need to use absolute URL's for Your assets, see the URL helper method base_url()[/quote]

Or use the <base> tag


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.