Scusa, avevo scritto id="#show" al posto di id="show"
Per fare comparire una pagina esterna ( immagino ti stia riferendo ad un iframe ) basta usare questo codice:
codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function(){ $("#show").click(function () { $("#myframe").show("slow"); }); }); </script> <style> p { background:yellow; } </style> </head> <body> <button id="show">Show it</button> <iframe id="myframe" src="http://www.google.it" style="display:none; width:500px; height:200px;" /> </body> </html>


Rispondi quotando