<< Click to Display Table of Contents >>

OZUserActionCommand > ClickSubscreenToolbar

OZUserActionCommandのtypeのうち、ClickSubscreenToolbarはサブスクリーンでツールバーのボタンをクリックしたときに発生し、リターンするattrは以下の通りです。

attr

説明

buttontype

ボタンタイプ(string)

リターンする値:thumbnail、home、prev、next、end、zoomin、zoomout、zoomreset

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

   var MyObj = eval('(' + attr + ')');

   if(type == "ClickSubscreenToolbar") {

       alert(MyObj.buttontype);

   }

}

...