Would it be possible to add an online help feature by doing the following?
In includes/javascript.php put:
Code:
function GetHelp(http://www.yourdomain.com) {
var remote = window.open(http://www.yourdomain.com/docs/index.html, '', 'width=800,height=600,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes')
return
}
And then in header.php modify the body tag like this?
Code:
<BODY onhelp="GetHelp()">
Would this open up a window with the docs that are included with the distribution of nuke when you pressed F1, or would the program strip the javascript?
Could you make this dependent on which page you were on so that the url that opened into the new window would be content sensitive?
_________________ When the blind lead the blind, they both fall in the ditch...
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Sat Aug 30, 2003 5:58 pm
Hi'ya the F1 wouldn't in this case open up a help file from a webpage.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum