Forum Moderators: open

Message Too Old, No Replies

JavaScript problem with CGI Variable in MAC IE

works in IE on PC and works in Safari on MAC but not in MAC IE on a MAC

         

Richard Shaw

8:39 pm on Nov 7, 2004 (gmt 0)



I include CGI variables in the <href> tag for thumbnail images that bring up an enlarged image on an "enlargement page". The CGI variable tell the enlargement page the name and location of the enlarge image to present, along with four text string variables to display next to the enlarged image on the enlargement page (TITLE, DIMENSIONS, MATERIALS and PRICE). The enlargement page uses JavaScript to declare the variables, the values for which are provided by the CGI variables in the <href> information, and then the values of the variables are presented one each in a four row table.

I all browser cases, the first three variables are properly presented, and the fourth varialble is presented properly in IE on PC and in Sarfari on MAC, but for MAC IE, the last row of the presentation table prints the entire <href> tag information instead of the value of the PRICE CGI variable.

Any ideas as to cause and cure?

If you would like to see the problem, <Sorry, no personal URLs. See TOS [webmasterworld.com]>

Thanks for any help!

[edited by: tedster at 9:45 pm (utc) on Nov. 7, 2004]

tedster

9:08 am on Nov 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



About the only help I can offer is that IE5 Mac used approximately jscript 3.0 - and Microsoft's jscript back then was not well lined up with javascript, but this was approximately javascript 1.3, give or take a few features.

My searches are full of unresolved javascript problems and incompatibilites on Mac IE5. It is a very strange browser.

And then, there's the obvious suggestion to validate your mark-up at the W3C [validator.w3.org] just to be sure the HTML is not hurting somewhere.