Jump to content


princesasp

Member Since 15/03/2009
Offline Last Active 22/07/2009, 12:07
-----

Topics I've Started

Float Ie7 Imagens Encavalam (overlap)

22/07/2009, 12:06

Olá Pessoal,

Estou usando um carousel no layout, o problema é q ele funciona perfeitamente no firefox, safári, e IE6 e 8, mas no IE7 as imagens encavalam (overlap), pesquisei na net e descobri que deve ser um problema no CSS (float), mas ainda não sei o q devo acrescentar para q seja lido pelo IE7. Segue abaixo código e área destacada na imagem com overlap. Agradeço se alguém puder me dar uma luz!

Posted Image

PÁGINA HTML INDEX

<html>
<head>

#featured .arthemia-carousel {
	height: 200px;

	}
	
	#cat-17 { border-top:8px solid #DD127B; }
	#cat-17:hover, #cat-17 a:hover  {background:#DD127B; color:#333; }
	#sidebar h3.catt-17  {background:#DD127B; }

&lt;script type="text/javascript">var $j = jQuery.noConflict();$j(function() {	$j(".arthemia-carousel").jCarouselLite({		btnNext: ".next",		btnPrev: ".prev",		vertical: true,		visible: 1,		auto: false,		speed: 8000				 });});</script> </HEAD>

<BODY>

<div id="featured" class="clearfloat">
	

	<div class="label"><a href="http://www.testadoporelas.com.br/category/fique-linda/">Fique Linda! »</a></div>


<div class="arthemia-carousel">
  <ul>

				<li>
	   
		  
<div class="clearfloat" style="clear:both">
					
	<a href="http://www.testadoporelas.com.br/teste-2/" rel="bookmark" title="Permanent Link to teste">
<img src="http://www.testadoporelas.com.br/wp-content/themes/arthemia-premium/scripts/timthumb.php?src=&w=100&h=65&zc=1&q=100"
alt="teste" class="left" width="100px" height="65px"  /></a>


	<div class="info"><a href="http://www.testadoporelas.com.br/teste-2/" rel="bookmark" class="title">teste</a>
<div class="meta">seg, 20/07/09 – 14:43 | <a href="http://www.testadoporelas.com.br/teste-2/#respond" title="Comentário para teste">No Comment</a></div>	

</div>




		</div>
	
		  
<div class="clearfloat" style="clear:both">

					
	<a href="http://www.testadoporelas.com.br/rating-teste/" rel="bookmark" title="Permanent Link to rating teste">
<img src="http://www.testadoporelas.com.br/wp-content/themes/arthemia-premium/scripts/timthumb.php?src=http://www.testadoporelas.com.br/wp-content/uploads/2009/07/setabuscape.jpg&w=100&h=65&zc=1&q=100"
alt="rating teste" class="left" width="100px" height="65px"  /></a>


	<div class="info"><a href="http://www.testadoporelas.com.br/rating-teste/" rel="bookmark" class="title">rating teste</a>
<div class="meta">qui, 16/07/09 – 18:31 | <a href="http://www.testadoporelas.com.br/rating-teste/#comments" title="Comentário para rating teste">One Comment</a></div>	
</div>
		</div>
	
		  
<div class="clearfloat" style="clear:both">
				
	<a href="http://www.testadoporelas.com.br/583/" rel="bookmark" title="Permanent Link to ASasASA">
<img src="http://www.testadoporelas.com.br/wp-content/themes/arthemia-premium/scripts/timthumb.php?src=&w=100&h=65&zc=1&q=100"
alt="ASasASA" class="left" width="100px" height="65px"  /></a>


	<div class="info"><a href="http://www.testadoporelas.com.br/583/" rel="bookmark" class="title">ASasASA</a>
<div class="meta">seg, 13/07/09 – 12:10 | <a href="http://www.testadoporelas.com.br/583/#respond" title="Comentário para ASasASA">No Comment</a></div>	

</div>

	</div>
	
	 



	</li></ul>


CODIGO DA CSS APENAS

#featured {	width:310px;	float:right;	padding:0px 10px 0px 10px;	font-size:1.05em;	}#featured .clearfloat {	margin-top:0px;	margin-bottom:7px;	}

#featured .info {	margin-top:5px;	padding-top:0px;	float:right;	width:193px;	font-size:0.9em;	}

#featured .meta {	margin-top:5px;	font-size:0.85em;	}#featured .title {	font-weight:bold;	}#featured .divider {	margin-left:95px;	}

#headline a img, #featured a img {	margin-top:5px;	}

#featured a {	color:#000000;	}

#featured a:hover {	color:#808080;	}

#featured a img {	border:2px solid #fff;	margin-right:10px;	}

/* Float Properties*/

.clearfloat:after {	content:".";	display:block;	height:0;	clear:both;	visibility:hidden;	}

.clearfloat {	display: inline-block;	}

/* Hides from IE-mac \*/* html 

.clearfloat {	height:1%;	}*+html 

