Need help to figure this issue out show/hide div

  • jokerper
  • Novice
  • Novice
  • User avatar
  • Posts: 22

Post 3+ Months Ago


I am new to javascript and I have this code I vwon to manipulte.

Code: [ Select ]
<script type="text/javascript">
    link.innerHTML = 'ExpandEERRRRRRRRRRRRRRRRRR';

  1. <script type="text/javascript">
  2. $(document).ready(function(){
  3. $(".flip").click(function(){
  4.   $(".panel").slideToggle("fast");
  5.  });
  6.  $(".flip1").click(function(){
  7.   $(".panel1").slideToggle("slow");
  8.     $(".panel1new").slideToggle("slow");
  9.     link.innerHTML = 'ExpandEERRRRRRRRRRRRRRRRRR';
  10.  });
  11.   $(".flip2").click(function(){
  12.   $(".panel2").slideToggle("slow");
  13.  });
  15. });
  16. </script>

What I won to do?

I have a div there is trigged by an element <p></p> but it could by others.

But I won it to collapse the "div" and open another same place and the tricky part.

all others link on my pace need to be a part of it.

lets say. my news-box is open when your enter the site. You those not to close it but hit one of my links, i won the div to collapse and open the hidding div and if you collapse it when your enter the site it need to be closed down.

Because I have a lot of link there schould open in the div-hidden and not in the "NEWS" box. only to boxes.

Please help me further.

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 37 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.