Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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