I want to create a web-based slideshow where it'll hunt through all
the jpg files I put in a folder, irrespective of name or how many, and
cycle through them, one by one.
This would mean that whenever I have new pictures, I just upload
them, and they are automatically part of the slideshow merely by being
in the folder, without updating my code.
The problem, I think, is the security aspect of the web based utility
not having permission to look at files in one of its folders unless
they are named
Is this possible?
If not Javascript, what other language?
(I don't want the viewer to have to deliberately accept an activex
control, which seems one way I could make it work)
....I can dabble in a few languages, not great at any, but grateful for
a pointer in the right direction, if it's possible.
Cheers
Tont
Is it possible to set 6 4550
try www.dynamicdrive.com
"TonyJeffs" <to*******@aol. com> a écrit dans le message de
news:8e******** *************** ***@posting.goo gle.com... I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named
Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work)
...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible.
Cheers
Tont
Is it possible to set
For managing files you automatically upload on a server, you should do it on
the server side.
It can be done in ASP or PHP. don't know with javascript....
Let me get the script on ASP and I'll send it to you.
BoB
"TonyJeffs" <to*******@aol. com> a écrit dans le message de
news:8e******** *************** ***@posting.goo gle.com... I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named
Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work)
...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible.
Cheers
Tont
Is it possible to set
Here is the code for getting all files from a directory automatically. In my
case, I do show all thumbnails images with a link to bigger images. You may
change it for your needs. hope this helps.
<%
Dim objFSO
Set objFSO = Server.CreateOb ject("Scripting .FileSystemObje ct")
'Get the folder object associated with the directory
Dim objFolder
Set objFolder =
objFSO.GetFolde r(Server.MapPat h("../images/photogallery/thumbnails"))
'Loop through the Files collection
Dim objFile
For Each objFile in objFolder.Files
Response.Write "<div align=""center" ">"
Response.Write "<a href=""../images/photogallery/images/"+objFile.Name+ """
onClick=""retur n
enlarge('../images/photogallery/images/"+objFile.Name+ "',event)"" >"
Response.Write "<img
src=""../images/photogallery/thumbnails/"+objFile.Name+ """
alt="""+objFile .Name+""" align=""bottom" " border=""1""><b r>"
Response.Write "<br><br><b r></a></div>"
Next
'Clean up!
Set objFolder = Nothing
Set objFile = Nothing
Set objFSO = Nothing
%>
"Bob Bedford" <be******@YouKn owWhatToDohotma il.com> a écrit dans le message
de news:3f******** *************@n ews.sunrise.ch. .. For managing files you automatically upload on a server, you should do it
on the server side. It can be done in ASP or PHP. don't know with javascript....
Let me get the script on ASP and I'll send it to you.
BoB
"TonyJeffs" <to*******@aol. com> a écrit dans le message de news:8e******** *************** ***@posting.goo gle.com... I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named
Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work)
...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible.
Cheers
Tont
Is it possible to set
Hi,
TonyJeffs wrote: I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named
Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work)
...I can dabble in a few languages, not great at any, but grateful for a pointer in the right direction, if it's possible.
Cheers
Tont
Is it possible to set
This is exactly what I use WebLoadFile for: http://www.galasoft-LB.ch/myjava/Web...Demo/Demo.html
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
TonyJeffs hu kiteb: I want to create a web-based slideshow where it'll hunt through all the jpg files I put in a folder, irrespective of name or how many, and cycle through them, one by one. This would mean that whenever I have new pictures, I just upload them, and they are automatically part of the slideshow merely by being in the folder, without updating my code. The problem, I think, is the security aspect of the web based utility not having permission to look at files in one of its folders unless they are named
Is this possible? If not Javascript, what other language? (I don't want the viewer to have to deliberately accept an activex control, which seems one way I could make it work)
NOt tested, definately in need of further work, but...
var i = 0
while (i != NaN) {
preload[i] = new Image();
preload[i].src = i + ".gif";
// test for undefined somehow
if (preload[i].src is undefined) { i = "a"; }
else { i = i + 1; }
}
You'd still need to number your files sequentially with this of course.
--
--
Fabian
Visit my website often and for long periods! http://www.lajzar.co.uk
JRS: In article <bq************ *@ID-174912.news.uni-berlin.de>, seen in
news:comp.lang. javascript, Fabian <la****@hotmail .com> posted at Fri, 5
Dec 2003 06:42:23 :- NOt tested, definately in need of further work, but...
var i = 0 while (i != NaN) { preload[i] = new Image(); preload[i].src = i + ".gif"; // test for undefined somehow if (preload[i].src is undefined) { i = "a"; } else { i = i + 1; } }
You'd still need to number your files sequentially with this of course.
IIRC, NaN is never equal to anything, not even another NaN or a copy of
itself. Moreover, a NaN is neither greater nor smaller than anything
else.
Better to use while (OK) { or do {...} while (OK) and compute
OK in the loop.
Consider
for (i=0;;i++) {
...
if (...) break
}
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 thing is, I ALSO have
to make it so the images will load randomly. I have looked at a
number of scripts for random-loading slideshows, but I have to find a
way to COMBINE this fading-image script (or, a different fading-image
script, if...
|
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 the images.
I'd like to use the same popup window at different points throughout
the website and have the Virtual Tour (slideshow) open up at the
appropriate photos. Meaning I'd like to control which picture the
popup window opens up to,...
|
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 can't really
appreciate the slideshow effect, which is supposed to be a nice crossfade
between the images.
I then realized than when viewed at 800x600 or lower it does this. Sometimes
it also does it at higher resolution, but with your browser...
|
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 images of
the thumbnails. When the slideshow begins it always starts with the
first image. I would like to pass the name of the thumbnail to the
slideshow HTML page and begin the slideshow with the same image the
user clicks on. Is this asking...
|
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'
to large numbers and small numbers but it doesn't seem to do anything. Could
someone explain what effect changing this variable should bring about and
why don't I see any changes.
many thanks
David
| |
by: bevoldjling |
last post by:
Hi !
I need some help in putting together a website for our family
gathering.
Although I'm still pretty "green", I don't think what I need requires
terribly advanced skills ...except for one area that has me right
baffled.
I want to put up a photo album slideshow but I want to stay away from
Flash & Javascript. It just seems that anytime I use them, somebody
|
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 images. I have try with the following jsp code.
<%@ page language="java" %>
<%@ page import="java.sql.*"%>
<%@ page import="java.sql.Connection.*"%>
<%@ page import="java.awt.image.*"%>
|
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
// =======================================
// set the following variables
// =======================================
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |