Jump to content
Fórum Script Brasil
  • 0

Onclick >> Window.open >> Erro



To usando

<a href="javascript:" onclick="window.open('wall_popup.htm?foto=800x600/ST Papel 01.jpg','','width=520 height=440');">800x600</a>

p/ abrir a página abaixo como um popup


<META http-equiv=Content-Type content="text/html; charset=windows-1252">

<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>

<BODY bgColor=#000000>

<script language="Javascript1.2" src="js/blockselect.txt"></script>

<TABLE height="100%" width="100%" align=center summary="">



    <TD vAlign=center align=middle>

      <script language=JavaScript type=text/javascript>


valor = window.location.search.length;


document.write('<img src="' + foto + '" style="border: #FF6600 Solid 1px; WIDTH: 480px; HEIGHT: 360px"><br><P align=center><FONT face=Verdana color=#ffffff size=1>O wallpaper está reduzido.<br>Após ser salvo em seu computador ele ficará no tamanho original.</FONT></P>');





O problema é q quando abre o popup a página principal para de carregar todas as imagens que ainda não foram carregadas...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...