Is it possible to print page without my website url on top of page?
how would i modify or change my code:
<SCRIPT Language="Javascript">
function printit(){
if (window.print) {
window.print() ;
} else {
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = "";
}
}
</script>
<SCRIPT Language="Javascript">
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
if (VERSION > 3) {
document.write('<form><input type=button value="Print copy" name="Print" onClick="printit()"></form>');
}
</script>
is it possible to do this:
if webpage is navigated and not opened by frame, redirect navigation to www.whateversite.com
and how would i do that?
i got this:
<script>
top.location = "http://www.thissite.com"
</script>
but it's still redirecting even when it detects name = same
i have a form calculator. can i make it print out only the ones that has been input only?
and leave out the ones that are blank, thanks
how would i modify or change my code:
<SCRIPT Language="Javascript">
function printit(){
if (window.print) {
window.print() ;
} else {
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = "";
}
}
</script>
<SCRIPT Language="Javascript">
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
if (VERSION > 3) {
document.write('<form><input type=button value="Print copy" name="Print" onClick="printit()"></form>');
}
</script>
is it possible to do this:
if webpage is navigated and not opened by frame, redirect navigation to www.whateversite.com
and how would i do that?
i got this:
<script>
top.location = "http://www.thissite.com"
</script>
but it's still redirecting even when it detects name = same
i have a form calculator. can i make it print out only the ones that has been input only?
and leave out the ones that are blank, thanks