i have a automatically refreshing page within an iframe
(iframe page) that needs to loop thru rows of a table in sequence
so that new a new picture and text is displayed on each refresh.
rather than doing a query on each refresh (every 5 secs.) i
set up the query and array on the page that contains the iframe
(main page).
problem is that the iframe page cannot find the array....
this "test display" is from query and query loop to set up
array... "main page"
picID: 1, picfile: rocket.jpg, piccmts: rocket stage
picID: 2, picfile: pell.jpg, piccmts: Safety - Pell -
Advanced
picID: 3, picfile: service.jpg, piccmts: Service with a smile
- modus opperandi.,
picID: 4, picfile: rope.jpg, piccmts: Rope in Action,
picID: 5, picfile: marine.jpg, piccmts: 500 lbs - Marine
Applications,
picID: 6, picfile: recovery.jpg, piccmts: Recovery in Action,
picID: 7, picfile: adj.jpg, piccmts: Adf in Action,
would then output data in iframe page based on loop to
display row as in picID = 5
<cfoutput>
#picarry[5][2]# - #picarry[5][3]#
</cfoutput>
"marine.jpg" and "500 lbs - Marine Applications"
since iframe is in (sub to) "Main Page"... why can't it find
array... is there a workaround. do not want to ping db every
refresh of iframe.
if this won't work, any other solution would be greatly
appreciated
tnx in advance