Javascript window.open attributes updated for IE7 - TechRepublic
General discussion
August 19, 2008 at 12:05 PM
edean65

Javascript window.open attributes updated for IE7

by edean65 . Updated 17 years, 11 months ago

Please note this discussion is in reference to javascript on IE7.



?????At my company we are using an IBM product called Host Access Transformation Service Version 5.1, a tool that we use to create browser-ready java server pages in order to transform our standard AS/400 green screens for internet use. The transformed jsps can overlay AS/400 green screen fields and turn them into GUI components such as text boxes, check boxes,so forth.


?????Since you can edit the resulting source code to tailor a transformation, a lot of that source is simply HTML, javascript and other standard webpage markup material. We’ve added hover boxes to the jsps using javascript. IE7 isn’t activating some of the window.open attributes used in creating the hover boxes, however; in particular it ignores the setting to turn off the “location=” attribute in order to hide the history bar in the hover box. Nothing I’ve done has remedied this even though I’ve discovered that it’s helpful for values to strictly adhere to their datatypes by putting them outside the “location=” like this: “…location=”+(1===false)+”,left=”.


?????Another factor in this is that the websphere test server environment I use to test the jsps creates a run of this system in which the browser DOES interpret the location setting, while the production server DOES NOT interpret it. In both cases the same browser on the same pc is being used. Does anyone have any comment on this?

This discussion is locked

All Comments