Ir para conteúdo

POWERED BY:

Arquivado

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

fabiodurgante

[Resolvido] iframe funciona no IE mas nao no firefox

Recommended Posts

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Bloco Na Parceria</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />


<script language="JavaScript" type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>


    <script type="text/javascript">
$(function(){
 $('iframe').load(function(){
  $(this).contents().find('div#gallery > ul > li a').lightBox();
 });
});
    </script>

</head>


<body topmargin="0" > 
<iframe id="iframe" name="iframe" src="teste_naparceria_cabecalho.htm" vspace="0" hspace="0" width="100%" height="200" hspace="0"  frameborder="0" scrolling="no"  marginheight="0" marginwidth="0" > </iframe>
<iframe name="Profile" id="Profile" src="teste_naparceria_mainframe.htm" vspace="3" hspace="0" width="100%" height="385" hspace="0"  frameborder="0" scrolling="auto"  marginheight="0" marginwidth="0" >

</body>
</html>

essa ai minha pagina princial com 2 iframes o primeiro é o cabeclaho e o segundo o principal onde todos as outras paginas vai abrir sempre nesse principal segue a pagina principal, no IE funciona porem no firefox nao abre

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    


<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Simple Slide Panel</title>

<script language="javascript">

function NovaJanela(){
alert("chegou aqui")
}
//-->
</script>

<script> function loader(){
 document.getElementById("loader").style.display="none" 
 } 
 </script>

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">



    
$(document).ready(function(){
	$(".btn-slide").click(function(){            
	//$("#panel").slideToggle("slow");
	//$("#panel").toggle("slow");
                
        //        $("#panel").slideUp("slow")
	//  $("#panel").slideDown("slow")

  $('#panel').animate({height: "10",opacity : 0.2},1200)    
          $('#panel').animate({width: "10",opacity : 0.7}, 1200)


  
          
        $('#panel').animate({height: "335",opacity : 0.2},1200)    
          $('#panel').animate({width: "885",opacity : 0.7}, 1200)
            
      //      $('#panel').animate({opacity : 0.3});

		$(this).toggleClass("active"); return false;
	});		 
});


$(window).load(function() {
//  $('#panel').animate({height: "10",opacity : 0.2},1200)    
         $('#panel').animate({width: "10",opacity : 0.8}, 1)
		  
        $('#panel').animate({width: "885",opacity : 0.8}, 1300)
            .animate({height: "335",opacity : 0.7},1300)
       
		$(this).toggleClass("active"); return false;

}
)

  

</script>


<style type="text/css">
body {
    
	margin: 0 auto;
	padding: 0;
	width: 885px;/* aqui altera tamanho do quadro quando abre*/
	font: 75%/120% Arial, Helvetica, sans-serif;
	
}
a:focus {
	outline: none;
}
#panel {
		background: #C4C4C4;
	
	height: 5px;/* aqui altera espessura do quadro que abre*/

	display: none;
 
      
}
.slide {

	padding:0;
	 margin:0;/* aqui altera espaco entre linha azul com o quadro que abre*/
    border-top: solid 4px #15276F;
	background: url(btn-slide.gif) no-repeat center top;
       
        
}
.btn-slide {
    

	background: url(white-arrow.gif) no-repeat right -50px;
	text-align: center;
	width: 144px;
	height: 31px;
	padding: 10px 10px 0 0;
	margin: 0 auto;
	display: block;
	font: bold 120%/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}
.active {
	background-position: right 12px;
}

</style>
   
</head>

<body onload='loader()'>

<div id="loader" style="position:fixed; width:110px; height:24px; left:45%; top:18%; opacity: 0.65;" >  <img src="images/loading.gif"   /> Carregando...  
 </div>

<div id="panel">
<iframe src='http://selos.climatempo.com.br/selos/MostraSelo.php?CODCIDADE=3125&SKIN=azul' align="right" scrolling='no' frameborder='150' width=150 height='170' marginheight='0' marginwidth='0'></iframe>


