Javascript Feeds For Links
There are 3 javascript feeds for links for your site.
These feeds can be used on any site on the net, just
include the <Script ... on the page and it will
print the links you want on the page you want. For
more information on advanced options, see the comments
in the javascript feed files.
java-links-feed.pl
# By default, this javascript feed prints a verticle list of links
# to pages you have added to your site. The format for the links is:
# <Script src="/cgi-bin/content-manager/java-links-feed.pl"></Script>
# Prints: <A HREF="page-name.html"><Font Class=JavaLinks Color=Blue>Title of Page</Font></A><BR>
# The program can also print links in a horizontal array.
# If you only want the horizontal links,
# use: java-links-feed.pl?&&H
# Prints: <A HREF="page-name.html"><Font Class=JavaLinks Color=Blue>Title of Page</Font></A>
# For Off Site Links Only
# Use: <Script src="/cgi-bin/content-manager/java-links-feed.pl?OffSite"></Script>
# For all links, you can turn off the text or image before
# the link text. Use: java-links-feed.pl?&NoDecoration
# Or: java-links-feed.pl?OffSite&NoDecoration
# Add the short description with an additional argument
# Or: java-links-feed.pl?OffSite&NoDecoration&SD
# Style is: .OutsideShortDesc {}
java-links-feed2.pl
This script prints a "button" with a text link title
on the button. This is all javascript and no images
are used. This requires the use of a Style Sheet to
control the colors and style of the buttons. In the
java-links-feed2.pl file, near the top, there are 3
variables that you can change to suite your application.
# Enter the overall table width
# % of width of column.
$Table_Width = '96';
# Align: left - center - right
$Align = 'Center';
# Sets how far apart the 'buttons' are
# Enter 1 - to 20
$Cellspacing = '2';
# The defaults above are good for most applications.
# Style Sheet for java-links-feed2.pl
# td.ButtonBGMouseOver {padding-top: 3px}
# .LinksTable{background:#000000;}
# .ButtonBGMouseOver{background:#C5CFE0;border-style:solid;border-width:1px;border-color:#FF0000;cursor:pointer;cursor:hand;}
# .ButtonBGMouseOut {background:#AEBDD5;border-style:solid;border-width:1px;border-color:#A97A5F;cursor:pointer;cursor:hand;}
# .JavaLinks{color:#000000;margin-left:5px;font-family:Arial;font-size:12px;font-weight:bold;}
# .AddBeforeLink{color:#000000;font-family:Arial;font-size:14px;font-weight:bold;}
# Style Sheet Help: http://www.w3schools.com/css/css_reference.asp
java-links-feed3.pl
This script allows you to define your link format in
any way you need. If you are using a dynamic menu, or
images, this is the program you will want to use.
# Use: <Script src="/cgi-bin/content-manager/java-links-feed3.pl"></Script>
# Format:
# Use [LINK_NAME] instead of the link
# Use [LINK_ADDRESS] instead of a page address
# [LINK_NAME] Great Page
# [SHORT_DESC] short desc of link
# Example code to show format.
$LinkCode = qq(<Table Class=Java3LinkTable><TR><TD><A HREF="[LINK_ADDRESS]">[LINK_NAME]</A><BR>[SHORT_DESC]</TD></TR></TABLE>);
Change the link code to what you need for your template.
Be carefull not to disturb the qq(); all your text goes
inside that variable assignment. There is more help available
in the script.
# For Off Site Links Only
# Use: <Script src="/cgi-bin/content-manager/java-links-feed3.pl?OffSite"></Script>