Welcome Guest, Not a member yet? Register   Sign In
Get jQuery's Thickbox iFrame/div to work in CodeIgniter?
#8

[eluser]ppardo[/eluser]
[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.

Code:
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>
[/quote]

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



Theme © iAndrew 2016 - Forum software by © MyBB