How to... > Menu
Evolution 8 has a new feature. You can define a link on a menu level. To create an external link you can define a new empty level the Map Creation Dialog. Next select the new level and click on the 'Level Properties' button in the toolbar (the last button). Now you can define a link on the menu level in the usual way. This can be any type of link that WebsiteX5 Evolution 8 supports, so you can also use this function to define an external link...
For version 7, to create a link in the menu to another website you can use one of the following solutions:
Method 1. Add code to the header of the page
Step 1. Create a new page
Select the page in the Map Creation dialog and click on the Page Properties button
Go to the advanced tab and add the following code to the header
You have to fill in your own url of course...
Click on [OK] and test...
Method 2. Using PHP
For this method your provider must have PHP-support.
Create a new page.
Select the page and click on the Page Properties icon (see above).
On the advanced tab set the file name format to PHP.
Open the page and add a html object to the page and add the following code to the html-object
<?php
header("Location: http://www.newwebsite.com");
?>
Close, then publish and test the live website.
You could test it locally, but then you must install a webserver with PHP (for example XAMPP).
Method 3. Open a link in a new window
Thanks to Gunslinger, Australia!
Create a new page and give it a name.
Select the page and click on the Page Properties icon (see above).
Open the page and add a html object to the page and add the following code to the html-object
<script>
window.open("http://www.domainxyz.com/");
history.back();
</script>
The first line of this script opens the url in the new window. The second line makes sure that when you go back to your own website is shows the original page.
Sub-Menu: