Jump to content
Fórum Script Brasil
  • 0
Sign in to follow this  
Guest Fábio Soares

Ajuda Com Menu Dinâmico,

Question

Guest Fábio Soares

Bom dia comunidade

Poderiam me dar uma força com um menu, to tomando um coro dele

Ele abre somente quando clicado no iconezinho, quando clica sobre o titulo não abre o menu, é isto que gostaria de modificar!

<style>

<!--

a:hover{color:#104838}

a{text-decoration:none}

.look{font:bold 8pt Arial;}

.look2{font:bold 8pt Arial;

margin-top: 0px;

margin-left: 5px;

margin-right: 0px;

margin-bottom: 0px;

padding:0px;

border: 0px solid;

}

.folding{cursor:hand}

a:link {color:#104838}

a:hover{color:#104838}

//-->

</style>

<script language="JavaScript">

<!--

img1=new Image()

img1.src="http://web.fafip.edu.br/img/fold.gif"

img2=new Image()

img2.src="http://web.fafip.edu.br/img/open.gif"

ns6_index=0

function change(e){

if(!document.all&&!document.getElementById)

return

if (!document.all&&document.getElementById)

ns6_index=1

var source=document.getElementById&&!document.all? e.target:event.srcElement

if (source.className=="folding"){

var source2=document.getElementById&&!document.all? source.parentNode.childNodes:source.parentElement.all

if (source2[2+ns6_index].style.display=="none"){

source2[0].src="http://web.fafip.edu.br/img/open.gif"

source2[2+ns6_index].style.display=''

}

else{

source2[0].src="http://web.fafip.edu.br/img/fold.gif"

source2[2+ns6_index].style.display="none"

}}}

document.onclick=change

//-->

</script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td>

<div class="look"><img src="http://web.fafip.edu.br/img/fold.gif" class="folding"><a href="#">PEDAGOGIA</a>

<ul class="look2" style="list-style-image:url(http://web.fafip.edu.br/img/list.gif);display:none">

<li><a href="http://web.fafip.edu.br/">Objetivos

do curso</a></li>

<li><a href="http://web.fafip.edu.br/">Atividades

principais</a></li>

<li><a href="http://web.fafip.edu.br/">Mercado

de trabalho</a></li>

<li><a href="http://web.fafip.edu.br/">Práticas</a></li>

<li><a href="http://web.fafip.edu.br/">Duração</a></li>

<li><a href="http://web.fafip.edu.br/">Coordenador</a></li>

<li><a href="http://web.fafip.edu.br/">Grade

curricular</a></li>

<li><a href="http://web.fafip.edu.br/">Carga

horária total</a></li>

<li><a href="http://web.fafip.edu.br/">Materiais</a></li>

</ul>

</div>

</td>

</tr>

</table>

Antecipadamente agradeço!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Guest Guest

Grandeeeeee Osjunior, obrigado cara, obrigado mesmo, forte abraço!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  



  • Forum Statistics

    • Total Topics
      148133
    • Total Posts
      643438
×
×
  • Create New...