iWeb "open new page in browser" doesn't work?

On websites I have created in iWeb, the hyperlinks to a web page will not open in a new window even though I have checked that setting in the Inspector. Previously when creating websites with html I would simply add the "blank target" code but in iWeb there is no way to edit html directly. I have tried this with Safari and with Firefox, it doesn't work!

Message was edited by: Ironic Bliss

Intel iMac, Mac OS X (10.6.1), Custom

Posted on Nov 1, 2009 7:49 AM

Reply
14 replies

Nov 1, 2009 4:31 PM in response to Ironic Bliss

I noticed that checking the "open in new window" option in the inspector sometimes does not mark the page as changed. So it will not be updated when the site is uploaded. Check if in your case the page turns red in the page table on the left. I usually shuffle some other page items around to get iWeb to notice the page has changed. By the way, this is not the only inspector option that doesn't register.

Nov 2, 2009 3:55 AM in response to Old Toad

Thanks for those helpful suggestions, though I have batted around different ways of trying to get iWeb to register the "open in new window" when checked, to no avail so far, and it doesn't work with any link, whether in text or combined with an image. Taking all these points:

I have now managed to open the html using TextWrangler but I must admit it is a little beyond me to even find the string of code in question as iWeb uses so many files. It would be better if I could just get iWeb to do the work for me as it's meant to.

Strangely, when I open the website in iWeb the first time, all the pages to the left are marked in red before I've done anything! So I cannot use that as a simple check to see if a change has been made. Also I have already tried making other changes after checking the "open in new window" box before saving.

I always publish to a folder on my HD, as I am uploading to a server that is not me.com or mac.com. (Could that be the trouble? iWeb seems to generally be very unfriendly to publishing on other servers than Apple and I have had to jump through a lot of hoops with various things.)

Could it be the weird folder hierarchy created by iWeb, where there is an index.html page outside of the main folder where all the stuff is kept? So far, I have just uploaded it to the server "as is", so the contents of the main folder (which has another index.html rather strangely placed outside it) are not at the root level on the server. The folder containing them is at the root level and so is the "external" index.html. Would it work if I uploaded only the contents of the folder to the root directory on the server, and not in the folder that iWeb creates or with its "dummy" index.html outside it?

(I think in the past this has caused trouble with Google search sitemaps, and is the reason why in the end I uploaded the whole thing and not just the contents of the main folder.)

So to be clear (not that easy here), the files on the server are:

Directory > index.html plus the folder containing all the website files. So the actual website files are at a second level in a folder, not at the root level.

The easiest example where the blank target doesn't work is on the home page of one of my websites. Scroll down and there is an image of a book which has a link to a bookstore. This should open a new page in the browser, but never does. (Annoyingly, in FireFox it even kills the back button, Safari works slightly better in that respect.)

http://www.ordoastri.org/OA/Ordo_Astri.html

Nov 2, 2009 10:26 AM in response to Ironic Bliss

How do you synchronize your publishing folder to your website? In the past I used Cyberduck, but it turned out that only files that have changed in SIZE are moved over. A small change in a page will most likely not change the file size by one block (4kB?). I switched to Yummy because it can also check on date/time, and I got tired of copying the complete site folder just to be sure.

Also, but you probably know this already, don't forget to clear the cash of your browser after changing your site...

Nov 2, 2009 12:07 PM in response to Old Toad

Thank you for those suggestions. Old Toad wrote:

<Although a long shot try the following: delete the iWeb preference file, com.apple.iWeb.plist, that resides in your User/Library/Preferences folder, launch iWeb, reset or create a new link, publish to a folder and test locally.>

I will try that, thanks!

To the other replies - thanks:

1. I upload to the server manually using Fetch.

2. And as far as I know, the page in question is mostly a text box which has a background colour set to the text, plus one image insert with an active link. It may be that is treated as "one big image" by iWeb, I don't know. As much as I can tell from what you're saying, iWeb may not create targets for such a set up, in which case I may have to redesign the page from scratch - or otherwise just leave it as it is and forget the new page - though it would be much better having a new page open when the link points to a different website/server altogether.

Nov 3, 2009 11:33 AM in response to Adamai

Ha ha - no!

I tried deleting the iWeb preferences as in the thread above, but that made no difference so I wouldn't bother doing that - especially as that also deletes your spellchecker learned spellings...

I've also got a script encoded elsewhere in the website and that should also open a page in a new window but it doesn't and never has done.

I know that iWeb definitely does not do anchors that will direct to a part of a web page and that is quite annoying. But opening a new browser window on an active link is a very basic website requirement and I'm surprised that Apple haven't sorted that out. To be honest I've got no confidence that Apple will get that sorted anytime in the near future and for that reason I have stuck with iWeb '08.

I'd love to hear if you or anyone else gets some joy from this, possibly a work around solution or something.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iWeb "open new page in browser" doesn't work?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.