I'm trying to load an inline container using ibox. Basically it works fine, as long as when calling it, the URL is in the following structure: www.domain.com/likes.php (when clicked it produces www.domain.com/likes.php#inline_container
However if the domain is in the structure www.domain.com/likes/24 due to rewritable URLs, this doesn't work anymore (when clicked it produces www.domain.com/likes/24#inline_container
This is my code:
JS Import:
Expand|Select|Wrap|Line Numbers
- <script type="text/javascript" src="ibox/ibox.js"></script>
Expand|Select|Wrap|Line Numbers
- <div id="inner_content" style="display:none;">
- <div style="background:#52425C;color:#ffffff;border:1px dashed #FFFFFF;padding:15px;margin:15px;">
- <p>Sample text</p>
- </div>
- </div>
Expand|Select|Wrap|Line Numbers
- <li><a href="#inner_content" rel="ibox&width=600&height=410" title="Sample Title!">Create Your Post!</a></li>
Thanks