Login Register

Problem using ContentPane

People I'm trying to make a very simple ContentPane that loads the www.google.com page but I don't know why it doesn't work, this is the code:
--------------------------------------


	dojo.require("dijit.layout.ContentPane");



	
		

----------------------

would anybody tell me what is the problem here.

If all else were OK with the

If all else were OK with the code, I don't believe it would load a remote (cross-domain = security problem) page. It should, however, load a page on your own server.

If you do need cross-domain access, you will probably end up using dojo.io.iframe. You can see a brief discussion and links here.