-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolor.html
157 lines (135 loc) · 4.62 KB
/
color.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="icon" type="image/x-icon" href="/favicon.gif" />
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="ie.css" type="text/css" />
<![endif]-->
<!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> -->
<script type="text/javascript" src="scripts/script.js"></script>
<script src="scripts/jquery.tools.min.js"></script>
<script>
$(document).ready(function() {
$('#pic_nav').click();
$('.show').click(function() {
$('#pic_nav').toggle(800);
});
});
</script>
<script>
$(document).ready(function() {
$('a.show').tooltip({postion:"top left", offset:[-10, -100]});
});
</script>
<link rel="stylesheet" type="text/css" href="css/scrollable-horizontal.css" />
<title>Black & Photos</title>
</head>
<body>
<div id="main">
<div id="header">
<a href="index.html"><img src="images/header.jpg" /></a>
</div><!--End Header-->
<div id="main-img">
<div id="image_wrap">
<div class="loading"><img src="images/loading.gif" /></div>
</div>
<a href="#" class="show"><img src="images/orange_dot.png" /></a>
<div class="tooltip">Click to toggle</div>
<div id="pic_nav">
<div id="actions">
<a class="prev">Prev</a>
<a class="next disabled">Next</a>
</div>
<!-- root element for scrollable -->
<div class="vertical">
<!-- root element for the items -->
<div class="items">
<div>
<img src="GG_color/c1_t.jpg" alt="" />
<img src="GG_color/c2_t.jpg" alt="" />
<img src="GG_color/c3_t.jpg" alt="" />
<img src="GG_color/c4_t.jpg" alt="" />
</div>
<div>
<img src="GG_color/c5_t.jpg" alt="" />
<img src="GG_color/c6_t.jpg" alt="" />
<img src="GG_color/c7_t.jpg" alt="" />
<img src="GG_color/c8_t.jpg" alt="" />
</div>
<div>
<img src="GG_color/c9_t.jpg" alt="" />
<img src="GG_color/c10_t.jpg" alt="" />
<img src="GG_color/c11_t.jpg" alt="" />
<img src="GG_color/c12_t.jpg" alt="" />
</div>
<div>
<img src="GG_color/c13_t.jpg" alt="" />
<img src="GG_color/c14_t.jpg" alt="" />
<img src="GG_color/c15_t.jpg" alt="" />
<img src="GG_color/c16_t.jpg" alt="" />
<img src="GG_color/c17_t.jpg" alt="" />
</div>
</div>
</div>
<div id="actions">
<a class="prev">Prev</a>
<a class="next disabled">Next</a>
</div>
</div>
<script>
$(function() {
$(".vertical").scrollable({vertical: true, mousewheel: true});
$(".items img").click(function() {
// see if same thumb is being clicked
if ($(this).hasClass("active")) { return; }
// calclulate large image's URL based on the thumbnail URL (flickr specific)
var url = $(this).attr("src").replace("_t", "");
// get handle to element that wraps the image and make it semi-transparent
var wrap = $("#image_wrap").fadeTo("medium", 0.5);
// the large image from www.flickr.com
var img = new Image();
// call this function after it's loaded
img.onload = function() {
// make wrapper fully visible
wrap.fadeTo("fast", 1);
// change the image
wrap.find("img").attr("src", url);
};
// begin loading the image from www.flickr.com
img.src = url;
// activate item
$(".items img").removeClass("active");
$(this).addClass("active");
// when page loads simulate a "click" on the first image
}).filter(":first").click();
});
</script>
</div><!--End Main-Img-->
<div id="bottom">
<div id="navigation">
<ul>
<li><a id="nav1" href="bw.html">B & W</a></li>
<li><a id="nav2" href="color.html">Color</a></li>
<li><a id="nav3" href="info.html">Info</a></li>
<li><a id="nav4" href="contact.html">Contact</a></li>
</ul>
</div>
<!--<div id="slideshow_ctrl">
<a class="arrow" id="slide_left" href="#"><img src="images/arrow_l.png" /></a>
<a class="arrow" id="slide_right" href="#"><img src="images/arrow_r.png" /></a>
<a href="3">Slideshow</a>
</div>
<div id="slideshow"></div>-->
</div>
</div><!--End Main-->
<div id="footer">
<p>© 2003-2010 lisa gonzalez</p>
<p class="credits">website by <a href="http://ascolidesigns.com">Ascoli Designs</a></p>
</div>
</body>
</html>