um im stuck

  • gt8ost4l
  • Student
  • Student
  • User avatar
  • Joined: Mar 17, 2008
  • Posts: 98
  • Status: Offline

Post May 13th, 2008, 8:34 pm

yes finally yu figured it out
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 13th, 2008, 8:34 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 14th, 2008, 2:39 pm

gt8ost4l wrote:
yes finally yu figured it out

So, what you are talking about is...
Image
...and yet you said you don't want tree view...
gt8ost4l wrote:
no with th arrow

But the thing you're talking about is a tree view.

Anyway, Here is a list of those things.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • gt8ost4l
  • Student
  • Student
  • User avatar
  • Joined: Mar 17, 2008
  • Posts: 98
  • Status: Offline

Post May 17th, 2008, 11:20 am

its a drop down *plum* go to lik in a forums when you click on the button and the whole box get lifted up
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 17th, 2008, 4:18 pm

I think that this is what you want... You make it so hard :x ( :lol: )
JAVASCRIPT Code: [ Select ]
function hidediv() {
 if (document.getElementById) { // DOM3 = IE5, NS6
   document.getElementById('hideShow').style.visibility = 'hidden';
 } else {
   if (document.layers) { // Netscape 4
    document.hideShow.visibility = 'hidden';
   } else { // IE 4
    document.all.hideShow.style.visibility = 'hidden';
   }
 }
}
 
function showdiv() {
 if (document.getElementById) { // DOM3 = IE5, NS6
   document.getElementById('hideShow').style.visibility = 'visible';
 } else {
   if (document.layers) { // Netscape 4
    document.hideShow.visibility = 'visible';
   } else { // IE 4
    document.all.hideShow.style.visibility = 'visible';
   }
 }
}
  1. function hidediv() {
  2.  if (document.getElementById) { // DOM3 = IE5, NS6
  3.    document.getElementById('hideShow').style.visibility = 'hidden';
  4.  } else {
  5.    if (document.layers) { // Netscape 4
  6.     document.hideShow.visibility = 'hidden';
  7.    } else { // IE 4
  8.     document.all.hideShow.style.visibility = 'hidden';
  9.    }
  10.  }
  11. }
  12.  
  13. function showdiv() {
  14.  if (document.getElementById) { // DOM3 = IE5, NS6
  15.    document.getElementById('hideShow').style.visibility = 'visible';
  16.  } else {
  17.    if (document.layers) { // Netscape 4
  18.     document.hideShow.visibility = 'visible';
  19.    } else { // IE 4
  20.     document.all.hideShow.style.visibility = 'visible';
  21.    }
  22.  }
  23. }

Example of usage...
HTML Code: [ Select ]
<a href="javascript&#058;hidediv()">Hide</a> <a href="javascript&#058;showdiv()">Show</a>
<div class="whatever" id="hideShow">
Blahblah blah
</div>
 
  1. <a href="javascript&#058;hidediv()">Hide</a> <a href="javascript&#058;showdiv()">Show</a>
  2. <div class="whatever" id="hideShow">
  3. Blahblah blah
  4. </div>
  5.  

I'm pretty sure you can have only one of the divs on the page... otherwise, the link would hide/show all of those divs...

If you want to have multiple of those things, you can try something like...
JAVASCRIPT Code: [ Select ]
function hidediv(div) {
 if (document.getElementById) { // DOM3 = IE5, NS6
   document.getElementById(div).style.visibility = 'hidden';
 } else {
   if (document.layers) { // Netscape 4
    document.hideShow.visibility = 'hidden';
   } else { // IE 4
    document.all.hideShow.style.visibility = 'hidden';
   }
 }
}
 
function showdiv(div) {
 if (document.getElementById) { // DOM3 = IE5, NS6
   document.getElementById(div).style.visibility = 'visible';
 } else {
   if (document.layers) { // Netscape 4
    document.hideShow.visibility = 'visible';
   } else { // IE 4
    document.all.hideShow.style.visibility = 'visible';
   }
 }
}
  1. function hidediv(div) {
  2.  if (document.getElementById) { // DOM3 = IE5, NS6
  3.    document.getElementById(div).style.visibility = 'hidden';
  4.  } else {
  5.    if (document.layers) { // Netscape 4
  6.     document.hideShow.visibility = 'hidden';
  7.    } else { // IE 4
  8.     document.all.hideShow.style.visibility = 'hidden';
  9.    }
  10.  }
  11. }
  12.  
  13. function showdiv(div) {
  14.  if (document.getElementById) { // DOM3 = IE5, NS6
  15.    document.getElementById(div).style.visibility = 'visible';
  16.  } else {
  17.    if (document.layers) { // Netscape 4
  18.     document.hideShow.visibility = 'visible';
  19.    } else { // IE 4
  20.     document.all.hideShow.style.visibility = 'visible';
  21.    }
  22.  }
  23. }

And usage would be something like...
HTML Code: [ Select ]
<a href="javascript&#058;hidediv(menu)">Hide</a> <a href="javascript&#058;showdiv(menu)">Show</a>
<div class="whatever" id="menu">
Blahblah blah
</div>
<a href="javascript&#058;hidediv(content)">Hide</a> <a href="javascript&#058;showdiv(content)">Show</a>
<div class="whatever" id="content">
Blahblah blah
</div>
 
  1. <a href="javascript&#058;hidediv(menu)">Hide</a> <a href="javascript&#058;showdiv(menu)">Show</a>
  2. <div class="whatever" id="menu">
  3. Blahblah blah
  4. </div>
  5. <a href="javascript&#058;hidediv(content)">Hide</a> <a href="javascript&#058;showdiv(content)">Show</a>
  6. <div class="whatever" id="content">
  7. Blahblah blah
  8. </div>
  9.  

I think that's how it would be... someone correct me if I'm wrong... and if this isn't what you want... I give up trying to find out.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • gt8ost4l
  • Student
  • Student
  • User avatar
  • Joined: Mar 17, 2008
  • Posts: 98
  • Status: Offline

Post May 17th, 2008, 5:24 pm

hey thanks friend

Post Information

  • Total Posts in this topic: 20 posts
  • Users browsing this forum: No registered users and 83 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.