Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Using directory structures to dynamically build a webpage
Old 05-13-2008, 08:39 AM Using directory structures to dynamically build a webpage
Junior Talker

Posts: 1
Trades: 0
I am trying to create a webpage that uses a local directory structure to dynamically create and populate a page showing a family tree.

I am planning on using a recursive function to read from the local directory and use that data to create the individual 'div' statements, from an external CSS file, that will break up the page into
Grandparent>Parent>Person<Parent<Grandparent
with a picture and small amount of data for each person; later adding siblings, children and partners.

My questions are:

1. Can Javascript alone do this?
2. If not, what other language(s) can help me do this?
3. Am I approaching this the wrong way, is there a better solution?
neku is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-13-2008, 08:48 AM Re: Using directory structures to dynamically build a webpage
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Can Javascript alone do this?
No.

Quote:
If not, what other language(s) can help me do this?
Any server side language

Quote:
Am I approaching this the wrong way, is there a better solution?
Yes.
Use a database or XML.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Using directory structures to dynamically build a webpage
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37720 seconds with 12 queries