Tutorial
5.6 Adding interactive objects
GoLive 5 allows you to add multiple types of interactive objects to your Web page, rollover (scrolling) buttons, scrolling marquees (scroll boxes), JavaScript animations, and so on, and their features are listed below.
1. Full performance rollover button features
The rollover button can produce an animation effect based on an image button: When the mouse pointer is elsewhere, it is displayed as the original state, which is the image that the Web browser loads, and when the mouse pointer is over it, it appears as another image, and when clicked, it is displayed as another image. So you can use two or three images on the same button to create a variety of moods. Two images enable the button to produce two display effects, and three images show three kinds of effects. And you can simply use the image of a few button patterns, you can also use rich and complex images to make rollover buttons, the two application methods GoLive 5 can be well supported.
2. Light 忪 Create Rollover button
To create a rollover button, you simply have to prepare the desired images and insert them in the rollover button in the order in which they appear.
3. Light 忪 Create scrolling marquees
Use the scrolling marquees (scroll box) in a Web page to scroll through the display of some textual information in a dynamic manner. For example, important news, ads, program trailers and other Web pages common content can be used to make, in fact, the current use of the function of the site is really a lot, many personal ability to display the personal site as much as possible web page technology, but also forget to apply it. In GoLive 5 You only need to explain the location of scrolling marquees, and then enter the text you want to display, and everything will be OK!
4. Full application of JavaScript
GoLive 5 has built-in JavaScript (and JScript)-enabled modules, which means they can be used to add interactivity to Web pages, validate form input, enhance visual display, and give Web pages a variety of practical dynamic browsing controls. The script Editor provided by the software creates and edits JavaScript, builds scripts and embeds the current Web page in application JavaScript, and tests it immediately in the target browser. If you want to refer to a JavaScript program from a third party, it's a breeze!
In order to create the rollover button, you need to prepare the required two or three images beforehand, and the size of each image is best consistent, or very different (these problems can be solved by Adobe Photoshop). Once they are ready, you can create a rollover button by doing the following.