shieldui - Passing arguments to a new window after click on a Shield UI JavaScript pie chart -
i using shield ui javascript chart on web page. current type of chart pie. need provide users more data after click on slice of pie. data provided in separate window, , need pass parameters in url of opened document. tried techniques; none of them working properly. use pointselect events
events: { pointselect: function(args) { } },
but stuck @ point. appreciate help.
if open window window.open
, can reference window afterwards:
var w = window.open("http://www.google.com/", "popup"); // wait window load , w.onload = function(){ w.dosomething(); };
see https://developer.mozilla.org/en-us/docs/web/api/window.open
if have pass parameters, can make use of location.hash
, example, link page.html#/some/variables/here
, split location.hash
, etc.
Comments
Post a Comment