JWRmedia
Oct 28th 2008, 5:50 pm
Sounds easy enough. Only I cant get it to work with the following code inside a .js file:
var bottomToolbar = [];
bottomToolbar.push({
text: FR.T('Help'),
handler:function(){
document.location.href = 'http://example.com/help.html';
},
icon: FR.baseURL+'/images/page_white_go.gif',
cls: 'x-btn-text-icon'
});
Does anyone know how I can modify this to make example.com/help.html open in a new window when the button is clicked? Right now it opens in the same window.
Thanks
var bottomToolbar = [];
bottomToolbar.push({
text: FR.T('Help'),
handler:function(){
document.location.href = 'http://example.com/help.html';
},
icon: FR.baseURL+'/images/page_white_go.gif',
cls: 'x-btn-text-icon'
});
Does anyone know how I can modify this to make example.com/help.html open in a new window when the button is clicked? Right now it opens in the same window.
Thanks