Results 1 to 3 of 3

Thread: Newbie requires code checking please

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

    Default Newbie requires code checking please

    Here is the page http://www.theremotedoctor.co.uk/accaudi.html

    Looking at this,
    $('.sub-menu').hide();

    $("li:has(ul)").click(function(){

    $("ul",this).toggle('slow');
    });

    From here http://stackoverflow.com/questions/8...e-been-clicked

    But something is incorrect as the Accessories tab is affected and not the Honda listing within the Accessories tab ?
    Last edited by theremotedr; 04-12-2015 at 02:16 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You've (or someone has) marked this resolved. Is it?

    Also please post javascript questions in the javascript section where I'm moving this. I just had another post of yours I answered that also needed to be moved to the correct sub-forum (again, javascript from css). css is only for style questions.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default

    Hi,
    No its not,i resolved the incorrect one.

    Need some code checked and an edit advised please.

    Ive applied a sub-menu under Keys & remotes / Honda
    This sub-menu works fine on the pc BUT on the iphone it runs a little different.

    This is what i would like to happen.
    1,Select menu.
    2,Drop down list now visable & under Keys & Remotes i select Honda.
    3,Sub-menu drops dows & from this selection list you will see Accord Civic Crv etc etc.
    4,Your selected vehicle is now on the screen.


    This is what actually happens
    1, As above
    2, As above
    3, You are now taken to the top of the drop down list.
    4, Scroll down to Honda where the sub-menu is now visable.
    5, Select from the list either Accord Civic Crv etc etc
    6,Your selected vehicle is now on the screen.

    After selecting Honda i assumed "never assume" the sub-menu would appear & i make the select NOT to be taken back to the top.

    Once again many thanks.

Similar Threads

  1. Resolved Newbie with jQuery code question
    By theremotedr in forum CSS
    Replies: 4
    Last Post: 04-10-2015, 01:35 PM
  2. Checking Code vs different browsers
    By mcolton in forum HTML
    Replies: 5
    Last Post: 03-01-2012, 03:35 PM
  3. Help Requires for Animated Collapsible DIV v2.01
    By mapofurl in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-22-2008, 02:44 AM
  4. Replies: 4
    Last Post: 02-29-2008, 03:16 AM
  5. Checking 4 Domain...good Code Bad Writer
    By sasha hantz in forum JavaScript
    Replies: 1
    Last Post: 06-24-2007, 03:46 PM

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
  •