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. Link to comment https://forums.phpfreaks.com/topic/18467-can-showdiv-and-hidediv-work-with-links/ 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. Link to comment https://forums.phpfreaks.com/topic/18467-can-showdiv-and-hidediv-work-with-links/#findComment-79555 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. :) Link to comment https://forums.phpfreaks.com/topic/18467-can-showdiv-and-hidediv-work-with-links/#findComment-79800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.