Results 1 to 4 of 4

Thread: Using Slashdot Menu.. questions.

  1. #1
    Join Date
    Apr 2009
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using Slashdot Menu.. questions.

    1) Script Title:
    Slashdot Menu

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

    3) Describe problem:

    Hi,
    I would like to change the position of the collapsed-image,
    from left to Right.

    How to do That?

    Thanks.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    In sdmenu.css change:
    Code:
    	background: url(expanded.gif) no-repeat 10px center;
    To:
    Code:
    	background: url(expanded.gif) no-repeat 10px right;
    I'm not sure it will work, but it's always worth a try!
    Jeremy | jfein.net

  3. #3
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Nile, in the background shorthand, the last value is the vertical align. The possible values are top, center and bottom. The second from last value however, controls the horizontal align, so change this:
    Code:
    div.sdmenu div span {
    	display: block;
    	padding: 5px 25px;
    	font-weight: bold;
    	color: white;
    	background: url(expanded.gif) no-repeat 10px center;
    	cursor: default;
    	border-bottom: 1px solid #ddd;
    }
    into this:
    Code:
    div.sdmenu div span {
    	display: block;
    	padding: 5px 25px;
    	font-weight: bold;
    	color: white;
    	background: url(expanded.gif) no-repeat right center;
    	cursor: default;
    	border-bottom: 1px solid #ddd;
    }
    Good luck!

  4. #4
    Join Date
    Apr 2009
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also,
    I got 2 <span> ---> <span>Online Tools</span>
    which dont have submenus,
    but they are need to be link to page.
    How can I keep there design and make them also link?

    Thanks..

Tags for this Thread

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
  •