php - ColorBox iframe - requested url /undefined not found on the server -



php - ColorBox iframe - requested url /undefined not found on the server -

i've been trying add together latest colorbox jquery plugin site i'm building, , every time seek load url in ifrae popup next message displayed within iframe (the frame generates - cannot sem pull in content):

>not found > >the requested url /myfolder/undefined not found on server.

i have tried links found locally (e.g. info_page.php) , external links (e.g. http://www.google.com). cannot figure out why isn't loading, code lifted straight colorbox examples.

my html (in head) is:

<!--colorbox--> <link rel="stylesheet" href="css/colorbox.css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script src="javascript/jquery.colorbox.js"></script> <script> $(document).ready(function(){ //examples of how assign colorbox event elements $(".group1").colorbox({rel:'group1'}); $(".group2").colorbox({rel:'group2', transition:"fade"}); $(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"}); $(".group4").colorbox({rel:'group4', slideshow:true}); $(".ajax").colorbox(); $(".youtube").colorbox({iframe:true, innerwidth:425, innerheight:344}); $(".iframe").colorbox({iframe:true, 'href' : $(this).attr('href'), width:"80%", height:"80%"}); $(".inline").colorbox({inline:true, width:"50%"}); $(".callbacks").colorbox({ onopen:function(){ alert('onopen: colorbox open'); }, onload:function(){ alert('onload: colorbox has started load targeted content'); }, oncomplete:function(){ alert('oncomplete: colorbox has displayed loaded content'); }, oncleanup:function(){ alert('oncleanup: colorbox has begun close process'); }, onclosed:function(){ alert('onclosed: colorbox has closed'); } }); //example of preserving javascript event inline calls. $("#click").click(function(){ $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("open window 1 time again , message still here."); homecoming false; }); }); </script> <!--end colorbox-->

and body link utilize generate is:

<a class="iframe" href="http://google.com/">test</a>

the javascript files , css files have not changed ones found on colorbox site.any help appreciated - if more info needed allow me know.

(nb: running site locally) http://jacklmoore.com/colorbox/

what browser using?

colorbox uses ajax load content dynamically , many browsers prevent action implementation of security policy. developing locally can unintentionally result in prohibited case.

things consider:

do see behavior in browsers? can install project on true remote server?

ps. sorry isn't "answer" in true sense...

php javascript jquery iframe colorbox

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -