Results 1 to 3 of 3

Thread: Rotating Scroll list jumps some options.

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default Rotating Scroll list jumps some options.

    Hi,
    Here is the page in question,
    http://www.theremotedoctor.co.uk/kar...llto=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.

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,226
    Thanks
    1
    Thanked 236 Times in 231 Posts

    Default

    Hi there theremotedr,


    you have added too many lines of code.

    Remove lines #274 to #280...

    Code:
    
    <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
    ~ the original bald headed old fart ~

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default

    Thanks,
    I didnt notice that but now seems fine.

Similar Threads

  1. moving options from one select list to another.
    By riptide in forum JavaScript
    Replies: 31
    Last Post: 10-22-2010, 04:25 AM
  2. Form List/Menu with with secondary options to select
    By jpll in forum Looking for such a script or service
    Replies: 0
    Last Post: 01-19-2010, 12:01 AM
  3. choose 2 options from a list and display there relevant camstream
    By STEVE1000 in forum Looking for such a script or service
    Replies: 0
    Last Post: 10-19-2009, 11:55 PM
  4. adding options to a select list
    By hosdank in forum JavaScript
    Replies: 12
    Last Post: 08-22-2008, 04:09 PM
  5. problem in select list move options
    By giselle2008 in forum JavaScript
    Replies: 1
    Last Post: 01-15-2008, 12:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •