Ir para conteúdo
Fórum Script Brasil
  • 0

Janela - Poup Up


Guest ANNE

Pergunta

4 respostass a esta questão

Posts Recomendados

  • 0

No DW é só você ir até a janela Comportamentos clicar em + e clicar em Abrir Janela no navegador.

Se não tiver esta opção você pode usar:

LINK PARA ABRIR POPUP 1

<a style="cursor: n-resize; font-weight: 700" onclick="window.open('http://www.eu.com','Janela','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'); return false;" href="#">Clique 
Aqui</a></font></i></p>
LINK PARA ABRIR POPUP 2
<script language="JavaScript">

function OPEN(URL) {

var desquerda = 160;
var dtopo = 160;
var largura = 400;
var altura = 250;

window.open(URL,'SITE', height='+height+', 'width='+largura+', scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no, top='+topo+', left='+desquerda+',');

}

</script>

<a href="javascript:OPEN('AJUDA.HTML');">SOCORRO</a> 
<script language="JavaScript">

function abrir(URL) {

   var width = 500;
   var height = 400;

   var left = 99;
   var top = 99;

   window.open(URL,'SITE', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no');

}

</script>
ABRIR POP UP AUTOMÁTICA
<HEAD><script language="JavaScript">
<!--
function nirvana_positionWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script></HEAD>
<body bgcolor="#FFFFFF" text="#000000" onLoad="nirvana_positionWindow('URL','NOME','width=500,height=500,left=55')">

Link para o comentário
Compartilhar em outros sites

  • 0
Guest - Jack -

Essa aqui é mais legal

<script language="JavaScript" type="text/JavaScript">

<!--

function MM_reloadPage(init) { //reloads the window if Nav4 resized

if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

}

MM_reloadPage(true);

function MM_timelinePlay(tmLnName, myID) { //v1.2

//Copyright 1997, 2000 Macromedia, Inc. All rights reserved.

var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;

if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time

tmLn = document.MM_Time[tmLnName];

if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID

if (myID == tmLn.ID) { //if Im newest

setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);

fNew = ++tmLn.curFrame;

for (i=0; i<tmLn.length; i++) {

sprite = tmLn;

if (sprite.charAt(0) == 's') {

if (sprite.obj) {

numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];

if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range

keyFrm=1;

for (j=0; j<sprite.values.length; j++) {

props = sprite.values[j];

if (numKeyFr != props.length) {

if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];

else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];

} else {

while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;

if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {

if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];

else sprite.obj[props.prop2][props.prop] = props[keyFrm-1];

} } } } }

} else if (sprite.charAt(0)==b' && fNew == sprite.frame) eval(sprite.value);

if (fNew > tmLn.lastFrame) tmLn.ID = 0;

} }

}

