Jump to content


Photo

Can ShowDiv() and HideDiv() work with links?


  • Please log in to reply
2 replies to this topic

#1 Moron

Moron
  • Members
  • PipPipPip
  • Advanced Member
  • 368 posts

Posted 23 August 2006 - 08:19 PM

Can ShowDiv() open a separate HTML (PHP, in this case) page within the original page? Conversely, can HideDiv() hide it again? If so, I can't seem to find the code for doing this.


#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 23 August 2006 - 10:01 PM

The answer to the first question exactly as asked is 'No, except without a great deal of trouble'.

http://www.dynamicdr...itchcontent.htm might be what you're looking for.
Legend has it that reading the manual never killed anyone.
My site

#3 Moron

Moron
  • Members
  • PipPipPip
  • Advanced Member
  • 368 posts

Posted 24 August 2006 - 12:28 PM

The answer to the first question exactly as asked is 'No, except without a great deal of trouble'.

http://www.dynamicdr...itchcontent.htm might be what you're looking for.


Thanks, Andy. You came through yet again!

I'm working on an employee leave program in PHP (as many of you know). The page automatically displays leave for the current fiscal year. I want them to be able to click Show History/Hide History and have it dynamically appear on the page.

I think this script will do the trick.
:)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users