jquery - Colorbox fill all framesets -
i've been looking way solve problem can't seem find it... have following index.html frameset:
<html> <head> <script src="js/jquery-1.9.1.js"></script> <script src="js/jquery-ui-1.10.3.custom.min.js"></script> <script type="text/javascript" src="js/jquery.colorbox.js"></script> <link href="js/colorbox.css" rel="stylesheet" type="text/css" media="screen" /> <script> function mycallforcolorboxfunction(html){ alert('done'); $.colorbox({title:'aniversariantes',inline:true, href:"#colorbox_content", width:"600px", height:"500px"}); } </script> </head> <frameset rows="100,70,*" frameborder="1" framespacing="2"> <frame src="cre.html" name="superior" marginwidth="0" frameborder="0" marginheight="0" noresize scrolling="no"> <frame src="menu.html" name="menu" marginwidth="0" frameborder="0" marginheight="0" noresize scrolling="no"> <frame src="principal.html" name="corpo" marginwidth="0" frameborder="0" marginheight="0" noresize scrolling="yes"> </frameset> <noframes> <body> <div style="display:none"> <div id="colorbox_content" style="padding:10px; background:#fff;"> content here </div> </div> </body> </noframes> </frameset> </html>
what i'm trying open "corpo" frame colobox fill 3 frames it's filling "corpo", i've made few tests , seems can execute functions on index.html "corpo" using exemplo top.mycallforcolorboxfunction() nothing happens not error, if there no display colorbox.
could help? yours, diogo
Comments
Post a Comment