

Onload No Dreamweaver
Started By edmartino, 23/03/2005, 16:08
3 replies to this topic
#1
Posted 23/03/2005, 16:08
Coloquei um comando no Dreamweaver de onLoad open browser window. Tudo para ficar automático e baseado em comandos para Internet Explorer 4 ou superior. Acontece que o comando só está funcionando no Safari, já no I E e no Netscape não rola. O que pode estar errado?

EddieMac
#2
Posted 24/03/2005, 11:03
poste o código da sua pagina ai que podemos ajudar melhor...
#3
Posted 26/03/2005, 18:23
vc quer abrir uma janela ao carregar a página?
pq num usa um script para isso?
pq num usa um script para isso?
makerup comunicação e marketing
#4
Posted 31/03/2005, 15:17
Coloquei até um botão de entre para quando não funciona.
O código é o seguinte:
<html>
<head>
<title>CB</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<link rel="shortcut icon" href="/favicon.ico">
</head>
<body bgcolor="#FFFFCC" link="#990000" vlink="#990000" alink="#990000">
<table width="100%" border="0" align="center">
<tr>
<td align="center" valign="middle"><div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macr...rsion=6,0,29,0" width="550" height="350" onload="MM_openBrWindow('index_port.html','CB','width=800,height=550')">
<param name="movie" value="swf/abertura.swf">
<param name="quality" value="high">
<embed src="swf/abertura.swf" quality="high" pluginspage="http://www.macromedi...getflashplayer" type="application/x-shockwave-flash" width="550" height="350"></embed></object>
</div></td>
</tr>
<tr>
<td align="center" valign="middle"><table width="70%" border="0">
<tr>
<td><div align="center" onClick="MM_openBrWindow('index_port.html','CB','width=800,height=550')"><a href="#">Entre</a></p>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
O código é o seguinte:
<html>
<head>
<title>CB</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<link rel="shortcut icon" href="/favicon.ico">
</head>
<body bgcolor="#FFFFCC" link="#990000" vlink="#990000" alink="#990000">
<table width="100%" border="0" align="center">
<tr>
<td align="center" valign="middle"><div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macr...rsion=6,0,29,0" width="550" height="350" onload="MM_openBrWindow('index_port.html','CB','width=800,height=550')">
<param name="movie" value="swf/abertura.swf">
<param name="quality" value="high">
<embed src="swf/abertura.swf" quality="high" pluginspage="http://www.macromedi...getflashplayer" type="application/x-shockwave-flash" width="550" height="350"></embed></object>
</div></td>
</tr>
<tr>
<td align="center" valign="middle"><table width="70%" border="0">
<tr>
<td><div align="center" onClick="MM_openBrWindow('index_port.html','CB','width=800,height=550')"><a href="#">Entre</a></p>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
EddieMac
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)