/
How do I dynamize a simple display object?

How do I dynamize a simple display object?

Q

How do I dynamize a simple display object?

A

atvise supports "Simple Dynamics". The simple dynamics dialog enables you to add dynamizations to your display to create a fully functioning visualization with minimum effort over amouse point and click procedure. It offers you many different ways to influence existing graphic elements or data variables. The best of it, you do not need and programming skills. The code to be executed later in the browser will be automatically

Example: Dynamization of a simple rectangle. When a mouse click happens to it a Window shall be opened.

1.) Draw a rectangle

2.) Right click to the "Dynamics" Window in the lower right window and use the "Add" function

3.)To create and add a "Simple Dynamics" basically 2 steps need to be taken in the opening dialog.

 

a.)First you have to specify the "Event" that shall be taken as source for a dynamization. As example click on "Mouse" and check "Click" and the dynamiztation will be executed when a click on the element is performed.

b.)After that you have to specify the event that shall be executed when the selected event occurs. To finalize the example select "Window", then "Open Window" and an URL of your choice with the size of the window to be opened.

After distribution you get a result like this when you click to the rectangle. You have created your first simple dynamics

The scrode code that has been inserted due to this click sequence is the following


webMI.addEvent("id_0", "click", function(e) {
   var id = "id_0";
   var value = true;
webMI.display.openWindow({extern:false,height:200,menubar:false,modal:false,movable:false,
resizable:false,scrollbars:true,status:false,title:"",toolbar:false,url:"http://www.hilscher.com",width:320,query:webMI.query
});
});


Related content

There are display examples included in atvise Builder library. How can I modify them to meet my demands?
There are display examples included in atvise Builder library. How can I modify them to meet my demands?
More like this
I want to dynamize a display (for example color) based on two variables, how can I do that?
I want to dynamize a display (for example color) based on two variables, how can I do that?
More like this
What is the best method to exchange single event driven information/data between different displays?
What is the best method to exchange single event driven information/data between different displays?
More like this
How can I define global values that are accessible in a display?
How can I define global values that are accessible in a display?
More like this
How can I embed an external URL into my web visualization?
How can I embed an external URL into my web visualization?
More like this
Can I pass on parameters from a parent display to child display?
Can I pass on parameters from a parent display to child display?
More like this