473,395 Members | 1,783 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Slideshow from local PC

My intention is to burn images into a CD along with a HTML file and
AutoRun instruction to start the HTML file. The HTML file would
contain a JavaScript that would read the directory contents
(recursively, if required) and show the images on the browser in a
slideshow manner.

I spent a couple of hours searching for sample script to do something
similar, found several, but they all are designed to show the images
saved on the Web server.

Does JavaScript support local disk reading? Remember, the HTML came
from local disk. I spent some time on Netscape's JavaScript manual
site looking for some statement/function for directory services, and
found nothing.

Does the slideshow program I am looking for already exist? If not, I
can attempt to write one myself if I can figure out how to search the
local directory.

Thank you.
Jul 20 '05 #1
1 2897
Hi,

Sudarshan wrote:
My intention is to burn images into a CD along with a HTML file and
AutoRun instruction to start the HTML file. The HTML file would
contain a JavaScript that would read the directory contents
(recursively, if required) and show the images on the browser in a
slideshow manner.

I spent a couple of hours searching for sample script to do something
similar, found several, but they all are designed to show the images
saved on the Web server.

Does JavaScript support local disk reading? Remember, the HTML came
from local disk. I spent some time on Netscape's JavaScript manual
site looking for some statement/function for directory services, and
found nothing.

Does the slideshow program I am looking for already exist? If not, I
can attempt to write one myself if I can figure out how to search the
local directory.

Thank you.


No, client-side JavaScript alone cannot do this. However, a Java applet
can, and this is exactly the main use I have for my applet WebLoadFile.
This applet can browse directories and deliver the content to JavaScript.

See
<URL: http://www.galasoft-LB.ch/myjava/WebLoadFile/Demo/Demo.html>

I am trying to finalize my own solution for a PhotoAlbum and might be
able to post this solution on my website soon.

HTH,

Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Susanna | last post by:
Hi all, I'm using the following slideshow script that I found on the web to display changing images with a crossfade effect. Eventually I will be adding many more images to the slideshow. The...
2
by: Jeannie | last post by:
I have a popup window which is a slideshow of about 7 images. When the popup window loads, the first image is present and then the viewer can select next or previous to scroll through the rest of...
4
by: Luis Veras | last post by:
I have a slideshow on my main page at www.canvasartists.com. Many of my visitors started to complain that on their screen the slideshow displays as flashing and/or blinking very quickly, and you...
8
by: drillbit_99 | last post by:
I have an HTML page of thumbnail images. Each image can begin a slideshow of the images on the page by clicking on the image. This opens another HTML page that begins the slideshow using large...
11
by: David Graham | last post by:
Hi New to javascript. I'm trying to understand how a script at a website I come across works. http://www.BRPPISAFETY.COM Nearly got it but I have changed the variable called 'crossFadeDuration'...
1
by: ttamilvanan81 | last post by:
Hai everyone, I need to provide the slideshow for the images. I have upload the images into database. Then i will retrive all the images from the database and provide the slideshow for those...
2
pradeepjain
by: pradeepjain | last post by:
script> // (C) 2000 www.CodeLifter.com // http://www.codelifter.com // Free for all users, but leave in this header // NS4-6,IE4-6 // Fade effect only in IE; degrades gracefully //...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.