.clearfloat {	height:1%;	}

.clearfloat {	display:block;	}

Página Em Asp Dando Erro

17/03/2009, 18:21

Pessoal,

Por favor, tenho o seguinte codigo ASP mas qdo rodo no navegador aparece a seguinte mensagem Unterminated string constant

/asp/carros.asp, line 2

"Criando conexão com o banco de dados
-------------------------------------^




O Q ESTÁ ERRADO?

[codebox]<%
"Criando conexão com o banco de dados
Set Conexao = Server.CreateObject("ADODB.Connection")
Conexao.Open "Provider=Microsoft.Jet.OleDB.4.0;Data Source=" & Server.MapPath("carros.mdb")

"Abrindo a tabela MARCAS!
Sql = "SELECT * FROM Marcas ORDER BY Marca"
Set Rs = Conexao.Execute ( Sql )
%>
<%
Function EscreveFuncaoJavaScript ( Conexao )
"O parametro conexao receberá uma conexao aberta!
"Em funcoes, geralmente não criamos objetos do tipo conexões!
"Opte por sempre deixar sua função o mais compatível possível com qualquer projeto!

"Primeiro vamos escrever o cabecalho de qualquer script javascript!
Response.Write "&lt;script language=""JavaScript"">" & vb script:atualizacarros(this.form);">
<% While NOT Rs.EoF %>
<option value="<% = Rs("id") %>"><% = Rs("Marca") %></option>
<% Rs.MoveNext %>
<% Wend %>
</select>
<br><br>Carros:<br>
<select name="carros"></select>
</form>
</body>
</html>
<%
"Fechando os objetos!
Rs.Close
Set Rs = Nothing

Conexao.Close
Set Conexao = Nothing
%>[/codebox]

Menu Dinamico Com Redirecionamento Para Url

15/03/2009, 15:01

Olá Pessoal,

Por favor eu tenho o seguinte código para criar um jump menu dinamico, mas gostaria que qdo o item da segunda janela fosse selecionado automaticamente fosse direcionado para uma url..o q devo mudar no código?

Grata

<html><head><title>Javascript Dynamic ListBox Demonstration</title></head><body bgcolor="#ffffff" OnLoad="setOption(document.ThisForm, 0)"><blockquote><form name="ThisForm"><!--  The listbox size should be same as the list which has the maximum size.   i.e. The number of "<option>" = the size of the maximum list.//--><select name="List1" OnChange="setOption(this.form, this.selectedIndex)"><option>Animals<option>Colours<option>Numbers<option>Places</select><p><select name="List2" OnChange="this.form.ValueIn2.value=this.options[this.selectedIndex].value"><option><option><option><option><option><option><option>_________________</select>  </form>&lt;script language="javascript"><!--function setOption(form, index) {  for (var i = 0; i < form.List2.length; i++) {    form.List2.options[i].text = "";    form.List2.options[i].value = "";  }  if (index == 0) {    form.List2.options[0].text = "Cat";    form.List2.options[0].value = "verdade"    form.List2.options[1].text = "Lion";    form.List2.options[1].value = "ani1";    form.List2.options[2].text = "Tiger";    form.List2.options[2].value = "ani2";    form.List2.options[3].text = "Dog";    form.List2.options[3].value = "ani3";    form.List2.options[4].text = "Cow";    form.List2.options[4].value = "ani4";    form.List2.options[5].text = "Snake";    form.List2.options[5].value = "ani5";    form.List2.options[6].text = "Monkey";    form.List2.options[6].value = "ani6";  }  else if (index == 1) {    form.List2.options[0].text = "Blue";    form.List2.options[0].value = "col0";    form.List2.options[1].text = "Red";    form.List2.options[1].value = "col1";    form.List2.options[2].text = "Yellow";    form.List2.options[2].value = "col2";    form.List2.options[3].text = "Green";    form.List2.options[3].value = "col3";    form.List2.options[4].text = "Orange";    form.List2.options[4].value = "col4";  }  else if (index == 2) {    form.List2.options[0].text = "One";    form.List2.options[0].value = "num0";    form.List2.options[1].text = "Two";    form.List2.options[1].value = "num1";    form.List2.options[2].text = "Three";    form.List2.options[2].value = "num2";    form.List2.options[3].text = "Four";    form.List2.options[3].value = "num3";    form.List2.options[4].text = "Five";    form.List2.options[4].value = "num4";  }  else if (index == 3) {    form.List2.options[0].text = "Airport";    form.List2.options[0].value = "pla0";    form.List2.options[1].text = "Railway Station";    form.List2.options[1].value = "pla1";    form.List2.options[2].text = "Museum";    form.List2.options[2].value = "pla2";    form.List2.options[3].text = "Stadium";    form.List2.options[3].value = "pla3";  }  form.List2.selectedIndex = 0;  form.ValueIn2.value = form.List2.options[form.List2.selectedIndex].value;}//--></script></blockquote><p><center></center></body></html>

IPB Skin By Virteq