Hi ALL!
I read a crap book about Javascript. It gave me lots of examples, so I know enough to cause trouble, but it didn’t really explain anything, so I don’t understand 90% of what I am doing – so forgive the stupid questions.
I want a function to open a window with “something.htm” in it and set the picture that something.htm is displaying. Okat I managed this, but there is a problem. I seem to be able to use JavaScript to set the new windows picture and size of the picture, but I can’t find out how to set the size of the window. I can hard code it, but that is not the point. I want to pass the window size to the function as parameters so that it is in proportion to the picture. Either that or I want to do this in a completely different way. The aim here is to scale the something.htm window according to the size of the picture I want something.htm to display.
By the way, when I try to set various properties in the new window, frontpage often complains, yet in the browser, the code works fine?? Is this normal??
Any thoughts lads?