• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Fun with Images > Using a Function to Code Multiple Rollovers

Using a Function to Code Multiple Rollovers

Extending the example of the previous script, Script 3.8 shows how the same function can be called many times within the same statement. All you have to do is use a semicolon between commands.

Script 3.8. You can call a function as many times as you want, as long as you separate each call with a semicolon.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint