[phpwebapp-commits] CVS: documentation/templates/tutorial tutorial.js,NONE,1.1 tutorial.css,NONE,1.1
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-15 07:37:14
|
Update of /cvsroot/phpwebapp/documentation/templates/tutorial In directory sc8-pr-cvs1:/tmp/cvs-serv23469/templates/tutorial Added Files: tutorial.js tutorial.css Log Message: stylesheet and javascript files for the tutorial module --- NEW FILE: tutorial.js --- //this function opens a new window for displaying a code file function codeReview(file_path, highlights, lines) { if (highlights==null) highlights = ''; if (lines==null) lines = ''; var url = "codeReview.php?file="+file_path +"&highlights="+highlights +"&lines="+lines; var features = "menubar=no,toolbar=no,status=no," +"location=no,resizable=yes,scrollbars=yes"; window.open(url, "codeReview", features); } --- NEW FILE: tutorial.css --- h1, h2 { text-align: center; } h1, h2, h3, h4, h5 { color: #660000; } pre { background-color: #eeeeee; border: 1px solid #0000aa; color: #00aa00; } strong { color: #000066; font-size: 14px; font-weight: bold } .button { margin: 0 0; padding: 0px; } .button a { margin: 0; padding: 1px; font-family: arial, helvetica, sans-se; font-size: 10pt; font-weight: bold; text-align: center; text-decoration: none; color: #665544; background-color: #ccddee; white-space: nowrap; border: 1px solid #667788; } .button a:hover { background-color: #ddeeff; } |