Hi,

I would like to insert some javascript commands to navigate among a set
of images. I am thinking of constructing an array of image files, for 
instance:

<Script>
Panel1=new Array(
"./Plots/cccma_cgcm3_1_run1_pr_clm.png",
"./Plots/cnrm_cm3_run1_pr_clm.png",
"./Plots/csiro_mk3_0_run1_pr_clm.png",
"./Plots/giss_aom_run1_pr_clm.png",
)
thisPlot = 2
plotLen=Panel1.length - 1
</Script>

Later within the body, I would change between images using -

<A Href="javascript:processPrevious()">&laquo;</A> &nbsp;
     <A Href="javascript:processNext()">&raquo;</A>


The array Panel1 is page-specific, so I cannot insert it into a Layout section.
I am not sure if I can insert this within a Page.

Any help and tips would be much appreciated.

Thanks,
saji


-- 
Saji N. Hameed

APEC Climate Center                                     +82 51 668 7470
National Pension Corporation Busan Building 12F         
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705                 [EMAIL PROTECTED]
KOREA
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to