Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-05-2012, 07:53 PM   PM User | #1
code_seeker
New to the CF scene

 
Join Date: Jul 2012
Location: Chicago, IL
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
code_seeker is an unknown quantity at this point
Question DOJO - read a directory and display links to files in the directory

Hi,

I have a map that displays different airports, on clicking one of the airports (HTML/Dojo map) e.g ORD the user will be directed to a page with 5 tabs where each tab should display links to documents from a folder based on the airport they selected. Each tab displays certain documents related to ORD. Essentially I would need to display links based on what tab is selected from a directory. The directory can have subfolders specific to each airport and each tab.

Directory Set-Up
<folder>ORD
<sub-folder>Airport information (tab)
info.pdf
info2.pdf
<sub-folder>Airport Development (tab 2)
dev.pdf
dev2.pdf
dev3.pdf
dev4.pdf

Display on page

Airport Information | Airport Development
Info (link) Dev (link)
Info2 (link) Dev2 (link)
Dev3 (link)
Dev4 (link)

And so on for each tab related to ORD...

I need to do this dynamically so that the client doesn’t have to create or remove a link each time a new document is added or removed to a folder.

I am completely new at setting up anything like this . A specific explanation of what pages or scripts need to be created and where scripts should be placed would be extremely helpful.

Any help or suggestions on doing this would be highly appreciated!
Thanks
code_seeker is offline   Reply With Quote
Reply

Bookmarks

Tags
directory, dojo, javascript, web development

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:52 PM.


Advertisement
Log in to turn off these ads.