Menu

#19 Javascript does not work in Non-IE

open
nobody
5
2014-12-27
2004-02-21
Anonymous
No

The javascript to "sync" the frames is incorrect.

It currently reads:

<script language="javascript">
parent.frames('LeftFrame').location.href=('Databases.aspx');
parent.frames('MainFrame').location.href=('setDatabase.aspx');
</script>

Because frames is not a function (it is actually an
array implementation), it should be :

<script language="javascript">
parent.frames['LeftFrame'].location.href=('Databases.aspx');
parent.frames['MainFrame'].location.href=('setDatabase.aspx');
</script>

An easy fix.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.