View Full Version : getElementById problems
07-11-2006, 07:28 PM
Any ideas where this line of code has gone wrong???
It works fine in Safari and ff but things go a bit wrong in IE.
07-11-2006, 08:11 PM
"a bit wrong"
It would probably help if you were a bit more descriptive.
07-11-2006, 08:20 PM
if you go to www.tombrennand.net (http://www.tombrennand.net) you can see the problem...
like i say, works fine in FF but not in IE
The position of the elements 'caption' and 'enlarged' do not move.
07-11-2006, 08:42 PM
You have all kinds of problems on this page, but there is at least one blocker:
You are calling your PopUp method like this:
PopUp('enlarged','websiteimages/225trans.gif', 'caption',' ');
However, your "PopUp" implementation actually takes 6 parameters, not 4. You are trying to use the last two input parameters (xos,yos) in a calculation, but they are not defined. As a result, the calculations are computed as "NaN" (not a number). Then, right here:
You are trying to set some values with garbage data, and IE is throwing an "Illegal Argument" error. You need to get this fixed first before you work on anything else.
07-11-2006, 09:15 PM
ok... I think I fixed one problem.... although the scrolling menu on the graphic design tab does not seem to work in IE still
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.