dhtml| Link a lot of JavaScript Master's home page is written with the link of JavaScript Scroll bulletin board, not only to make the homepage limited space to show more content, but also make the homepage added dynamic effect, it is pleasing, so many do not understand the novice JavaScript envy unceasingly. In fact, without JavaScript, the subtitle <marquee> provided with dhtm can achieve the same effect, and much simpler. Below I will introduce the following subtitles for you to use:
Inserts a marquee in an HTML document with a <marquee></marquee> tag. Subtitles <marquee> has the following attributes:
Align: subtitle text alignment
Width: Caption Height
High: Caption Height
Direction: text scrolling direction, its value desirable right,left,up,down;
Behavior: Subtitle Dynamic effect, its value is preferable scroll (scrolling), slide (slide), Alteernat (alternating), the default value is scroll;
Scrolldelay: Scrolling delay time, in milliseconds
ScrollAmount: Scrolling quantity, per pixel.
In addition, the caption text can be decorated with color,bgcolor,font-size properties. The subtitle text is written between the <marquee></marquee> tag pairs, and the subtitle text can also be inserted into the HTML tag, which allows us to insert the hyperlink in the subtitle text. In order to better control the position of the subtitles on the page, it is advisable to put the subtitles in the table. Here is an example of a scrolling bulletin bar with links:
<table border=″0″cellpadding=″0″cellspacing=″0″width=″100%″height=″80″>
<tr>
<TD Width=″100%″height=″77″><marquee Direction=″up″height=″50″scrollamount=″2″
Style=″color:rgb (100,100,100); Font-family: Song body _gb2312; Font-size:9pt″width=″500″border=″0″>
Welcome to visit: <a href=″http://202.200.93.33″> game mobilization </a> our slogan is just play.
This site includes the following columns:
Web page making teaching: <a Href=″jiaocheng/flash/teach.htm″>flash tutorial </a>,<a href=″jiaocheng/dhtml/dhtml1.htm″> Dhtm Tutorials </a>,javascript Tutorials, <a href=″jiaocheng/dhtml/aspbase.htm″>asp Tutorials </a>
Games: Provide local downloads
Happy small software: very fun, good things to share with friends, may wish to give your friends
</marquee></td>
</tr>
</table>
Also, note that the FRONTPAGE98 editor does not support inserting HTML tags in subtitle text, so you can edit them with a text editor by using the FrontPage98 editor to edit the above code in a Web page. Try it quickly!