Friday 15 January 2010

jquery - colorbox: Sending user to another page -



jquery - colorbox: Sending user to another page -

i have colorbox data:

<a href="#div1">how select gift?</a> <div style="display:none"> <div class="" id="div1"> here text w/ <a href="to new page">foo</a> </div> </div> </div> <script type="text/javascript"> $('.div1').colorbox({inline:true, width:"50%"}); </script>

when user clicks on "foo", want user directed page "to new page" right colorbox seems collapse. what's right way prepare this?

thanks

not sure if best answer, here did , works:

<a href="to new page" class="external">foo</a> <script type="text/javascript"> $('.external').click() { location.href=this.getattribute('href'); homecoming false; })

jquery html colorbox

No comments:

Post a Comment