decorative banner

About creating rollovers in GoLive


    GoLive offers two ways of adding mouse rollovers to your Web page--Smart rollovers and Lean rollovers. Smart rollovers offer the benefit of supporting nested actions. Smart rollovers have more JavaScript code, but GoLive allows you to strip out all the JavaScript code and place it in an external JavaScript file. This provides better performance than having the JavaScript written directly into the source code inline. (See Setting upload options.)

    As an alternative to Smart rollovers, you can create Lean rollovers. Lean rollovers do not provide the Smart rollovers benefit of using nested actions but may result in leaner HTML code.

    Whether you use Smart or Lean rollovers, the new Detect Rollover Images feature lets you automate assigning images to rollovers, which saves time and ensures consistency.

    Both Smart and Lean rollovers manage their links within the JavaScript code. If you change the name or location of any file referenced by a Smart rollover object, GoLive automatically asks you whether or not to update the links for the Smart rollover. You don't have to keep track of rollover links yourself. Smart rollovers also support nested actions.

    Tip iconPhotoshop users should set the HTML output options to Include GoLive Code so rollovers will be fully editable in GoLive.