load external link

i try to load an external link in this way: click here or click here any solutions? thanks
asked Apr 3, 2011 by anonymous

5 Answers

0 votes
Sorry I didn't notice before you are trying to load an external domain. The XMLHttpRequest limits calls to internal domains only. You would have to use an iframe or some client/server-side combination to mimic an AJAX call. An iframe would probably make the most sens if you wanted Google to actually function as apected after the load. You can just pass a width and height and then set the width and height on the iframe code.
answered Apr 3, 2011 by anonymous
0 votes
http://hdalliance.altervista.org/galaxytool/

i use firefox 3.5.7

and don't work :(
answered Apr 3, 2011 by anonymous
0 votes
Do you have a link? Call looks okay.
answered Apr 3, 2011 by anonymous
0 votes
don't work...

the only code that work is

javascript:TINY.box.show('<iframe src=http://google.com></iframe>',0,0,0,1)

but in this way don't fill the box
answered Apr 3, 2011 by anonymous
0 votes
<strong>head: </strong>

<script type="text/javascript" src="tinybox.js"></script>

<script type="text/javascript">

<strong>body:</strong>

<div id="textdiv">

<div class="button" id="textclick1"><strong>My External Link</strong></div>

</div>

<script type="text/javascript">

T$('textclick1').onclick = function(){TINY.box.show('http://www.leigeber.com',1,800,550,1)}

</script>

</div>

<strong>CSS:</strong>(but I think this is standard, just changed the preload image and some colors.

#textdiv {width:100%; margin:0 auto;}

#tinybox {position:absolute; display:none; padding:10px; background:#fff url(/images/preload.gif) no-repeat 50% 50%; border:4px solid #e3e3e3; z-index:2000}

#tinymask {position:absolute; display:none; top:0; left:0; height:100%; width:100%; background:#fff; z-index:1500}

#tinycontent {background:#fff}

.button {font:14px Georgia,Verdana; margin-bottom:10px; padding:8px 10px 9px; border:1px solid #ccc; background:#264770; cursor:pointer}

.button:hover {border:1px solid #bbb; background:#fff;

}

<strong>*</strong> I haven't test it, but this is how I link my blogs. Hope this will do...
answered Apr 3, 2011 by anonymous