lubosp
Junior Member
Posts: 3
Registered: 10/10/2005
Member Is Offline
|
| posted on 10/10/2005 at 09:56 PM |
|
|
Is there a way to use Hints in scroller contents
I have a scroller contents in the html file, and standalone it contains hints that works OK. But If I display the contents of the html file in the
scroller on the main page using Tscroll_init (0), the hints are not displayed.
Note that the same page contains other hits which are displayed, so it is not initailization problem.
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 10/17/2005 at 11:07 AM |
|
|
The issue is that hints and scroller content are located in different frames.
|
|
|
lubosp
Junior Member
Posts: 3
Registered: 10/10/2005
Member Is Offline
|
| posted on 10/17/2005 at 04:32 PM |
|
|
Is there a way to use hint in scroller iframe?
I tried to add hints.js, hints_sfg.js inti ts_files/scroll.html but that does not work.
Is there a way to make hints work in scroller?
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 10/18/2005 at 08:28 AM |
|
|
In the scroller content code try following pattern:
<sometag onMouseOver="parent.myHint.show(3)" onMouseOut="parent.myHint.hide()">
|
|
|
lubosp
Junior Member
Posts: 3
Registered: 10/10/2005
Member Is Offline
|
| posted on 10/18/2005 at 02:37 PM |
|
|
Is there a way to use Hints in scroller contents
Yep, that did it. Using parent.myHint... and including:
<script language="JavaScript" src="../hints.js"></script>
<script language="JavaScript" src="../hints_cfg.js"></script>
into scroller content html solved the problem. Maybe item for FAQ?
Thanks for all your help!!! 8-)
|
|
|