Javascript code required to allow flash gallery to read different xml files

Our current website has a product catalog that uses some JavaScript code on the product pages, which display the relevant images for that product by using the product code as a reference to find the relevant image folder, which can be found when using the following object: "[url removed, login to view](id).src"

We would like to update the product pages to use the following flash gallery instead of the simple javascript viewer:

[url removed, login to view]

The only way we can figure out how to use flash to do this would be to set up 10 different generic XML files (which will cater for 1 image up to 10 images) and include copies of these files in every product image folder (each product has its own image folder which is named as the product code and the images inside will have a generic number convention, eg;[url removed, login to view], [url removed, login to view], [url removed, login to view]). These xml files would get image [url removed, login to view], [url removed, login to view], [url removed, login to view], etc, relatively from within the product folder. (we will set these up)

Then, we would just need someone to write some JavaScript that would get the relevant product code, use that to look inside the relevant product folder, count how many image files exist, and return the correct xml file to use.

So the path of the XML file for the flash object would essentially be "../ProductCode/[url removed, login to view]"

We believe this should work, but maybe you know a more elegant way of achieving this? Perhaps if the xml can be dynamic in some way then that would be great if you know how to do that. Otherwise, the code mentioned above will be fine.

Additionally, we would also like to display some text links to each of the product images outside of the flash object for those who cannot use flash. So will need some javascript that can generate these links based on the product code and how many images it finds in the product folder. We like to use gif files for our images, as some of the images will be animated gifs.

Remember, we just need the code snippets to allow this to work, we will then implement them.

Many thanks

Skills: Adobe Flash, ASP, HTML, Javascript, XML

See more: javascript code product catalog, write xml code website, who to use as a reference, return path, id to code, html 5 snippets, html 5 image gallery, html 5 code, how to write code, how to html 5, how to get someone to write a text for you, how to get animated text, how to find animated gifs, find someone to write a code, find someone to write, find javascript, find code, code 5, 10-12 code, simple javascript, animated gifs, html code update website, code update website html, javascript display object, simple image viewer

About the Employer:
( 16 reviews ) Ingham, United Kingdom

Project ID: #2516251

4 freelancers are bidding on average $152 for this job


Kindly check the PMB, thanks.

$300 USD in 5 days
(108 Reviews)

"Please see PMB"

$132 USD in 2 days
(14 Reviews)

please see inbox, thanks

$75 USD in 1 day
(5 Reviews)

Custom software development (<b><i>Removed by Admin</i></b>)

$100 USD in 1 day
(0 Reviews)