Need help with html code to hide the menu in the navigation bar. Txs?

Nubia

New member
Hello

I need to hide the menu in the navigation bar of the first page of my website, since it is going to have a disclaimer: Enter or Exit.
Enter is linked to my website
Exit is linked to google.

But the menu showing on the navigation bar allow people to enter the site without using the disclaimer.

Kindly, can someone help me with the html code to hide the menu on the first page.

Thank you

Best regards
I'm using a Rapid Weaver template. The site is already built.

I need only the code to hide the menu in the navigation bar. Txs
 
Make a page called disclaimer.php and add your disclaimer page in there.

Then add this code to the top of the index page:

<?php
session_start();
if ( isset($_GET['disclaimer']) ){
$_SESSION['disclaimer'] = true;
}
if ( !isset ($_SESSION['disclaimer']) ) {
include("disclaimer.php");
exit();
}
?>

Then this is the code for the the buttons on disclaimer.php

<button value="Enter"
onClick="javascript:
window.location = 'http://YOURSITE.com/?disclaimer';
">
<button value="Leave
onClick="javascript:
window.location = 'http://google.com';
">
 
Back
Top