V semestr/Lesnictwo-W-25.01.2008/DSCN5588
/* 1) {
var parms = window.location.search.substring(1,location.search.length).split("&");
for (var i = 0; i < parms.length; i++) {
if(parms[i].substring(0, parms[i].indexOf("=")) == "show_param")
delay = show_param = parms[i].substring(parms[i].indexOf("=") + 1, parms[i].length);
}
}
var show_delay = show_param;
function show_timer() {
if (show_delay >= 0) {
show_delay--;
if (show_delay < 0 && show_param > 0) {
window.location="DSCN5592.html?show_param=" + show_param;
}
else if(show_param > 0)
window.status='Time left: '+(show_delay + 1)+' s';
}
setTimeout('show_timer()', 1000);
}
function show_over() {
document.getElementById("show").src = (show_param >= 0)? stop1.src : show1.src;
window.status = 'Uruchom/zatrzymaj pokaz slajdów - Podwójne kliknięcie, aby zmienić szybkość';
}
function show_out() {
document.getElementById("show").src = (show_param >= 0)? stop0.src : show0.src;
}
function show_down() {
el = document.getElementById("show");
if (show_param >= 0) {
show_param = -1;
el.src = stop1.src;
window.status='';
}
else {
show_param = 3;
el.src = show1.src;
}
show_delay = show_param;
}
function change_delay() {
delay = prompt('opóźnienie', (show_param < 0)? 3 : show_param);
show_param = show_delay = delay;
document.getElementById("show").src = show1.src;
}
function rgb2hex(c) {
if(c.charAt(0) == '#') return c;
else if(c.indexOf('rgb') == 0) {
var hex = '';
var array = /([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/.exec(c);
for(i = 1; i < 4; i++) hex += ('0' + parseInt(array[i]).toString(16)).slice(-2);
return '#' + hex;
}
else return '#000000';
}
function getColors() {
if((el = document.getElementById("body")) != null) {
if(window.getComputedStyle) {
color = rgb2hex(document.defaultView.getComputedStyle(el, null).getPropertyValue('color'));
bgcolor = rgb2hex(document.defaultView.getComputedStyle(el, null).getPropertyValue('background-color'));
}
else if(el.currentStyle != null) {
color = el.currentStyle['color'];
bgcolor = el.currentStyle['backgroundColor'];
}
}
}
/* ]]> */
body { background-image: url(../../res/bg.gif); background-repeat: repeat-x; }
V semestr » Lesnictwo-W-25.01.2008
zdjęcie | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | > | »
Data: 25.01.08 15:55
/* */
Całkowita ilość zdjęć: 26 | Wygenerowane przez JAlbum 7.2 & Chameleon | Pomoc
next_image=new Image(); next_image.src="DSCN5592.JPG";
previous_image=new Image(); previous_image.src="DSCN5586.JPG";
Wyszukiwarka
Podobne podstrony:
DSCN5595DSCN5574DSCN5572DSCN5580DSCN5586DSCN5571DSCN5578DSCN5570DSCN5592DSCN5598więcej podobnych podstron