Results 1 to 2 of 2

Thread: add statusicon to Arrow Side Menu ?

  1. #1
    Join Date
    Mar 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default add statusicon to Arrow Side Menu ?

    1) Script Title: Arrow Side Menu

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...menu-arrow.htm

    3) Describe problem:
    Is it possible to add a statusicon to the above script and keep the background sprite working as it is

  2. #2
    Join Date
    Mar 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Problem Solved

    I have found a way of doing this if anyone else is interested. Not sure it's the best way but appears to work

    added this to css
    Code:
    .statusicon{ /*CSS for icon image that gets dynamically added to headers*/
    position: absolute;
    margin-top: 8px;
    margin-left: 4px;
    border: none;
    }
    .menuheaders a{
    	text-indent: 18px;
    }
    and added this to //Initialize Arrow Side Menu: to point to images
    Code:
    togglehtml: ["prefix", "<img src='http://www.3d-cases.co.uk/assets/images/icons/menu-plus_icon.gif' class='statusicon' />", "<img src='http://www.3d-cases.co.uk/assets/images/icons/menu-minus_icon.gif' class='statusicon' />"],
    If anyone knows a better/simplier way please let me know
    Thanks DD for a great menu

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
  •