{ 70 Intelligent Comments }

Can’t change the Page Title in Apple iWeb

Apple iWebDescription:

In iWeb the page title (the text that appears at the top of the browser window) cannot be set easily within iWeb itself.

Symptoms:

  • When you publish your website that was designed iWeb the page title defaults to the text at the top of your first page.
  • Changing the Page Name through the Inspector has no effect on the Page Title in the browser

Explanation:

The page title is not easily customizable in iWeb’08 and so must be set using javascript.  Normally the title is derived from the HTML code – the <title> tag but iWeb doesn’t allow the user to change that directly.  Below I have documented how you can use javascript to achieve the same effect..

Solution – Set the Page Title using Javascript

  1. In iWeb, open the page you wish to set the title for by selecting it in the left hand navigator
  2. When the page appears, click ‘Web Widgets’ at the bottom followed by HTML Snippet
  3. Paste the following text into the box that appears:
  4. <script type=’text/javascript’> parent.document.title=”My Page Title” </script>

  5. Change the text “My Page Title” to whatever you would like as your page title
  6. Click ‘Apply’ and then move the little box that was created up to the top left hand corner of your page to get it out of the way
  7. Save & Publish your web site
  8. Now your page title should appear as you have set above
  9. For your other web pages, you can just copy and paste the little box to all the other pages

 

Discussion


Wow, 70 Comments! We've got a conversation going now. Join the discussion below!

  1. Jason says:

    This is why you create a wordpress blog. What have you tried so far? It is probably an easy thing.

  2. .. says:

    Is´t it change by the title of your text

  3. .. says:

    does´t It change by the title of your text????

Leave a Reply