V semestr/Hodowla-C-08.12.2007/DSCN4567
/* 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="DSCN4568.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 » Hodowla-C-08.12.2007
zdjęcie | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
Data: 08.12.07 09:47
/* */
Całkowita ilość zdjęć: 12 | Wygenerowane przez JAlbum 7.2 & Chameleon | Pomoc
next_image=new Image(); next_image.src="DSCN4568.JPG";
previous_image=new Image(); previous_image.src="DSCN4566.JPG";
Wyszukiwarka
Podobne podstrony:
DSCN4589DSCN4501DSCN4532DSCN4551DSCN4573DSCN4507DSCN4512DSCN4587DSCN4584DSCN4569DSCN4508DSCN4570DSCN4566DSCN4545DSCN4582DSCN4577DSCN4521DSCN4571DSCN4525więcej podobnych podstron