Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Superfish supersubs minWidth problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38351
    dzulfriday
    Member

    Take a look at my dev site: http://dev.taarana.org.my/

    I ask the developer how to make my menu shows in one line so he said change the main.js that contains SuperFish menu. The code snippet is

    		$('ul.sf-menu').supersubs({
    minWidth: 27,
    maxWidth: 40,
    extraWidth: 1
    })

    The problem is solved, all menu displayed in one line. But now new problem happen, the menu with short word shows so many extra spaces in the end.

    Is there anyway i can set only the menu with the longest word will have different width? Or you guys any other trick?

    #103962
    Anonymous
    Inactive

    ok

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.