JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 30th, 2001, 04:16 PM
s7eve77 s7eve77 is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Manchester UK
Posts: 16 s7eve77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Hi...

wondering if anyone can help with a problem ive been working on...

want to create a 'static' news board and generate the html on the fly client-side. have done similar stuff before declaring an array of user defined objects and simply looping through the array outputting the html

problem is news items are too big to be an element in an array, (well, it works but its messy!)

does anyone know of a way to get javascript to read a directory of files and read the contents of each file; perhaps generated in a fashion similar to XML?

i know i could do this server-side no probs, but want to know if theres a client-side way to do this (speed!)

hope this gets a few cogs turning

cheers

steve

Reply With Quote
  #2  
Old April 30th, 2001, 04:56 PM
dwarf dwarf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 300 dwarf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
No, there is no way for JavaScript to read files either on the client, or on the server.

For something like that you have to use either Java (or ActiveX) or some server-side technologies...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > XML & javascript?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap