I have a website with a menu & different sub-entities in a page, that means sub entity pages under a parent page, i want to disable parent page, that means when i click parent page goes nowhere, only goes when clicking on sub-entity pages ..
Let me know, how i can do that, i’m working on wordpress, i need this ASAP,please ..
I have a website with a menu & different sub-entities in a page, that
Share
Three options:
1 – outdated – look into the
<iframe>tag, but I don’t recommend this – it’s outdated and unused for many good reasons.2 – recommended:
Now, you’ve got something that LOOKS like the parent page isn’t moving. (should probably be done with PHP or something similar, but can be done with just HTML)
3 – not so good:
<form>to submit the page with somePOSTdata.POSTdata to find which sub-entity page you want to output.Also, the word sub-entity is not the right terminology. I assume you’re talking about the children of the window’s document body:
WINDOW [ HTML [ BODY [ ] ] ]is equivalent to yourPARENT PAGE [ SUB-ENTITY PAGES [ SUB-ENTITY PAGES [] ] ]which is similar toWINDOW [ DOCUMENT [ BODY [] ] ]Hope this helps, or at least gives you a starting point.
====================
To redirect to the home page when clicking ANYWHERE on the home page, use javascript:
A link to the homepage is obviously