-
nonprinting text
Hi
how can I make this script so printíng will be impossible or in other words can it be done??? The script itself functions ok - but I should really like to have a non-printing function as well.
Can anybody help???
kind regards,
Kirsten
<html>
<head>
<title>kravlenisser</title>
<script language="JavaScript"> <!--
// No rightclick script v.2.5
// (c) 1998 kigs
// admin@kigher.nu
// Don't delete this header!
var message="Undskyld - men disse billeder kan ikke gemmes på din computer uden tilladelse. Kontakt os gerne tlf. 40 53 30 50 Disse nisser er beskyttet efter henholdsvis ophavsretten og fotografiloven. Ingen tilladelse til at bearbejde eller ændre figurerne. Ingen tilladelse til at benytte nisserne uden aftale med X-mas House of Denmark. Sorry, that function is disabled. This work is protected according to the Copyright Act and the Photographs Act. Reediting or amendments prohibited. Must only be used to extent agree with X-mas House of Denmark."
// Message for the alert box
// Don't edit below!
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> </script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_reloadPage(init) { file://reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
-
Dear you.
This is more of a java forum.
There are quite a few javascript forums, where you could find experts for these kind of problems.
Sharbov.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks