How can I add a link in the navigation menu to go directly to an external photo gallery?


Create a re-direct page:

  1. 1. Select a “blank” template page

  2. 2. In the Inspector, select the page name to be the name you want in the Navigation Menu

  3. 3. Turn off “Display navigation menu”

  4. 4. Turn on “Include page in navigation menu”

  5. 5. Remove title text box


Insert the snippet code into your new re-direct iWeb page:

  1. 6. At the bottom of the iWeb window, select Web Widgets > HTML Snippet. A box will appear on your page.

  2. 7. Paste the following snippet into the dialog box:


</script> 

<script language="JavaScript" type="text/javascript">

<!--

parent.window.location="http://your_gallery_URL";

// -->

</script>


  1. 8. Edit the snippet HTML by substituting the gallery URL: your_gallery_URL,

  2. 9. Save your page and publish.


After publishing you can view and test the page. It should work like the “Gallery” link in this page’s Navigation Menu. Your gallery page will now be allowed to adjust to full width of the browser window if you resize it. Note that you may re-direct to any URL on the internet, not just a MobileMe site.

Re-Direct in Navigation Menu