ciao non sono molto pratico di javascript e dovrei modificare del codice
io dovrei far apparire al posto di questo testo
un immagigine
per favore potreste dirmi come si fa
ciao gigi
Codice:
<script language="JavaScript">
<!--
// This is the function that will open the
// new window when the mouse is moved over the link
function open_new_window()
{
new_window = open("","hoverwindow","width=300,height=200,left=500,top=200");
// open new document
new_window.document.open();
// Text of the new document
// Replace your " with ' or \" or your document.write statements will fail
new_window.document.write("<html><title>JavaScript New Window</title>");
new_window.document.write("<body bgcolor=\"#FFFFFF\">");
new_window.document.write("This is a new html document created by JavaScript ");
new_window.document.write("statements contained in the previous document.");
new_window.document.write("<br>");
new_window.document.write("</body></html>");
// close the document
new_window.document.close();
}
// This is the function that will close the
// new window when the mouse is moved off the link
function close_window()
{
new_window.close();
}
// -->
</script>
<a href="#" onMouseOver="open_new_window()" onMouseOut="close_window()">Anteprima</a>
io dovrei far apparire al posto di questo testo
Codice:
new_window.document.write("This is a new html document created by JavaScript ");
per favore potreste dirmi come si fa
ciao gigi