fixed.html
12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery NiceScroll Test 2.2.0</title>
<style type="text/css">
#boxscroll {
padding: 40px;
height: 220px;
width: 460px;
border: 2px solid #00F;
overflow: auto;
margin-bottom:20px;
margin-right: auto;
margin-left: auto;
}
#boxscroll2 {
padding: 40px;
height: 120px;
width: 500px;
border: 2px solid #F00;
overflow: auto;
position: fixed;
top: 200px;
left: 200px;
}
#boxscroll3 {
overflow: hidden;
}
#boxframe {
position:absolute;
top:8px;
left:420px;
width:400px;
height:300px;
overflow:auto;
border: 2px solid #0F0;
}
#boxscroll4 {
height: 150px;
margin-top: 40px;
background-color: #00FF66;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 18px;
padding: 20px;
color: #006633;
overflow: auto;
}
</style>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>
<script>
$(document).ready(function() {
// $("html").niceScroll(); // The document page (html)
$("#boxscroll").niceScroll({touchbehavior:false,cursorcolor:"#00F",cursoropacitymax:0.7,cursorwidth:11,cursorborder:"1px solid #2848BE",cursorborderradius:"8px",background:"#ccc",autohidemode:"scroll"}).cursor.css({"background-image":"url(img/mac6scroll.png)"}); // MAC like scrollbar
$("#boxscroll2").niceScroll({touchbehavior:false,cursorcolor:"#00F",cursoropacitymax:0.7,cursorwidth:6,background:"#ccc",autohidemode:false});
});
</script>
<script>
function doRemove(name) {
$(name).getNiceScroll().remove();
};
var vis = true;
function toggleVisibility() {
vis = !vis;
var ns = $("#boxscroll").getNiceScroll();
(vis) ? ns.show() : ns.hide();
}
function toggleDiv() {
var dv = $("#boxscroll");
var vv = (dv.css('display')!='none');
(vv) ? dv.hide() : dv.show();
// var ns = dv.getNiceScroll();
// ns.resize();
}
</script>
<meta name="viewport" content="user-scalable=no" />
</head>
<body>
<div id="div1">NiceScroll version:</div>
<script>$(function(){var nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})</script>
<div style="height:400px"></div>
<div id="boxscroll" style="display:none2">
THIS IS A SIMPLE SCROLLABLE DIV
<h2> Package Description </h2>
<p>Release Date: August 10, 2010</p>
<p>The <a title="http://www.openprinting.org/show_driver.cgi?driver=hpijs" rel="nofollow" href="http://www.openprinting.org/show_driver.cgi?driver=hpijs">HPIJS</a> driver is the free, <a title="http://hplipopensource.com/hplip-web/index.html" rel="nofollow" href="http://hplipopensource.com/hplip-web/index.html">open-source driver</a> issued by HP for their DeskJet and LaserJet printers. For most <a title="" href="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs#Printers">supported printers</a>, this driver produces output quality equivalent to the proprietary HP drivers. In photo mode, with photo paper, the output quality is very high, especially for the HP DeskJet 990C and later models, which auto-detect the paper type in hardware. Photo printing is fully supported in the newer 6- and 7-ink models.</p>
<p>A major advantage of using this driver over those supplied by HP is the direct interface between HPIJS and the native CUPS spooler, which allows printing from any printer over any available connection such as USB, AppleTalk, TCP/IP (via LPD and IPP), HP JetDirect, and shared windows printers via SAMBA. Additionally, this driver utilizes the existing Mac OS X USB "backend" and thus does not install any software that might interfere with standard USB operation.</p>
<p>Please note:</p>
<form id="form1" name="form1" method="post" action="">
<p>
<input type="text" name="a" id="a" />
<input name="" type="button" onclick="this.value+=1" value="1" />
<input name="" type="checkbox" value="1" />
<select name="" >
<option>- 1 -</option>
<option>- 2 -</option>
<option>- 3 -</option>
<option>- 4 -</option>
</select>
</p>
<textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
</form>
<ul>
<li>HP does not provide any support for HPLIP or HPIJS on the Mac OS X platform.</li>
<li><a href="http://www.linuxfoundation.org/en/OpenPrinting/MacOSX/hpijs-USB">Several HP USB devices</a> may not print successfully over the standard Mac OS X USB "backend". Please <a href="http://www.linuxfoundation.org/en/OpenPrinting/MacOSX/hpijs-USB">see this note</a> for more information.</li>
</ul>
<h2>Release Notes</h2>
<ul>
<li>This release fixes a problem with the PPDs that caused many job options such as page orientation, color/grayscale mode, duplex printing, etc. to fail.</li>
<li>HPIJS is HP's universal printer driver for most of their non-PostScript printers. It comes as a part of HPLIP, HP Linux Imaging and Printing.</li>
<li>The PPDs for HP printers are now sourced from the HPLIP package rather than the OpenPrinting.org database.</li>
<li>PPDs for printers from other manufacturers are provided by OpenPrinting.org.</li>
<li>Some printers are only partially supported. Printers such as<br />
HP LaserJet 1022<br />
HP LaserJet p1505n<br />
HP LaserJet p12014<br />
HP LaserJet p2035<br />
require a proprietary plug-in for full support. This package does not contain or support such plug-ins.</li>
</ul>
<p><a name="Printer_Set_Up_Instructions" id="Printer_Set_Up_Instructions"></a></p>
<h2> Printer Set Up Instructions </h2>
<p>To add a printer queue, Leopard (Mac OS X 10.5.x) users should use the Print & Fax from System Preferences. Click on the + (plus) icon at the lower left. A new window will open. In that window, click the Default Browser icon at the top left. Highlight your printer in the section below. Use the "Print Using" pop-up menu near the bottom of the window to select the correct PPD for your printer and click Add.</p>
<p>Tiger users should open the Printer Setup Utility and click on the Add icon at the top of the Printer List window. A new window will open. In that window, click the Default Browser icon at the top left. Highlight your printer in the section below. Use the "Print Using" pop-up menu near the bottom of the window to select the correct PPD for your printer and click Add.</p>
<p>Jaguar (OS X 10.2.x) and Panther (OS X 10.3.x) users should open Print Center (Jaguar) or Printer Setup Utility (Panther), hold down the Option key, and click the Add Printer button in the Print Center toolbar. Within the setup sheet, choose Advanced from the top popup menu; then in the "Device:" popup menu select your printer by name (it should be the last item in the menu list). Finally, select the correct PPD from the model browser and click Add.</p>
</div>
<div id="boxscroll2" style="display:none2">
THIS IS A SIMPLE SCROLLABLE DIV
<h2> Package Description </h2>
<p>Release Date: August 10, 2010</p>
<p>The <a title="http://www.openprinting.org/show_driver.cgi?driver=hpijs" rel="nofollow" href="http://www.openprinting.org/show_driver.cgi?driver=hpijs">HPIJS</a> driver is the free, <a title="http://hplipopensource.com/hplip-web/index.html" rel="nofollow" href="http://hplipopensource.com/hplip-web/index.html">open-source driver</a> issued by HP for their DeskJet and LaserJet printers. For most <a title="" href="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs#Printers">supported printers</a>, this driver produces output quality equivalent to the proprietary HP drivers. In photo mode, with photo paper, the output quality is very high, especially for the HP DeskJet 990C and later models, which auto-detect the paper type in hardware. Photo printing is fully supported in the newer 6- and 7-ink models.</p>
<p>A major advantage of using this driver over those supplied by HP is the direct interface between HPIJS and the native CUPS spooler, which allows printing from any printer over any available connection such as USB, AppleTalk, TCP/IP (via LPD and IPP), HP JetDirect, and shared windows printers via SAMBA. Additionally, this driver utilizes the existing Mac OS X USB "backend" and thus does not install any software that might interfere with standard USB operation.</p>
<p>Please note:</p>
<form id="form1" name="form1" method="post" action="">
<p>
<input type="text" name="a" id="a" />
<input name="" type="button" onclick="this.value+=1" value="1" />
<input name="" type="checkbox" value="1" />
<select name="" >
<option>- 1 -</option>
<option>- 2 -</option>
<option>- 3 -</option>
<option>- 4 -</option>
</select>
</p>
<textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
</form>
<ul>
<li>HP does not provide any support for HPLIP or HPIJS on the Mac OS X platform.</li>
<li><a href="http://www.linuxfoundation.org/en/OpenPrinting/MacOSX/hpijs-USB">Several HP USB devices</a> may not print successfully over the standard Mac OS X USB "backend". Please <a href="http://www.linuxfoundation.org/en/OpenPrinting/MacOSX/hpijs-USB">see this note</a> for more information.</li>
</ul>
<h2>Release Notes</h2>
<ul>
<li>This release fixes a problem with the PPDs that caused many job options such as page orientation, color/grayscale mode, duplex printing, etc. to fail.</li>
<li>HPIJS is HP's universal printer driver for most of their non-PostScript printers. It comes as a part of HPLIP, HP Linux Imaging and Printing.</li>
<li>The PPDs for HP printers are now sourced from the HPLIP package rather than the OpenPrinting.org database.</li>
<li>PPDs for printers from other manufacturers are provided by OpenPrinting.org.</li>
<li>Some printers are only partially supported. Printers such as<br />
HP LaserJet 1022<br />
HP LaserJet p1505n<br />
HP LaserJet p12014<br />
HP LaserJet p2035<br />
require a proprietary plug-in for full support. This package does not contain or support such plug-ins.</li>
</ul>
<p><a name="Printer_Set_Up_Instructions" id="Printer_Set_Up_Instructions"></a></p>
<h2> Printer Set Up Instructions </h2>
<p>To add a printer queue, Leopard (Mac OS X 10.5.x) users should use the Print & Fax from System Preferences. Click on the + (plus) icon at the lower left. A new window will open. In that window, click the Default Browser icon at the top left. Highlight your printer in the section below. Use the "Print Using" pop-up menu near the bottom of the window to select the correct PPD for your printer and click Add.</p>
<p>Tiger users should open the Printer Setup Utility and click on the Add icon at the top of the Printer List window. A new window will open. In that window, click the Default Browser icon at the top left. Highlight your printer in the section below. Use the "Print Using" pop-up menu near the bottom of the window to select the correct PPD for your printer and click Add.</p>
<p>Jaguar (OS X 10.2.x) and Panther (OS X 10.3.x) users should open Print Center (Jaguar) or Printer Setup Utility (Panther), hold down the Option key, and click the Add Printer button in the Print Center toolbar. Within the setup sheet, choose Advanced from the top popup menu; then in the "Device:" popup menu select your printer by name (it should be the last item in the menu list). Finally, select the correct PPD from the model browser and click Add.</p>
</div>
<div><form>
<div align="center">
<input type="button" value="-- TOGGLE VISIBILITY --" onclick="toggleVisibility()" />
<input type="button" name="button" id="button" value="-- TOGGLE DIV --" onclick="toggleDiv()" />
</div>
</form></div>
<div>
<div align="center"><a href="jquery.nicescroll.min.js.292DEV.7z" target="_blank">[download DEV version]</a></div>
</div>
<div id="info">AAA</div>
</body>
</html>