Board Logo

Some problems with FireFox
ArcEnCiel - 8/20/2004 at 10:04 AM

Hi,

I have a display problem with Firefox and my use of TigraHints. Let me explain :

My TigraHints just doesn't appear on screen. Using the Javascript console i saw that my variable "myHints has no properties" and that "THints is not defined".

My webpage works on IE6 (but not in Firefox).

My pages are produced by a servlet and some XSL Transformations
Here's some infos :

In My HEAD I wrote this :
<head>
<script src="./Spectacles/hints.js" type="text/javascript"></script>
<script type="text/javascript">

var HINTS_CFG = {
'top' : 15,
'left' : 15,
'css' : 'hintsClass',
'show_delay' : 200,
'hide_delay' : 99999,
'wise' : true,
'follow' : true,
'z-index' : 0 // a z-index for all hint layers
},

HINTS_ITEMS = [

'blablabla dooooooh !!!!' ,
];

var myHints = new THints (HINTS_CFG, HINTS_ITEMS);

</script>
</head>
<body>
...
<tr onMouseOut="myHints.hide()" onMouseOver="myHints.show(0)">
...
</body>

I know the problem doesn't come from Tigra cuz your demo page works using Firefox so ... i can't put my finger onto the error ...
perhaps the scope or the declaration .of my variable ...
i think that the path to the hints.js is correct ...(cuz it works with IE)

thanks in advance for your help !!!
Arc-en-Ciel

===> Ouf, I found out the problem ...
(don't ask me pleaz, ... i change the name myHints into myHint, and in my path I reverse the separator (use / at the place of the window ) ... perhaps ...
the fact is : that rocks under IE or Firefox ...


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/