function MM_initTimelines() { //v4.0

//MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.

var ns = navigator.appName == "Netscape";

var ns4 = (ns && parseInt(navigator.appVersion) == 4);

var ns5 = (ns && parseInt(navigator.appVersion) > 4);

document.MM_Time = new Array(1);

document.MM_Time[0] = new Array(1);

document.MM_Time["Timeline1] = document.MM_Time[0];

document.MM_Time[0].MM_Name = "Timeline1";

document.MM_Time[0].fps = 15;

document.MM_Time[0][0] = new String("sprite");

document.MM_Time[0][0].slot = 1;

if (ns4)

document.MM_Time[0][0].obj = document["Layer1"];

else if (ns5)

document.MM_Time[0][0].obj = document.getElementById("Layer1");

else

document.MM_Time[0][0].obj = document.all ? document.all["Layer1"] : null;

document.MM_Time[0][0].keyFrames = new Array(1, 20, 50, 155);

document.MM_Time[0][0].values = new Array(4);

if (ns5)

document.MM_Time[0][0].values[0] = new Array("665px", "653px", "642px", "631px", "619px", "608px", "596px", "585px", "574px", "562px", "551px", "540px", "529px", "518px", "508px", "498px", "488px", "478px", "468px", "459px", "453px", "447px", "441px", "436px", "431px", "426px", "421px", "416px", "412px", "407px", "403px", "399px", "396px", "392px", "388px", "385px", "382px", "379px", "376px", "373px", "370px", "368px", "365px", "363px", "361px", "358px", "356px", "354px", "352px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px", "350px");

else

document.MM_Time[0][0].values[0] = new Array(665,653,642,631,619,608,596,585,574,562,551,540,529,518,508,498,488,478,468,459,453,447,441,436,431,426,421,416,412,407,403,399,396,392,388,385,382,379,376,373,370,368,365,363,361,358,356,354,352,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350);

document.MM_Time[0][0].values[0].prop = "left";

if (ns5)

document.MM_Time[0][0].values[1] = new Array("107px", "111px", "114px", "118px", "122px", "126px", "129px", "133px", "137px", "140px", "144px", "147px", "150px", "153px", "156px", "159px", "161px", "163px", "164px", "165px", "165px", "165px", "165px", "164px", "163px", "162px", "161px", "160px", "158px", "157px", "155px", "153px", "151px", "150px", "148px", "146px", "145px", "143px", "141px", "140px", "138px", "136px", "135px", "134px", "132px", "131px", "130px", "129px", "128px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px", "127px");

else

document.MM_Time[0][0].values[1] = new Array(107,111,114,118,122,126,129,133,137,140,144,147,150,153,156,159,161,163,164,165,165,165,165,164,163,162,161,160,158,157,155,153,151,150,148,146,145,143,141,140,138,136,135,134,132,131,130,129,128,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127);

document.MM_Time[0][0].values[1].prop = "top";

if (!ns4) {

document.MM_Time[0][0].values[0].prop2 = "style";

document.MM_Time[0][0].values[1].prop2 = "style";

}

document.MM_Time[0][0].values[2] = new Array("inherit","inherit","inherit","hidden");

document.MM_Time[0][0].values[2].prop = "visibility";

if (!ns4)

document.MM_Time[0][0].values[2].prop2 = "style";

if (ns5)

document.MM_Time[0][0].values[3] = new Array("300px", "293px", "286px", "279px", "272px", "265px", "258px", "252px", "245px", "238px", "231px", "224px", "217px", "211px", "204px", "197px", "190px", "183px", "176px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px", "170px");

else

document.MM_Time[0][0].values[3] = new Array(300,293,286,279,272,265,258,252,245,238,231,224,217,211,204,197,190,183,176,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170);

document.MM_Time[0][0].values[3].prop = "width";

if (!ns4)

document.MM_Time[0][0].values[3].prop2 = "style";

document.MM_Time[0].lastFrame = 155;

for (i=0; i<document.MM_Time.length; i++) {

document.MM_Time.ID = null;

document.MM_Time.curFrame = 0;

document.MM_Time.delay = 1000/document.MM_Time.fps;

}

}

//-->

</script>

onLoad="MM_timelinePlay('Timeline1')"

<div id="Layer1" style="position:absolute; left:665px; top:107px; width:300px; height:200px; z-index:1; visibility: inherit;">

Olá enfermeira!</div>

Link para o comentário
Compartilhar em outros sites

  • 0

<HEAD><script language="JavaScript">

<!--

function nirvana_positionWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//-->

</script></HEAD>

<body bgcolor="#FFFFFF" text="#000000" onLoad="nirvana_positionWindow('URL','NOME','width=500,height=500,left=55')">

ONDE COLOCO O NOME DA FIGURA OU PAGINA QUE QUERO QUE ABRA AKI.....?

VALEU

Link para o comentário
Compartilhar em outros sites

  • 0

<HEAD><script language="JavaScript">

<!--

function nirvana_positionWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//-->

</script></HEAD>

<body bgcolor="#FFFFFF" text="#000000" onLoad="nirvana_positionWindow('URL','NOME','width=500,height=500,left=55')">

ONDE COLOCO O NOME DA FIGURA OU PAGINA QUE QUERO QUE ABRA AKI.....?

onde esta em vermelho é onde você deve alterar!

URL é o endereço da página a ser aberta

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,3k
×
×
  • Criar Novo...