javascript - open a link in a lightbox -
javascript - open a link in a lightbox -
how can open link view in lightbox? iv tryed demo no luck, ideas?
html:
<a href="http://rightjs.org/ui/lightbox/demo" rel="lightbox" title="loaded link" onclick="loadlightbox();">click</a>
jquery:
function loadlightbox(){ alert( "the link clicked" ); lightbox.load($('http://rightjs.org/ui/lightbox/demo')); }
the link live site live
link fiddle
link lightbox im using.
you need reference right.js well. see jsfiddle.
http://cdn.rightjs.org/right.js
javascript jquery html
Comments
Post a Comment