Slideshow for album :: Diseño Decorativo- Redes Bidimensionales 
Aplicación en Flash: Diseño de estampados"; photo_urls[2] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_00.jpg"; photo_captions[2] = ""; photo_urls[3] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_01.jpg"; photo_captions[3] = ""; photo_urls[4] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_02.jpg"; photo_captions[4] = ""; photo_urls[5] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_03.jpg"; photo_captions[5] = ""; photo_urls[6] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_04.jpg"; photo_captions[6] = ""; photo_urls[7] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_05.jpg"; photo_captions[7] = ""; photo_urls[8] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_06.jpg"; photo_captions[8] = ""; photo_urls[9] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_07.jpg"; photo_captions[9] = ""; photo_urls[10] = "http://www.educacionplastica.net/albums/estampados/estrbidi9.sized.jpg"; photo_captions[10] = ""; photo_urls[11] = "http://www.educacionplastica.net/albums/estampados/estrbidi10.sized.jpg"; photo_captions[11] = ""; photo_urls[12] = "http://www.educacionplastica.net/albums/estampados/estrbidi11.sized.jpg"; photo_captions[12] = ""; photo_urls[13] = "http://www.educacionplastica.net/albums/estampados/estrbidi12.sized.jpg"; photo_captions[13] = ""; photo_urls[14] = "http://www.educacionplastica.net/albums/estampados/estrbidi13.jpg"; photo_captions[14] = ""; photo_urls[15] = "http://www.educacionplastica.net/albums/estampados/estrbidi14.sized.jpg"; photo_captions[15] = ""; photo_urls[16] = "http://www.educacionplastica.net/albums/estampados/estrbidi15.sized.jpg"; photo_captions[16] = ""; photo_urls[17] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_08.jpg"; photo_captions[17] = ""; photo_urls[18] = "http://www.educacionplastica.net/albums/estampados/EstrBidi_01_002.jpg"; photo_captions[18] = ""; var photo_count = 18; function stop() { onoff = 0; status = "The slideshow is stopped, click [play] to resume."; clearTimeout(timer); } function play() { onoff = 1; status = "Slideshow is running..."; wait_for_current_photo(); } function toggleLoop() { if (loop) { loop = 0; } else { loop = 1; } } function reset_timer() { clearTimeout(timer); if (onoff) { timeout_value = document.TopForm.time.options[document.TopForm.time.selectedIndex].value * 1000; timer = setTimeout('go_to_next_page()', timeout_value); } } function wait_for_current_photo() { /* Show the current photo */ if (!show_current_photo()) { /* * The current photo isn't loaded yet. Set a short timer just to wait * until the current photo is loaded. */ status = "Cargando imagen...(" + current_location + " de " + photo_count + "). Por favor espere ..." ; clearTimeout(timer); timer = setTimeout('wait_for_current_photo()', 500); return 0; } else { preload_next_photo(); reset_timer(); } } function go_to_next_page() { var slideShowUrl = "http://www.educacionplastica.net/gallery/slideshow.php?set_albumName=estampados&mode=low"; document.location = slideShowUrl + "&slide_index=" + next_location + "&slide_full=" + full + "&slide_loop=" + loop + "&slide_pause=" + (timeout_value / 1000) + "&slide_dir=" + direction; return 0; } function preload_next_photo() { /* Calculate the new next location */ next_location = (parseInt(current_location) + parseInt(direction)); if (next_location > photo_count) { next_location = 1; if (!loop) { stop(); } } if (next_location < 1) { next_location = photo_count; if (!loop) { stop(); } } /* Preload the next photo */ preload_photo(next_location); } function show_current_photo() { /* * If the current photo is not completely loaded don't display it. */ if (!images[current_location] || !images[current_location].complete) { preload_photo(current_location); return 0; } return 1; } function preload_photo(index) { /* Load the next picture */ if (pics_loaded < photo_count) { /* not all the pics are loaded. Is the next one loaded? */ if (!images[index]) { images[index] = new Image; images[index].src = photo_urls[index]; pics_loaded++; } } }


Powered by Gallery v1 RSS