Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Hints / slider compatibility
fcorbin
Junior Member

Posts: 4
Registered: 12/30/2009
Member Is Offline
posted on 12/30/2009 at 03:41 PM Reply With Quote
Hints / slider compatibility


Posting this issue in bothe the slider and hints forums...

I have created a page where I intend to use both sliders and hints.

With the sliders only, everything works fine. If I add the declaration of the hint object itself (even if I don't even put in the code to show/hide the hints), my sliders mis-behave. I click the slider handle, start moving, the cursor changes into the 'no traffic' sign (circle with diagonal bar). I let go of the mouse button and the slider moves again with the mouse. I click the handle and it stops moving, properly registering the slider value.

In Firefox, everything with hints and sliders works fine. The problem is happening in IE only (tested with IE6 and IE7 with same problem).

Any ideas how to go around this?
View User's Profile View All Posts By User U2U Member
fcorbin
Junior Member

Posts: 4
Registered: 12/30/2009
Member Is Offline
posted on 1/4/2010 at 04:21 PM Reply With Quote

I finally tracked the issue back to the mouse move event. The slider hooks to it within this if statement:

if (!window.f_savedMouseMove && document.onmousemove != f_sliderMouseMove) {
window.f_savedMouseMove = document.onmousemove;
document.onmousemove = f_sliderMouseMove;
}

The hints on the other hand use this statement:
document.attachEvent('onmousemove',f_onMouseMove);

I just commented out the document.attachEvent in tigra_hints.js and my sliders work fine now. Of course, the hints do not move with the mouse anymore, but it is minor for me.

If anyone knows how to truly fix the problem (i.e. allow the hints to follow mouse movements), the please post back.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
 Product Demonstrations Live Demo
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004