Click to See Complete Forum and Search --> : detect url in iframe


yair
10-19-2003, 10:46 AM
i have an iframe with a lowRes jpeg, i want a script that will detect the current jpeg in the iframe and then print a higherRes picture with the same name under a diffrent dir.

i need help here, i know my actionscript but my javascript is lacking in oh so many ways.

thanks

Khalid Ali
10-19-2003, 10:50 AM
parent.frameName.location.href

once a page is loaded you can get the url loaded with the above line of code,provided that the url loaded is not an out of domain resource.

Prining a resource wihtout its being loaded in a window/frame could be a problem issie( Idon't think JavaScript will allow that)

yair
10-19-2003, 11:07 AM
thanks, u can check it out (when im done)here (http://www.doronefrat.com)
(one of the nicest clients i worked with).[