Hi, this is definitely the same origin policy that's bothering you. When you download it on your PC i assume you save the html somewhere and after doing so the same origin policy prevent's you to get data from a different domain.
cheers Kris Met vriendelijke groet, Kind regards, Kristiaan Geusebroek Consultant [cid:image005.jpg@01CAD62A.CDCB6570] [cid:image006.png@01CAD62A.CDCB6570] Email: kgeusebr...@xebia.com<mailto:kgeusebr...@xebia.com> Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922 Mobiel: +31 (0)6 3069 7223 Utrechtseweg 49 1213 TL Hilversum The Netherlands http://www.xebia.com<http://www.xebia.com/> Xebia Blog: http://blog.xebia.com/ Xebia Podcast: http://podcast.xebia.com/ On Aug 13, 2010, at 4:01 AM, geekjack wrote: Thank you all: I found another problem: when I visit http://dev.openlayers.org/releases/OpenLayers-2.9.1/examples/wfs-states.html (the examples) what I can see is http://osgeo-org.1803224.n2.nabble.com/file/n5418576/2.png ,and then I download it in my PC ,and it work like that: http://osgeo-org.1803224.n2.nabble.com/file/n5418576/1.png ,why are they not the same?Are there smoething wrong with the project when it works in my PC ? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-refresh-a-layer-every-N-seconds-tp5411253p5418576.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
<<inline: image005.jpg>>
<<inline: image006.png>>
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users