[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread fr0st003


So what I could do is use something like PHP, to pull images from the folder
place them into a array, use the math function to pull something at random
then use Javascript to style the information. Would this be possible to do
with Python? I have some experience with Python. And or Ruby?



craig.kaminsky wrote:
 
 
 BlueSky is correct. JavaScript that runs in the browser does not have
 access to either a local or server-based file system. For that you
 need either: (1) a classic server-side programming language (ala
 BlueSky's notes for PHP, ASP.NET, ColdFusion, etc.) or (2) a site that
 runs the Jaxer server from Aptana, which is an open-source server
 running JavaScript on the server. Outside of those two sets of
 options, you would not be able to pull images dynamically from a
 folder (or database or XML file, etc.). You can, however, use jQuery
 to create the previews as you mentioned...once you get you images
 pulled that is!
 
 Do you know what server-side technologies your web host provides? I'm
 sure I (or someone on the list :) could offer some assistance in the
 type of server-side script you'd need to extract all the files or
 images in a directory.
 
 

-- 
View this message in context: 
http://www.nabble.com/Pulling-images-dynamically-from-a-folder.-tp20672755s27240p20684334.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
jQuery (English) group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~--~~~~--~~--~--~---



[jQuery] Pulling images dynamically from a folder.

2008-11-24 Thread fr0st003


Here is the page I am working on, I am relatively new to jquery and
javascript in general.

http://johntbrown.com/sandbox/lopano/work.html

What I would like to do is to pull images dynamically from a folder to
generate the back ground for the page. Then for the forward/backward buttons
I would like to be able to scan through the folder, also I would like to
have some sort of tool tip showing a preview of the next image when you put
your cursor over the forward/backward buttons.



-- 
View this message in context: 
http://www.nabble.com/Pulling-images-dynamically-from-a-folder.-tp20672755s27240p20672755.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.