Emaze Auction: Scrolling Marquee Banner #linkText1# #nonLinkText1#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID1# 1. Lot #Form.lotID1# does not exist. #linkText1# #nonLinkText1#'"> #linkText2# #nonLinkText2#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID2# 2. Lot #Form.lotID2# does not exist. #linkText2# #nonLinkText2#'"> #linkText3# #nonLinkText3#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID3# 3. Lot #Form.lotID3# does not exist. #linkText3# #nonLinkText3#'"> #linkText4# #nonLinkText4#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID4# 4. Lot #Form.lotID4# does not exist. #linkText4# #nonLinkText4#'"> #linkText5# #nonLinkText5#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID5# 5. Lot #Form.lotID5# does not exist. #linkText5# #nonLinkText5#'"> #linkText6# #nonLinkText6#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID6# 6. Lot #Form.lotID6# does not exist. #linkText6# #nonLinkText6#'"> #linkText7# #nonLinkText7#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID7# 7. Lot #Form.lotID7# does not exist. #linkText7# #nonLinkText7#'"> #linkText8# #nonLinkText8#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID8# 8. Lot #Form.lotID8# does not exist. #linkText8# #nonLinkText8#'"> #linkText9# #nonLinkText9#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID9# 9. Lot #Form.lotID9# does not exist. #linkText9# #nonLinkText9#'"> #linkText10# #nonLinkText10#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID10# 10. Lot #Form.lotID10# does not exist. #linkText10# #nonLinkText10#'"> #linkText11# #nonLinkText11#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID11# 11. Lot #Form.lotID11# does not exist. #linkText11# #nonLinkText11#'"> #linkText12# #nonLinkText12#'"> SELECT lotName FROM Lot WHERE lotID = #Form.lotID12# 12. Lot #Form.lotID12# does not exist. #linkText12# #nonLinkText12#'"> ">

Scrolling banner fields updated.


Scrolling Marquee Banner

You can have up to 12 links. For each link, you can either specify the lotID or the link URL and name. If you specify the lotID, the system automatically inserts the URL and lot name. You can also specify text to appear after the link. We automatically insert a space to separate them. Do not use any single quotes (') since this will screw up how the system separates each component.

Please note this scrolling banner uses JavaScript and dynamic HTML. It is pretty cool, but requires Netscape 4 or IE 4 (or greater). For older browsers, it can cause some pretty weird effects if the browser does not know what the page layout will be. So if possible, always specify the height and width of your image tags, or make sure they will show up.


To display the banner, add the following text to the page:

<IMG SRC="blank.gif" BORDER=0 NAME="holdspace" ID=""oldspace" WIDTH="400" HEIGHT="21" STYLE="visibility:hidden; position:relative;">
You can set the height and width to whatever you want. The marquee works by displaying itself over an image, in this case called blank.gif . Users who have browsers that do not support JavaScript or dynamic HTML will see the image instead.

Then somewhere in the file after the above statement, add the following:

<SCRIPT LANGUAGE="JavaScript1.2">
<!--
	if (navigator.appVersion.indexOf("MSIE 4.0; Macintosh;") == -1) {
	  with (document) {
	    write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='system/bannerconfig.js'>");
	    write("<\/SCRIPT>");
	    write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='system/banner.js'>");
	    write("<\/SCRIPT>");
	  }
	}
	//-->
</SCRIPT>
Please note the relative path, 'system/bannerconfig.js' and 'system/banner.js' . The path is from the location of the URL the file. So if you are calling this from the template/defaultLot.cfm page to display on the homepage, you should not use a "../" since the system recognizes the URL as index.cfm in the main directory.


Interval:   Banner Color:
Increment: Left Padding:
Pause: Top Padding:

# Lot ID URL Linked Text Non-Linked Text
1 VALUE=#ListGetAt(lotIDList,1)#> VALUE="#linkURL1#" VALUE="#systemURL#/"> VALUE="#linkText1#"> VALUE="#nonLinkText1#">
2 VALUE=#ListGetAt(lotIDList,2)#> VALUE="#linkURL2#" VALUE="#systemURL#/"> VALUE="#linkText2#"> VALUE="#nonLinkText2#">
3 VALUE=#ListGetAt(lotIDList,3)#> VALUE="#linkURL3#" VALUE="#systemURL#/"> VALUE="#linkText3#"> VALUE="#nonLinkText3#">
4 VALUE=#ListGetAt(lotIDList,4)#> VALUE="#linkURL4#" VALUE="#systemURL#/"> VALUE="#linkText4#"> VALUE="#nonLinkText4#">
5 VALUE=#ListGetAt(lotIDList,5)#> VALUE="#linkURL5#" VALUE="#systemURL#/"> VALUE="#linkText5#"> VALUE="#nonLinkText5#">
6 VALUE=#ListGetAt(lotIDList,6)#> VALUE="#linkURL6#" VALUE="#systemURL#/"> VALUE="#linkText6#"> VALUE="#nonLinkText6#">
7 VALUE=#ListGetAt(lotIDList,7)#> VALUE="#linkURL7#" VALUE="#systemURL#/"> VALUE="#linkText7#"> VALUE="#nonLinkText7#">
8 VALUE=#ListGetAt(lotIDList,8)#> VALUE="#linkURL8#" VALUE="#systemURL#/"> VALUE="#linkText8#"> VALUE="#nonLinkText8#">
9 VALUE=#ListGetAt(lotIDList,9)#> VALUE="#linkURL9#" VALUE="#systemURL#/"> VALUE="#linkText9#"> VALUE="#nonLinkText9#">
10 VALUE=#ListGetAt(lotIDList,10)#> VALUE="#linkURL10#" VALUE="#systemURL#/"> VALUE="#linkText10#"> VALUE="#nonLinkText10#">
11 VALUE=#ListGetAt(lotIDList,11)#> VALUE="#linkURL11#" VALUE="#systemURL#/"> VALUE="#linkText11#"> VALUE="#nonLinkText11#">
12 VALUE=#ListGetAt(lotIDList,12)#> VALUE="#linkURL12#" VALUE="#systemURL#/"> VALUE="#linkText12#"> VALUE="#nonLinkText12#">