Currently Being ModeratedJun 29, 2012 11:23 PM (in response to Roddy)
Hi again Roddy, I think it's the later option as I know how to add a hyper link now whether it's a file/webpage. The "doc" folder created by Eclipse as a project API description. I created a new site but then couldn't link to the API pages.
Currently Being ModeratedJun 30, 2012 1:02 PM (in response to Roddy)
That's the problem. It's not a published site yet, just generated HTML pages in a folder called "Doc" to display something like
Let me rephrase to clarify further, how to import another site folder (located out of iWeb) to your site (located in iWeb) in iWeb?
Currently Being ModeratedJun 30, 2012 2:02 PM (in response to Jeff Nitschke)
Thanks for the reply.. But can the source be a local folder containing HTML pages? If so can you write an example like the one you wrote but with a local folder, thanks.
Currently Being ModeratedJun 30, 2012 2:06 PM (in response to savanna3000)
You can't import anything in the way of HTML files into iWeb.
You could do as Jeff has suggested and display it in an iFrame on a page of your iWeb built site. However, this is not advisable for a whole site and can end up causing problems.
An iframe is a sort of a page within a page. When you create anything in an iWeb Snippet, the application creates another page for this content. So, you get a page within a page within a page!
If you want to use this method its better to have the Home page of the other site in the iFrame and give visitors the option of opening it in a new window like this...
Its probably better to create a sub site in the same root folder on the server which holds your iWeb site. Then you can link to this sub site from the iWeb built sites navigation and vice versa. How you go about this will depend on whether you are using the iWeb default navigation or have created your own in a text box or an HTML Snippet.
Here's some info about navigation and how to create your own main and sub navigation using text boxes...
This page is about sub sites...
Note that a sub site is not the same as a sub domain. The latter is another possibility when considering how to load the extra site on the server.
Create a blank page and give it the name of the other website - or anything you want. Paste this code into an HTML Snippet on that page...
parent.window.location = "URL to the Home page of the other site";
The page name will appear in the default navigation and clicking it will take visitors to the other site.
Currently Being ModeratedJun 30, 2012 2:13 PM (in response to savanna3000)
Not to a local folder. Files need to be published to a server.
You can do this on your Mac. Open System Preferences and click on "Sharing". Check "Web Sharing" to set this up. From Mac Help...
Sharing a website on your computer
You can use the Apache web server software included with Mac OS X to host a website on your computer. Before doing so, you should already know how to create HTML pages and build websites.
You can also share a website on your computer by placing files in /Library/WebServer/Documents on your hard disk. To place files there, you must be logged in as an administrator. To view these pages, open a web browser and go to http://your.computer.address.