Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Nilson Arcuri

Como adiciono essa tag?

Recommended Posts

o flash não aceita href com class, infelizmente, já tive este problema, a não ser que você procure alguma função em flash que faça isso então você apenas chame a função no flash.

 

abraços

Compartilhar este post


Link para o post
Compartilhar em outros sites

o flash não aceita href com class, infelizmente, já tive este problema, a não ser que você procure alguma função em flash que faça isso então você apenas chame a função no flash.

 

abraços

 

 

Putz... e você teria algo parecido para eu poder dar uma olhada... pois nem faço ideia de onde começar... Obrigado pela dica...

Compartilhar este post


Link para o post
Compartilhar em outros sites

Ok, fiz as modificações de acordo com o tutorial adaptando para o lightwindow, porem devo estar deixando algo passar batido...

 

Se alguem puder me ajudar, ficaria muito grato pois ja estou a um tempo em cima só deste item....

Valew galera.....

 

INDEX

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<head>

	<title>Host</title>

	<!-- Meta Tags -->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="robots" content="index, follow" />

	<!-- CSS -->
	<link rel="stylesheet" type="text/css" href="css/default.css" />
	<link rel="stylesheet" type="text/css" href="css/lightwindow.css" />

	<!-- JavaScript -->
	<script type="text/javascript" src="javascript/prototype.js"></script>
	<script type="text/javascript" src="javascript/effects.js"></script>
	<script type="text/javascript" src="javascript/lightwindow.js"></script>

	<script type="text/javascript">
		function showPagina(src)
		{
		function lightwindowDelegate(url,caption) {
			var objLink = document.createElement('a');
			objLink.setAttribute('href',url);
			objLink.setAttribute('rel','lightwindow');
			objLink.setAttribute('title',caption);
			lightwindow.prototype.start(objLink);
			}
	</script>

	<!-- Styles -->
	<style>
	.spanstyle {
		position:absolute;
		visibility:visible;
		top:-50px;
		font-size:10pt;
		font-family:Verdana;
		  font-weight:bold;
		color:black;
	}
	</style>

</head>

<body background="images/back.gif">
<div class="page-top"></div>

	<table width="766"  border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
		<td align="center">
			<br />
			<br />
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="766" height="600">
			  <param name="movie" value="flash/flash.swf">
			  <param name="quality" value="high">
			  <param name="wmode" value="transparent">
			  <param name="allowscriptaccess" value="samedomain">
			  <param ="lightwindow_width=800,lightwindow_height=600">
			  <embed src="images/flash.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="766" height="600"></embed>
			</object>
		</td>
	  </tr>
</table>
</body>
</html>

BOTÂO FLASH

 

on (release) 
{
	getURL("java script:showFoto('hosped.html');", "_self"); 
}

 

Agradeço a ajuda desde de já...

 

Até mais

Compartilhar este post


Link para o post
Compartilhar em outros sites

teste assim:

 

 

 

function lightwindowDelegate(url,caption) {
			var objLink = document.createElement('a');
			objLink.setAttribute('href',url);
			objLink.setAttribute('class','lightwindow');
			objLink.setAttribute('title',caption);
			lightwindow.prototype.start(objLink);
}

 

ou

 

function lightwindowDelegate(url,caption) {
			var objLink = document.createElement('a');
			objLink.setAttribute('href',url);
			objLink.setAttribute('class','lightwindow page-options');
			objLink.setAttribute('title',caption);
			lightwindow.prototype.start(objLink);
}

 

se não for, posta lá no fórum de javaScript que o pessoal de lá pode te ajudar melhor

 

 

[]´s

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.