V semestr/Fitopatologia-C-27-10-2007/DSCN3624
/* 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="DSCN3625.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 » Fitopatologia-C-27-10-2007
zdjęcie | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Data: 27.10.07 11:06
/* */
Całkowita ilość zdjęć: 15 | Wygenerowane przez JAlbum 7.2 & Chameleon | Pomoc
next_image=new Image(); next_image.src="DSCN3625.JPG";
previous_image=new Image(); previous_image.src="DSCN3623.JPG";
Wyszukiwarka
Podobne podstrony:
DSCN3605DSCN3604DSCN3603DSCN3608DSCN3601DSCN3601DSCN3623DSCN3625DSCN3612DSCN3607DSCN3631więcej podobnych podstron