Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

onclick problem in korean Win95

2 views
Skip to first unread message

Karim Loukili

unread,
Feb 14, 2005, 8:41:57 AM2/14/05
to
Hello,

I have the following problem. From a HTM file, which is embedded in a CHM
file, a
link to an other CHM file should be selectable, which is located in the same
folder. Depending on the target system, the folder can be on C:\
or D:\. That applies to an krean Windows 95 with IE 4.70.1155.
To solve that, I replaced the fix link with the script stated below which
works on US Win
95 with IE 4.72....and all newer targets fine.
The korean Version does not react on the Click, just nothing happens.
In addition the cursor does not change to a hand as programed (see last
line), instead
a text cursor appears although other links (<a href=...) show the hand when
sliding over them.
Does anybody know, how to fix that?

Additional hint: Replacing onclick="hrefTo_pcard()" by onclick="alert("hello
world")" does not show the alert.

regards,

Karim


<script type="text/javascript" Language="JScript">
<!--
function hrefTo_pcard()
{
var root_pos, root;
//
// location.href is:
// mk:@MSITStore:X:\bo_lang\de_lahe.chm or mk-its:X:\bo_lang\de_lahe.chm
// where X can be C or D
//

root = /d:\\bo_lang/;
root_pos = location.href.search(root);
if (root_pos > 0)
location.href
='mk:@MSITStore:d:\\bo_lang\\de_pcard.chm::/Topic/pocketkartetc-maschine.htm
';
else
location.href
='mk:@MSITStore:c:\\bo_lang\\de_pcard.chm::/Topic/pocketkartetc-maschine.htm
';
}
-->
</script>
<a onclick="hrefTo_pcard()" style="text-decoration: underline; color: blue;
cursor: hand">weitere Infos</a></font></td>

0 new messages