/* external file "myvsparmsg.txt" begins */ // begin: Vertical Scroller's Parameters - //width of the Scroller in pixels: set to your own; var mwidth=160; //height of the Scroller in pixels: set to your own; //larger Messages (exceeding height) will slide OK anyway, // but the exceeding height won't show up on Recall! var mheight=220; //BACKGROUND: either color(1) or image(2) ; //1.Background color: could be like: "#ffff00" or "yellow"; //set it "" for no background color; var mcolor=""; //or 2.Background image: "imagename.ext"; //leave it "" for no image background; var mbground="images/bg2.jpg"; //border for scrolling area: 1, ... ; //set it 0(zero) for no border; var mborder=0; //speed in pixels: the higher the faster - set your own! var mspeed=3; //pause between messages in milliseconds: 1000=1s; set to your own; var mpause = 2000; //speed for exceeding portions in milliseconds: 1000=1s; //the higher the slower: set to your own; //"20" equals the speed to the main portion! //leave it unchanged otherwise; var epause=20; //1: First message shows up right at top edge (or cell-centered) and pauses; //0: First message shows up at bottom edge and starts scrolling //then pauses at the top edge (or cell-centered); var udopt=0; //More than one message may reside within scrolling area //while pausing: 0 (not desired) or 1 (desired); //Should one choose this option - value 1, automatically //a blank space is inserted after each and every message; //retclass would set the vertical size for this blank space; var msgnr=0; if(msgnr==1){ var retclass='class="stileret"'; } //Cell-centered if single message in the area chosen above; //0: (not desired) or 1 (desired) var celcen=1; //Live speed-change option: 0 (not desired) or 1 (desired); //vesclass would be the STYLE //celcolor would be background color var lsopt = 0; if(lsopt==1){ var vesclass='class="stileupdn"'; var celcolor='#ccffcc'; } //Recall Option: //set it 0 if not desired and the scroll will go on; //set it 1 if desired: after a complete cycle the scroll stops //and you may recall randomly any Message/Image; var rcopt=0; if(rcopt==1){ var cbtxt = new Array(); //MUST BE as many TEXTs as the number of Messages/Images; //Set your own TEXTs, like Messages Title or what you have in there: //cbtxt = ["1-TITLE", "2-Features", "3-Recall Option", "4-Other Possibilities", "5-Check"]; cbtxt=[]; } //end Parameters //=== // begin: Vertical Scroller's Messages/Images - var slmg=new Array(); //Stand alone Images only - as many as you'd like; //If no preloading desired go to Messages and fill in as usual: //slmg[..]=''; ... //If you want to preload them all when loading your page: //Remove all lines from: //Messages: ... up to ... //end Messages //Remove "//" from next 6 lines and set your images in first one; //slmg=["image1name.ext", "image2name.ext", ...]; //var preloadname = new Array(); //for(pp=0;pp';} //end stand alone Images //Messages: as many as you'd like: set to your own; //Every message MUST be set as a continuous string within '...'; //you may split it by using '+ at ends and then ' at continuations; //Inside any message you MUST use \' in lieu of ' if need be! //
and
are recommended //for alignment and/or Size, color, ... control; //Images used within a message - preload is recommended: //preloadname = new Image(); //preloadname.src = "imagename.ext"; //slmg[..]='< ... ><...>'; //here is where we open the scroller_body.txt file and read it then we print the lines so the scroller can read them slmg[0]='
TEST Product One
This product does not have a hyper link '+ '
'+ '
'; slmg[1]='
Test Product 2 this Product does '+ '
'+ '
'; slmg[2]='
This Product IS RED and does not have a hyperlink '+ '
'+ '
'; // ... //slmg[...]='...'; //end Messages /* end of external_remote file "myvsparmsg.txt" */