Hyperlink to open a file in a new window

I have been trying to format the hyperlink to a file so it opens on a new window. iWeb allows us to check the box 'open in new window' only for links to external pages; when we insert a link to a file, I realize the app uploads the file to the website, but I could not find a way to have it open in a new window. Is there a way we can get to and format the hyperlink reference?

MacPro, Mac OS X (10.0.x)

Posted on Feb 14, 2011 2:54 AM

Reply
4 replies

Feb 14, 2011 4:02 AM in response to virgilioalmeida

No not really.

The only other thing that you can do is to find the pdf files that you want to link to and then upload them all to your server, so perhaps create a folder called pdf and then place all the pdf files that you want to link to in this folder and then upload it to your server.

Then in iWeb create an html link in an html snippet to your pdf files and when you have created the link, adding target="_blank" will make your pdf document open in a new page.

To add the link you would do as follows:

Name of pdf file to show on your website

Try this and see what happens.

Message was edited by: Ethmoid

Feb 14, 2011 4:22 AM in response to virgilioalmeida

Bonjour

Upload your file
a. to your FTP server with a FTP software (e.g. Cyberduck, Transmit) > get its URL
b. to MobileMe : Finder > Menu > Go > iDisk > My iDisk then iDisk > Web > Sites > Creates an new folder (named "files") in this Sites folder. Now your file has this URL (e.g. for a pdf file)
http://web.me.com/MobileMe_username/files/filename.pdf


iWeb :
Insert a link _to an external page_
paste your file URL
check "open in a new window"

Mar 14, 2011 11:13 PM in response to virgilioalmeida

1. Create the link that connects to the file (pdf or whatever) on a separate page of your site on iWeb.
2. Publish your site, then go on the internet to the page that has this link. Keep this page open on your Safari or some web browser you use.
3. Go back to your iWeb and create another link on a different page (home page, for example) of your site, and connect this link to the URL of the open page in step 2 with "Link to: An External Page" option. Click to choose "Open link in new window" on the Inspector panel. Name this link that has something to do with the file of interest in step 1.
4. On your iWeb, go the page created in step 1 and make sure "include page in navigation menu" is not selected or checked in the Inspector panel so that web visitor will not get to this page directly.
5. Publish your site. Now go to your site on the web to the page in step 3. Click on the link and it will open a new page with the link that has the file attached. Visitor can now open the file in that new window.
• It seems complicated, but you'll get it.
• You may need to refresh the pages on Safari to make it work if you have left Safari on throughout your work.
• For this method, you have to dedicate a page to carry the link that connects to the file.
Example: I create a page that has list of links to the files for viewing. These files are weekly reports. Each file is named by its date such "March 4, 2011" "March 11, 2011" etc.. This page will be hidden from visitors at first when they visit my site. Then I create on my home page a link called "Weekly Reports" that open to "External Page" via the option I have in Inspector. Even though it says "External Page" I use the URL of the hidden page containing all the actual files. On this "hidden" page, I also has a link called "Weekly Report" but this link is connected directly to this page. I do this only because I want the "hidden" page to look like my home page in terms of displayed links.

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.

Hyperlink to open a file in a new window

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