couldn't show effect using jquery in CodeIgniter2.01? |
[eluser]liren[/eluser]
Hello friends! I read CodeIgniter201\user_guide\libraries\javascript.html,but it don't work until now.I want to use jquery with CodeIgniter2.But I can't controll the view effect by my code. My controller is: Code: $this->load->library('javascript'); My view page: Code: <div class="toggler"> But when I open the url,nothing happened How to use jquery effect with codeigniter? Thanks!
[eluser]patwork[/eluser]
Did you insert javascript tags into page header? http://ellislab.com/codeigniter/user-gui...cript.html Code: <?php echo $library_src;?>
[eluser]liren[/eluser]
[quote author="patwork" date="1302638164"]Did you insert javascript tags into page header? http://ellislab.com/codeigniter/user-gui...cript.html Code: <?php echo $library_src;?> Thank you patwork! I finally find the reason. My web page have many "<div>" code.So the jquery open layer(effect div) don't show normally. even I set these div's z-index to -1 it don't work :( I have to change my web page's div to table if I want to use jquery effect. |
Welcome Guest, Not a member yet? Register Sign In |