[Dojo-interest] Back Button

Matias Blanco matiasblanco18 at gmail.com
Wed Feb 7 17:18:33 MST 2007


Hi, my name is Matias and today i first meet with Dojo. It seems to be
a really good API.

Besides, i have one question:

I want to use the io.bind, backbutton, to redirect the navigator to an
predeterminated page, Is there any chance to do that?

Here is my code, a little poor, but is a test:

  dojo.require("dojo.io.*");
      dojo.require("dojo.event.*");
      dojo.require("dojo.widget.*");
	  dojo.require("dojo.widget.Button");

	function init(){
		dojo.io.bind({
			url: "http://www.ole.com.ar",
			backButton: function(){
				reload(url)
			}
		});
	}
	
	  dojo.addOnLoad(init);

Thanks a lot, i hope someone could give me a response.

Greetings from Argentina,

Matias


More information about the Dojo-interest mailing list