• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get jQuery's Thickbox iFrame/div to work in CodeIgniter?

[quote author="blasto333" date="1224188282"]I modified thickbox version 3.1 to work with Codeigniter out of the box. Instead of passing the parameters such as width and height using the query string, you can simply append them to the url using the following format. Download the attached files to try it out.

echo anchor("customers/view/width:400/height:400/modal:true","View Customers",array('class'=>'thickbox'));
//<a href="http://www.somesite.com/index.php/customers/view/width:400/height:400/modal:true" class="thickbox">View Customers</a>

I've tried your solution, but i cannot get the box open, whenever I click the thickbox link I get the controller/view result instead of the popup box with the controller/view result inside.

At least is much than the simple thickbox.js which i couldn't make it work at all.

Do you have any idea of what could be happening?

Thanks in advance.

Messages In This Thread
Get jQuery's Thickbox iFrame/div to work in CodeIgniter? - by El Forum - 03-14-2009, 04:50 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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