Forums >
Tipster >
Another JS library causes tips to display in wrong place
Author
Message
1) philduhsGroup: Members Posts: 3Joined: 31 Aug 2006Location: AucklandIP: 85.75.--.--
Posted:
Hi
If you browse to this page I am developing http://eventsite.kroma.co.nz/album.jsp and mouse over the items in the shopping cart or the icons on the LHS of the big picture all is good with the location of the tip.
As soon as you use the scroll bar under the thumbnails though the tips start appearing next to the where you first clicked to do the scrolling instead of where they should.
Can you have a look and tell me what I should do to make this work (other than throw out the other script library!) I have tried changing variable names but this didn't seem to help - I expect the other script is doing something strange but I'm not sure...
Rgds, Phil
2) Angus TurnbullGroup: Moderators Posts: 4235Joined: 7 Dec 2003Location: New ZealandIP: 203.109.--.--
Posted:
Your site seems to be down at the moment. I can't think why another library would do this; Tipster uses its internal "page" object to pick up document dimensions so unless there's a variable conflict there I can't think where the problem might be.
- Angus.
3) philduhsGroup: Members Posts: 3Joined: 31 Aug 2006Location: AucklandIP: 85.75.--.--
Posted:
Hi
Oops, sorry, the DNS hasn't been made public - are you able to email me your email address (to both consulting@philduhs.com and zl1slm@winlink.org) so I can send you the IP (don't want to put it on this public site just yet) to add to your hosts file?
Rgds, Phil
4) Angus TurnbullGroup: Moderators Posts: 4235Joined: 7 Dec 2003Location: New ZealandIP: 203.109.--.--
Posted:
Eh, too much trouble :).
Perhaps you could just name this other script library, and I could try it out on my own?
- Angus.
5) philduhsGroup: Members Posts: 3Joined: 31 Aug 2006Location: AucklandIP: 213.5.--.--
Posted:
Hi Angus
Yeah - fair enough! Try this - should be viewable now :-)
http://www.philduhs.com/album.jsp
Check it out in Firefox - as soon as you use the drag thing in the scroller the tips pop up in the wrong place! The script is ScrollerGenie from DMXZone.com.
Very interested in what you reckon!
Rgds, Phil
6) Angus TurnbullGroup: Moderators Posts: 4235Joined: 7 Dec 2003Location: New ZealandIP: 203.109.--.--
Posted:
I had a look at the source and the problem is that the ScrollerGenie script is rather poorly coded, and doesn't account for other scripts on the page. Basically it completely overrides Tipster's mouse-position-tracking function when you begin dragging its scrollbar, which causes the tip to always "appear" where the mouse was last "seen" in the document (the position of the scroller).
You could contact the author perhaps to fix it, or alternatively I could modify either the scroller script (or the Tipster script, probably) to workaround this issue. Send me an email /contact/ if you are interested in that!