Moron Posted August 23, 2006 Share Posted August 23, 2006 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. Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 23, 2006 Share Posted August 23, 2006 The answer to the first question exactly as asked is 'No, except without a great deal of trouble'.http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm might be what you're looking for. Quote Link to comment Share on other sites More sharing options...
Moron Posted August 24, 2006 Author Share Posted August 24, 2006 [quote author=AndyB link=topic=105392.msg421062#msg421062 date=1156370483]The answer to the first question exactly as asked is 'No, except without a great deal of trouble'.http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm might be what you're looking for.[/quote]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. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.