![]() |
scrolling marquee You probably have a scrolling marquee screen-saver on your computer. A scrolling marquee is scrolling text. Internet Explorer is able to have text scrolling across the browser window. Usually text is displayed in a marquee but Internet Explorer 4 allows for images, lists, tables, videos and even links to scroll. This is the full marquee tag: <marquee behavior=scroll direction=left srolldelay=100 scrollamount=40>This text scrolls from right to left moving 40 pixels after a delay of 100 milliseconds</marquee> behavior can be set to scroll, slide or alternate. Scroll and slide are almost similar except that with slide the marquee returns to the side it cam from as soon as the nearest point meets the opposite side. With scroll however the marquee does not return to the other side until all of the marquee has disappeared past the opposite side. If you set it to alternate the marquee will bounce from one side to the other. direction can be set to left or right, left scrolls from right to left and right scrolls from left to right scrolldelay and scrollamount are used to determine the speed of the marquee, for example the above tag creates a marquee that moves 40 pixels every 100 millisecond, this is the same as 400pixels/second. |
![]() |
There is no point in showing you a picture of a scrolling marquee because it will be still (obviously) and will not have the same effect! Just try it out. background sound You can set a ".wav", ".mid" or any other sound file to play in the background when your page is opened. The only attribute of the tag is "loop=", this can be set to any number and the file will play that many times. Here is the completed tag: <bgsound src= "sound.wav" loop= "3"> Obviously I cannot provide an Explorer View of a sound so we will just continue with the next tag! fixed background We discussed earlier in the book this attribute of the body tag: <body bgproperties=fixed> I just want to tell you that this attribute will only work with Internet Explorer. embedded video There are two ways to embed video with Internet Explorer, one of them is the way set by Microsoft and the other is the way set by Netscape which actually also works with Internet Explorer. I will discuss the Microsoft way first. The way to do this is to use this attribute of the <img> tag: <img dynsrc= "video.avi"> You can then use all the attribute of the tag, which we discussed in chapter 5. You can also provide an alternative image like this: |
![]() |
<img dynsrc= "video.avi" src= "alternative picture.gif"> for those viewing your site without Internet Explorer. Supposedly you can also include controls for your video by including the attribute "controls" but I cannot get it to work. And now for the Netscape way The Netscape way of embedding makes it possible also to embed sound files. It is very easy. This is the tag. <embed src= "video.avi"> <embed src= "sound.wav"> I recommend that you use this way if you are going to embed video because it will appear on both Internet Explorer and Netscape Navigator and the viewer will have controls. It is not however as visually attractive. Explorer View 11.1 - click on the
image to see a bigger and clearer version
All of the tags in this chapter are designed by Netscape and all except the <embed> tag can be viewed only with Netscape Navigator. This is a very short chapter. I can not show you any resulting screen shots because I do not have Netscape Navigator. |
![]() |
blinking text It is possible to have text blink on and off with Navigator. There are no attributes to take into account just the start and end tags. <blink>now you see it, now you dont, now you see it</blink> On other browsers the text will appear normally. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
multiple columns You can split your text and images into multiple columns using the <multicols> tag. Here it is in its completed form. <multicols cols=3 gutter=30 width=800>your text goes here</multicols> cols sets the number of columns gutter sets in pixels the space between each column width sets in pixels the width of the entire browser window blank space It is possible with the <spacer> tag to leave sections of your page blank. There are three types of spacers, horizontal, vertical and block. There is no need for me to describe each one. If you set type to either horizontal or vertical then you must include the attribute "size=" and set it in pixels. If you set type to box then you must include three other attributes, "height=" and "width=" are both measured in pixels and "align=" can be set to left or right. For example: <spacer type= "horizontal" size= "80"> <spacer type= "vertical" size= "100"> <spacer type= "block" height= "50" width= "300"> embedding videos and sounds We discussed in the last chapter the Netscape tag for embedding videos and sounds and there is also a screen shot of what the embedded media looks like.
![]() next lesson  home  comment  more downloads  download this |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This lesson was different than the others and so will the builder be. The changes you make during this session depend on your browser. There will be a section for the "Explorers" and a section for "Navigators". There are two documents however that all of you must change the same. They are "menu.html" and "detailed.html". Both of these just require an additional anchor at the bottom. "Detailed.html" is quite long so I will not show the entire document just the bit at the end. Notepad Viewer- HTML Builder 8.1(detailed.html)
This is the anchor that you must add to the bottom of "menu.html": <a href="builder.html#lesson8" target="window">Lesson 8</a><br> Both the anchors we inserted led to "builder.html#lesson8", this does not yet exist so we must create it. I trust that at this stage you will be able to add what I tell you without me showing you the complete listing. I want those of you with Internet Explorer to add this to the end of your page: Notepad Viewer- HTML Builder 8.2(builder.html)
And I want those of you with Netscape Navigator to add this to the end of "builder.html": Notepad Viewer- HTML Builder 8.3(builder.html)
Those of you with Internet Explorer will have to create "explorer.html" and those of you with Netscape Navigator will have to create "navigator.html". Both of these require friends.qt, "explorer.html" also requires image.gif, explorersound.wav,indexsound.wav and scrollingimage.gif, "navigator.html" requires navigatorsound.wav. Even if you have downloaded this lesson you will still have to download friends.qt & explorersound.wav and indexsound.wav OR navigatorsound.wav, if you are reading this online then you will also need to download image.gif & scrollingimage.gif (if you need them, you don't need them if your browser in Netscape). Right-click on the links you want to download and choose "save target as..." or "save link as...", whichever appears (it will depend on your browser). Save the files in the same folder as your html builder file.Notepad Viewer- HTML Builder 8.4(explorer.html)
Notepad Viewer- HTML Builder 8.5(navigator.html)
"Navigators" are now finished but "explorers" have one more change to make. I want you to change "index.html", not a big change, just add a background sound to it by including this tag between the <body> and </body> tags: <bgsound src= "indexsound.wav"> ![]() next lesson  home  comment  more downloads  download this |
This document was last modified
by the author (above) on 5/12/1998
© copyright 1998