Tuesday, August 02, 2005

FW: [BLKBRD-L] prevent test printing in app pack 3

I have not promoted this at UM but I probably should. The code listed
below is supposed to go into one of the test items, I believe.

Bill Vilberg
305-284-3949 (work); 786-218-3052 (cell); 305-255-9138 (home)

-----Original Message-----
From: blkbrd-l - A list for Blackboard course administrators and faculty
[mailto:BLKBRD-L@asu.edu] On Behalf Of Brusca, Frank X
Sent: Monday, August 01, 2005 2:22 PM
To: BLKBRD-L@asu.edu
Subject: Re: [BLKBRD-L] prevent test printing in app pack 3

We've been using this code in exam instructions. It prevents printing
and copying (but not saving).

Frank Brusca
Instructional Technologist
Department of Information Technology
Roush Hall 015B
Otterbein College
Westerville, OH 43081
(614) 823-1875
(614) 823-1335 FAX
fbrusca@otterbein.edu

Basic Release 6.3.1.374/Win 2003/MS SQL 2000 SP2

<STYLE type=text/css>@media print {BODY
{display:none}!important}</STYLE>

<SCRIPT type=text/javascript>

var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false") else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

</SCRIPT>