Attaching Objects to the Website vs to the Page

InfoInfo
Search:    

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

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.

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"
..which in webstudio writes the folder (page) name in for you. Like so:

A href="yourpagesname/spancode.txt"
This is a Wiki Spot wiki. Wiki Spot is a 501(c)3 non-profit organization that helps communities collaborate via wikis.