V semestr/Fotogrametria-W-16.11.2007/DSCN3801
/* 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="DSCN3806.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 » Fotogrametria-W-16.11.2007
« | < | 21 | 22 | 23 | 24 | 25 | 26 |
Data: 16.11.07 18:10
/* */
Całkowita ilość zdjęć: 26 | Wygenerowane przez JAlbum 7.2 & Chameleon | Pomoc
next_image=new Image(); next_image.src="DSCN3806.JPG";
previous_image=new Image(); previous_image.src="DSCN3794.JPG";
Wyszukiwarka
Podobne podstrony:
DSCN3868DSCN3829DSCN3822DSCN3879DSCN3851DSCN3874DSCN3883DSCN3836DSCN3893DSCN3897DSCN3887DSCN3896DSCN3835DSCN3864DSCN3895DSCN3848DSCN3823DSCN3889DSCN3841więcej podobnych podstron