UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

Manila Macros

homePageLink

Description

Generate a link to the home page of a site.

How to call it

{homePageLink (lineText)}

lineText is the only required parameter. It's the string that appears as the link to the home page.

{homePageLink (lineText, style, onmouseover, onmouseout)}

style is an in-line style for the link.

onmouseover is a JavaScript handler, what happens when the mouse is held over the link.

onmouseout is a JavaScript handler, what happens when the mouse leaves the area above the link.

Example

{homePageLink (siteName)}

Generates: Manila Macros

{homePageLink ("Go to the home page", onmouseover:"this.style.color='red'", onmouseout:"this.style.color='blue'")}

Generates: Go to the home page

Notes

This macro is essential for themes support. When making a site clone-able, use this macro instead of a link to your home page.