Yes you can
<a href="#" onclick="win.setURL('http:// www.rubyonrails.org');win.showCenter()"> Test </a> <a href="#" onclick="win.setURL('http://google.com'); win.showCenter()"> Test </a>

Seb
On Mar 16, 2007, at 2:58 AM, Scott Phillips wrote:

I have the following code (from the samples) in the body of my document:



var win = new Window({className: "spread", title: "Ruby on Rails",

                      top:70, left:100, width:300, height:200,

url: "http://www.rubyonrails.org/";, showEffectOptions: {duration:1.5}})





I then have a series of links in my document, such as:

<a  href="#" onclick="win.showCenter();">Test</a>



I am wondering if there is a way to modify the code so that I can pass a different URL for each link, such as:



<a  href="#" onclick="win.SOME_URL.showCenter();">Test</a>

<a  href="#" onclick="win.DIFFERENT_URL.showCenter();">Test</a>



Thanks!

Scott.



_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to