![]() |
![]() |
|
|
||
We used to get a lot of requests for instructions about how to create scrolling content like on the Master Series pages. Then we posted a link to a demonstration-tutorial. The link has a click counter. It's a popular destination. (See URL http://willmaster.com/master/ for an example). There are two methods for presenting scrolling content IFRAME and popup. The IFRAME method puts a window with scrolling content on your web page. The content can be text, images, anything a regular web page can contain. The content scrolling in the window is actually inserted into the window from a separate web page. (Note: the IFRAME tag is not supported in Netscape versions prior to 6.) The popup method is similar to the IFRAME method, except the scrolling content is displayed in a popup window instead of a window embedded on your web page. The scrolling content can be testimonials, the latest news, lists of product features, and other information that should be available for those interested and would otherwise require lots of space. It can also be used as a design feature. The scrolling window attracts attention. It used to require lots of custom coding to create a scrolling window and enough familiarity with JavaScript to customize according to instructions. It was a serious drawback to implementation. Now it's easier. There's a generator. You'll find it at http://willmaster.com/a/16/pl.pl?art163 Simply fill in the form and click the button. The generator will then provide all the code you need to implement a scrolling content window using the IFRAME tag and/or popups.
When you generate the code, you will need to specify
Optionally, you may also specify
After you click the button and generate the code for your scrolling content window, there is one number you might need to adjust. (The instructions are clear, including a count to the exact line containing the number.) It's the "ScrollDepth" number, and it represents the number of pixels the window will scroll before it starts again at the top. The "ScrollDepth" number is the magic number you adjust to tell the JavaScript how far to scroll. You fix it right in the generated code. The generator does a pretty good job of guessing the correct "ScrollDepth" number. If you're using default text size and no unspecified-size images or other page elements that require visual space, then you might not have to change it at all. When you change text size or style, or use all capital letters that make more lines, or use images, or change the scrolling window size, all these things change the depth of the content. That means the window must scroll more or less than it did before. Whenever you change your content or window size, you may also need to adjust the "ScrollDepth" number. It could require a bit of trial and error to find the best number. Now, collect all those unsolicited testimonials folks have emailed to you, format them with HTML, and pop them into the generator. It's about time people know how good you are :) By: Will Bontrager Copyright 2002 Bontrager Connection, LLC
| ||