View Full Version : Rotating Scroll list jumps some options.
theremotedr
05-13-2018, 09:02 AM
Hi,
Here is the page in question,
http://www.theremotedoctor.co.uk/karmotorcycles.html?scrollto=selection
Looking on a mobile device you click the blue area to make the list rotate.
If you notice the names in the list on first rotation they all rotate fine.
But on its second rotation after Kawasaki M-Cycle it should be Suzuki M-Cyle followed by the other options but what actually happens is after Kawasaki the list jumps to Honda M Cycle Type 1 which is first in the list.
If you just keep the rotation going every other one rotates fine where the opposite jumps.
I’ve looked a few times this morning but can’t see why this is happening.
Many thanks.
coothead
05-13-2018, 12:12 PM
Hi there theremotedr,
you have added too many lines of code. :eek:
Remove lines #274 to #280...
<li onclick="replaceMainImage('m-images/photos/HONDA056.png', 'Honda056','£22.00</b><br>Chip Will Require Programming<br>Key Will Require Cutting<br><span class=variousColor>Any Questions Please Ask</span><br><span class=keychipColor>Chip Also Supplied</span><br><span class=usedColor>Some I Can Cut/Clone</span><br><b>UK Recorded £2.50</b><br><b>International Signed For £10.00<br></b><b>Posted From The UK</b><br><span class=drColor>The Remote Doctor</span>')">Honda Gold Wing</a></li>
<li onclick="replaceMainImage('m-images/photos/KAWASAKI001.png', 'Kawasaki001','<b>£16.00</b><br>Chip Will Require Programming<br>Key Will Require Cutting<br><span class=variousColor>Any Questions Please Ask</span><br><span class=keychipColor>Chip Also Supplied</span><br><span class=usedColor>Some I Can Cut/Clone</span><br><b>UK Recorded £2.50</b><br><b>International Signed For £10.00<br></b><b>Posted From The UK</b><br><span class=drColor>The Remote Doctor</span>')">Kawasaki M-Cycle</a></li>
<li onclick="replaceMainImage('m-images/photos/SUZUKI012.png', 'Suzuki012','<b>£16.00</b><br>Chip Will Require Programming<br>Key Will Require Cutting<br><span class=variousColor>Any Questions Please Ask</span><br><span class=keychipColor>Chip Also Supplied</span><br><span class=usedColor>Some I Can Cut/Clone</span><br><b>UK Recorded £2.50</b><br><b>International Signed For £10.00<br></b><b>Posted From The UK</b><br><span class=drColor>The Remote Doctor</span>')">Suzuki M-Cycle</a></li>
<li onclick="replaceMainImage('m-images/photos/YAMAHA001.png', 'Yamaha001','£16.00</b><br>Chip Will Require Programming<br>Key Will Require Cutting<br><span class=variousColor>Any Questions Please Ask</span><br><span class=keychipColor>Chip Also Supplied</span><br><span class=usedColor>Some I Can Cut/Clone</span><br><b>UK Recorded £2.50</b><br><b>International Signed For £10.00<br></b><b>Posted From The UK</b><br><span class=drColor>The Remote Doctor</span>')">Yamaha M=Cycle</a></li>
coothead
theremotedr
05-13-2018, 01:39 PM
Thanks,
I didnt notice that but now seems fine.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.