I am trying to use a simple thickbox as in here: http://twostepmove.com/modules/mod_form/tmpl/demo/main_form.php
but when putting the same exact code 开发者_如何转开发in a joomla module the link doesn't respond at all. the code is:
<a href="#TB_inline?height=155&width=400&inlineId=modalWindow" class="thickbox">Click here
for an autocomplete inside a thickbox window.</a> (this should work even if it is beyond
the fold)
<div id="modalWindow" style="display: none;">
<p>
...
</p>
</div>
and as I said it doesn't work at all when put inside a joomla module. should I install some sort of plugin or something like that? thanks.
There are a lot of jQuery plugins for Joomla, or you can place jQuery script in the index.php file manually. Be careful not to mix with other javascript frameworks, you can get a conflict
Is there are reason you don't want to use the built in lightbox? You can add class="modal" to a link and the built in lightbox work without any extensions.
精彩评论