https://bugzilla.wikimedia.org/show_bug.cgi?id=38500
Web browser: ---
Bug #: 38500
Summary: Jquery.ui.slider borked with IE
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
problem is that the jquery.ui.slider creates a knob which is an anchor element,
whose href is "#". this causes IE to jump to the top of the page as soon as one
clicks on the knob in order to use the slider. this makes the slider
practically unusable.
REPRODUCTION:
1) create a wikipage, add enough lines to push current location so it's
unvisible when you are at top of page.
2) below this, create a new div, with class = "slidertest".
3) create a script like so:
$(function() {
mw.loader.using('jquery.ui.slider', function() {
$('div.slidertest').slider(
{
max: 150,
min: 50,
value: 77
});
});
});
4) open the page in IE, and try to move the slider knob.
5) note that you can move the slider knob in chrome and ff, but in ie, as soon
as you click on it, the page jumps to the top.
WORKAROUND:
i do not have one - will be grateful for anything, even if it means adding some
junk to my (clean and nice) scripts.
peace.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l