Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reset the extension Object size in Javascript

Hi All,

I have created a flash map as a custom extension and used it in my document. The users can resize the map and they should be able to reset it to original size by clicking a button. I have created a HTML button for this but am not able to get the exact function which will resize the height and width of the object.

Here is the HTML for the button..

_html += "<div id='drilldiv' input type='button' style='background-color: blue;' onclick=DrillMapResize('WorldwithCountries') value='Global View'>Global</div>";

The function 'DrillMapResize' should reset the oject size (width: 800, height: 2500)

Can someone help me with the exact function to resize the object.

Thanks,

Haneesh

0 Replies