PDA

View Full Version : Problem with Openwindow



tmacdonald@twmi
March 26th, 2008, 11:28 PM
I dl'd 2 great programs from Kirupa's site:

openwindow
ProductsExhibitor

The openwindow and the ProductsExhibitor work great! The only problem I have pertains to openwindow... I have multiple windows to open, different sizes - How can I utilize that code for the html page to address the size differences between windows? All of the windows open with no prob, but at the size the code string calls for, and additional strings I have attempted are disregarded...

Scratching my head on this one!

tmacdonald@twmi
March 27th, 2008, 10:21 AM
Nevermind - I solved my problem once I turned my brain on!

To do what I want to do for multiple windows, different sizes, I had to add to the action script of the individual button for each window, changing the size to what I want:

var jscommand:String = "window.open('http://www.xxx.com','win','height=200,width=300,toolbar=n o,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");