ljzxtww Posted March 1, 2008 Share Posted March 1, 2008 hi: :)i dont want to anybody to see my link: http://www.example.com/test How can i put code in Index the have link example: <a href="index.php">LinkThextHere</a> and I want to hide the link. like when i click "LinkThextHere" so it will be example.com/# example like this link HHS library: hhslibrary.net click any link from teacher Resources / Student Resources you will see what happened thank you larry pappas Quote Link to comment https://forums.phpfreaks.com/topic/93790-hiding-address-for-php-link/ Share on other sites More sharing options...
sKunKbad Posted March 1, 2008 Share Posted March 1, 2008 If you are talking about the functionality of the links, you will need to learn a little AJAX. Quote Link to comment https://forums.phpfreaks.com/topic/93790-hiding-address-for-php-link/#findComment-480582 Share on other sites More sharing options...
ljzxtww Posted March 1, 2008 Author Share Posted March 1, 2008 If you are talking about the functionality of the links, you will need to learn a little AJAX. hi: Can I use iframe page hiding url in PHP and use the code is: function toggle_page(page) { if (page == 1) { p1.style.display=""; p2.style.display="none"; } else { p1.style.display="none"; p2.style.display=""; } } <a href=# onClick="toggle_page(1)">show page1</a> | <a href=# onClick="toggle_page(2)">show page2</a> <div id=p1> <? include("page1.php");?> </div> <div id=p2 style="display: none"> <? include("page2.php");?> </div> Quote Link to comment https://forums.phpfreaks.com/topic/93790-hiding-address-for-php-link/#findComment-480606 Share on other sites More sharing options...
trq Posted March 1, 2008 Share Posted March 1, 2008 Can I use iframe page hiding url in PHP iFrames have nothing to do with php, your question is that of html. Quote Link to comment https://forums.phpfreaks.com/topic/93790-hiding-address-for-php-link/#findComment-480609 Share on other sites More sharing options...
ljzxtww Posted March 1, 2008 Author Share Posted March 1, 2008 Can I use iframe page hiding url in PHP iFrames have nothing to do with php, your question is that of html. iframe only for html thank you for fast reply larry Quote Link to comment https://forums.phpfreaks.com/topic/93790-hiding-address-for-php-link/#findComment-480619 Share on other sites More sharing options...
ljzxtww Posted March 1, 2008 Author Share Posted March 1, 2008 Can I use iframe page hiding url in PHP iFrames have nothing to do with php, your question is that of html. hi: you know how to use Javascript hide url larry Quote Link to comment https://forums.phpfreaks.com/topic/93790-hiding-address-for-php-link/#findComment-480708 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.