hi.
i m working on widgets .i want to know is there any possiblity that without opening the browser ,can i open the web page within the container of the widget.
hi.
i m working on widgets .i want to know is there any possiblity that without opening the browser ,can i open the web page within the container of the widget.
You mean to say.. when i launch this application then instead of any application page it will load a browser url, right?
If yes then you can try location.href("{url need to open}") on window.load function in javascript.
Regards,
Ravindra Suthar
Note that href is a property - not a function. Either way it's not a good idea to open a web page in this manner within a widget. First of all you end up losing control of the widget becuase the application is now outside your own code and on a website. Second, it's a bad idea to divide a widget into pages. Instead use a single locally loaded (from within the WGZ) file and modify its DOM using JavaScript.
Peppe