Attaching Objects to the Website vs to the Page
Tutorial by Gordon
| Description |
The first code is how to attach to a website. This comes in handy if you are using the same code on every page for you site. When you see the word Global this is what is meant by it.
To attach to a website:
| Step by Step |
-
website menu/website properties/attached files tab/add to list button
This is how I add images, javascript, menus, or css style sheets anything else I want global on my site. They will reside on the root of your website directory on the internet.
Hence the direct link.
| A href="spancode.txt" |
To attach to a page:
| Description |
This code is used if you have a code that is used only on one or two pages, but not your whole site.
| Step by Step |
You can use various methods, one I use most often is via an HTML object.
-
Right click on the html object/ properties/ attached file tab/ add to list button.
This puts an object such as an image, text file, pdf, mpeg wmu etc. inside of that pages image folder.
Hence the link to the folder then the directory:
| A href="$thisfolderurl$/spancode.txt" |
| A href="yourpagesname/spancode.txt" |