<iframe src='images/np.JPG' align="right" scrolling='no'  frameborder='0' vspace="30" width=245 height='130' marginheight='0' marginwidth='0' hspace=300" > </iframe>


<iframe src='images/copo.swf' align="right" vspace="205" hspace="4" frameborder='0' width='65' height='80' marginheight='0' marginwidth='0'></iframe>


<td width="1" valign="middle"><table border="0"  cellpadding="0"  cellspacing="1" style="
border:solid #15276F 1px">

        <tr>
          <td bgcolor="#15276F" height="18" style="color:#FFFFFF"><center>
              <b>Na-Parceria</b>
          </center></td>
        </tr>
        <tr>
          <td>
            <marquee id="scroller" scrollamount="3" direction="up" onMouseOver="scroller.scrollAmount='1';scroller.style.cursor='default'" onMouseOut="scroller.scrollAmount='3'" style="width:110px; height:170px">
            <center>
              <!-- Begin.noticia1 //-->
              <table border="1"   ccellpadding="1"  cellspacing="1" width="110">
                  <td height="5"  valign="top" bgcolor="#FFFFFF" class="title"> Bloco Na Parceria<br>
			        </tr>            
			
                <tr>
				
                  <td height="50" class="content" valign="top"> Fotos Antigas Do Grito e Aniversarios </td>
                </tr>
       
			    <tr>
				
                  <td height="5" class="content" valign="top"> Fotos Antigas Do Grito e Aniversarios </td>
                </tr>
            </center>
            </marquee>
       
	   	   
    </table>
        <iframe src='images/copo.swf' align="left" hspace="810" vspace="7" frameborder='0' width='65' height='80' marginheight='0' marginwidth='0'></iframe>

<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

<table width="885"  border="3" bordercolor="#FFFFFF" ccellpadding="5"  cellspacing="5" >
  <tr>
    <th scope="row"><div align="left">
        </div>
	
<script type="text/javascript">

var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado")
var montharray=new
Array("Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro")
document.write("<small> <font color='15276F' face='Arial' size='2'><b>"+dayarray[day]+", "+daym+" de "+montharray[month]+" , "+year+"</b></font></small>")
        </script>
		
   </div></td>
    <td><div align="left"><a href="http://www.mhost2.net" target="blank" title="Tenha o seu também!!!">Acessos: <b>
        <script src="http://www.mhost2.net/contador/contadortexto.php?id=11188087472232"></script>
    </b></a></div></td>
  </tr>
</table>

</div>

<p class="slide"><a href="#" class="btn-slide">Slide Panel</a></p>

</body>
</html>

nao sei se é devido ao <style type="text/css"> que o firefox nao abre e alguns IE tambem nao executa

 

alguem ajuda ai

Compartilhar este post


Link para o post
Compartilhar em outros sites

o problema é no menu em cima abre tudo errado, no IE8 so quero que o swf sai centralizado se alguem souber ajuda ai

 

<body bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0">
<table width="100%" > 
<table align="center" >
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="985" height="200" align="top">
  <param name="flash_component" value="ImageViewer.swc">
  <param name="movie" value="cabecalho.swf">
  <param name="quality" value="high">
   <param name="wmode" value="opaque" />
  <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">
  <embed src="cabecalho.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" align="baseline" width="999" height="218"></embed>
</object>
</table>
</table>
</body>

Compartilhar este post


Link para o post
Compartilhar em outros sites

consegui fazendo assim a maneira masi facil possivel que ja vi e funcionou no IE e no firefox

 

<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="983" height="199" align="top">
  <param name="flash_component" value="ImageViewer.swc">
  <param name="movie" value="cabecalho.swf">
  <param name="quality" value="high">
   <param name="wmode" value="opaque" />
  <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">
  <embed src="cabecalho.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" align="baseline" width="999" height="218"></embed>
</object>
</center>

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.