Class DHTMLSuite.imageEnlarger

Object
   |
   +--DHTMLSuite.imageEnlarger

class DHTMLSuite.imageEnlarger


Purpose of class: Enlarge an image and displays it at the center of the screen. (Demo)
The constructor accepts an associative array of properties as argument. Possible keys in this array:
isDragable - true if the image is drabable
isModal - true if the image should be modal
closeLinkTxt - Text of close links

Defined in dhtml-suite-for-applications.js

Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0


Field Summary
 Object closeLinkTxt
          
 Object dragOffsetX
          
 Object dragOffsetY
          
 Object isDragable
          
 Object isModal
          
 Object layoutCSS
          
 Object msieOpacity
          
 Object objectIndex
          
 Object resizeTransparentAllowed
          
 
Constructor Summary
DHTMLSuite.imageEnlarger (props)
           
 
Method Summary
 void __setInitProps(props)
           Set initial properties
 void displayImage(imagePath,title,description)
           Display image
 Object hide()
           Hide the image
 void setCloseLinkTxt(closeLinkTxt)
           Set text for close link text
 void setDragOffset(dragOffsetX,dragOffsetY)
           If drag is enabled, you can set drag offset here.
 void setIsDragable(isDragable)
           Specify if the image should be dragable, default = false;
 void setIsModal(isModal)
           Specify if the window should be modal, i.e.
 void setLayoutCss(newLayoutCss)
           Specify new relative path/name to css file(default is image-enlarger.css) The complete path to this file will be the path set by the DHTMLSuite-config object + this value

Field Detail

closeLinkTxt

Object closeLinkTxt

dragOffsetX

Object dragOffsetX

dragOffsetY

Object dragOffsetY

isDragable

Object isDragable

isModal

Object isModal

layoutCSS

Object layoutCSS

msieOpacity

Object msieOpacity

objectIndex

Object objectIndex

resizeTransparentAllowed

Object resizeTransparentAllowed

Constructor Detail

DHTMLSuite.imageEnlarger

DHTMLSuite.imageEnlarger(props)

Method Detail

__setInitProps

void __setInitProps(props)

displayImage

void displayImage(imagePath,title,description)

hide

Object hide()

setCloseLinkTxt

void setCloseLinkTxt(closeLinkTxt)

setDragOffset

void setDragOffset(dragOffsetX,dragOffsetY)

setIsDragable

void setIsDragable(isDragable)

setIsModal

void setIsModal(isModal)

setLayoutCss

void setLayoutCss(newLayoutCss)


Documentation generated by JSDoc on Mon Oct 8 10:17:27 2007