That's the component I'm talking about yes. I understand the supersubsParams 
that takes the config but not the supersubs  paramter itself. To me it should 
be a boolean?

John
  ----- Original Message ----- 
  From: Bob Harner 
  To: Tapestry users 
  Sent: Sunday, November 18, 2012 12:14 PM
  Subject: Re: superfish comp


  I guess you're referring to the supersubs parameter of the superfish
  component in the Tapestry5-jquery module, right?

  Just a wild guess (haven't used it), but upon looking at the "with
  Supersubs" tab at http://users.tpg.com.au/j_birch/plugins/superfish/ I
  would guess the supersubs parameter is how you pass the supersubs
  configuration settings. So it would be a JSON string containing something
  like this:

  {
      minWidth:    12, // minimum width of sub-menus in em units
      maxWidth:    27, // maximum width of sub-menus in em units
      extraWidth:  1   // extra width can ensure lines don't sometimes turn or
                       // due to slight rounding differences and font-family
  }



  On Sun, Nov 18, 2012 at 6:29 AM, John <j...@quivinco.com> wrote:

  > Has anyone got an example of the JSONObject provided by the supersubs prop
  > for the superfish component please? I expected this to be a Boolean
  > literal, not a JSONObject property?
  >
  > John

Reply via email to