|
|
 |
Re: FN-FORUM Dynamically creating links from arrays
date posted 18th April 2001 10:40
Hi Peter,
I'm not sure if this will help, but I did a similar thing on the portfolio
page of my web site:
www.spacehopppa.com/pages/portfolio.html
Go to the page and view the source code and you'll see what I mean. I have
set up a slide show using arrays that combines image files and their urls in
the page client-side.
When I want to add a new slide I do have to edit the html directly, rather
than adding a new entry to a database which, let's be honest, would be
nicer.
The javascript on that page might give you an idea of how to do it though.
HTH,
ruth arnold
spacehoppa.com
----- Original Message -----
From: "Peter Small" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Wednesday, April 18, 2001 7:34 AM
Subject: FN-FORUM Dynamically creating links from arrays
> I have two arrays. One array is a list of text strings, the other
> array is a list of URLs.
>
> I need to dynamically create a page of links from these two arrays
> when the page is downloaded to the browser.
>
> I'm sure it can be done in JavaScript as David Flanagan's O'reilly
> Javascript book shows (section 14.6 Links), but I'm having problems
> getting it working.
>
> Anyone had any experience with this kind of situation?
>
> peter
> www.petersmall.net
>
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
> To subscribe to the digest for this list or for further information please
visit:
> http://www.freelancers.net/forum.html
>
>
|
 |
|