Skip to content

Image maps

Rafał Grabie edited this page Jul 27, 2013 · 6 revisions

API-Reference
Axure Page | Masters | Dynamic panels | Button shapes and rich text panels | Image map regions

Methods

setTooltipText(txt)

Change element's tooltip text.
        scriptContext.setTooltipText('Click to see more ...');

scrollToThis(scrollX, scrollY, easing, duration)

Scroll document (or dynamic panel contents) to a location where the image map is.
Parameters:
  • scrollX, scrollY - boolean flags determining the dimensions of scrolling.
  • easing - string identifier of an easing method used (the same as in Axure)
  • duration - duration time of a transition in miliseconds (if easing is not 'none')
  • Default parameters: scrollToThis(false, true, 'none', 500)
        // scroll vertically without animation
        scriptContext.get('image-map-1').scrollToThis();
        // scroll horizontally in 1 second, bouncing
        scriptContext.get('image-map-2').scrollToThis(true, false, 'bounce', 1000);

Clone this wiki locally