can any body help me in show and hide slider

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Apr 2009
Posts: 34
Reputation: coolmind259 is an unknown quantity at this point 
Solved Threads: 0
coolmind259 coolmind259 is offline Offline
Light Poster

can any body help me in show and hide slider

 
0
  #1
May 9th, 2009
Hi there,

I need to show and hide functionality through javascript , how can I achieve this.

If I click on a dash link then show particular section and if I click again then it should be hide.

Is there is any script I can use?

Please reply.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,426
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 230
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: can any body help me in show and hide slider

 
0
  #2
May 9th, 2009
Get jQuery (http://www.jquery.com) and read through the documentation
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 225
Reputation: mail2saion is an unknown quantity at this point 
Solved Threads: 34
mail2saion's Avatar
mail2saion mail2saion is offline Offline
Posting Whiz in Training

Re: can any body help me in show and hide slider

 
-1
  #3
May 10th, 2009
YOU CAN USE THE BELOW SCRIPT TO ACHIEVE YOUR REQUIREMENT:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. function showHide(elemId)
  2. {
  3. if(document.getElementById(elemId).style.display == "none")
  4. document.getElementById(elemId).style.display = "block"
  5. else
  6. document.getElementById(elemId).style.display = "none"
  7. }

CALL THIS METHOD FROM YOUR LINK & SEND YOUR DIV WHICH YOU WANT TO SHOW/HIDE. FOR EAXAMPLE:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="#" onclick="showHide('divcheckpoint');" >
MARK AS SOLVED if its help you.

REGARDS
MCTS - Shawpnendu bikash maloroy
http://shawpnendu.blogspot.com
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC