remoteone
10-28-2012, 05:28 AM
1) Script Title: Problem when using iFrame that themselves contain JS.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem:
Refer to this test page:
http://wireless-broadband-speed.com.au/html/coverage_maps/coverage_maps_test.html
The script is modified with CSS and the content of the expanded box is an iFrame reference to a remote web page that also has Javascript.
The problem is evident when there is more than one <DIV> containing an iframe which contains similar JS content on the same page, and is not dependent upon the number of groups.
In this example only the first DIV that is set to "hide=0" loads ok. Any subsequent DIVS will not load the remote page assigned to the iframe, when expanded.
By not loading either of the </js/animatedcollapse.js> or <jquery.min.js"> files all the iframes contents work fine.
FF Error console shows errors only from the remote page contained in the iframe, no error seem to be coming from my page itself.
I really need this to work with iFrames that display remote pages that contain the js code used in the example.
I hope that all makes sense...
Help greatly appreciated.... see also https://www.odesk.com/o/jobs/job/_~013cf6afd8ade06cd5/
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem:
Refer to this test page:
http://wireless-broadband-speed.com.au/html/coverage_maps/coverage_maps_test.html
The script is modified with CSS and the content of the expanded box is an iFrame reference to a remote web page that also has Javascript.
The problem is evident when there is more than one <DIV> containing an iframe which contains similar JS content on the same page, and is not dependent upon the number of groups.
In this example only the first DIV that is set to "hide=0" loads ok. Any subsequent DIVS will not load the remote page assigned to the iframe, when expanded.
By not loading either of the </js/animatedcollapse.js> or <jquery.min.js"> files all the iframes contents work fine.
FF Error console shows errors only from the remote page contained in the iframe, no error seem to be coming from my page itself.
I really need this to work with iFrames that display remote pages that contain the js code used in the example.
I hope that all makes sense...
Help greatly appreciated.... see also https://www.odesk.com/o/jobs/job/_~013cf6afd8ade06cd5/