Announcement

Collapse
No announcement yet.

Attribute Prompt line break

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Attribute Prompt line break

    Anyone know of a way I can add a line break <br/>
    to an attribute prompt? I have some long prompts and would like to control when the text string breaks to a new line.

    Gary

    [email protected]
    www.icCommerce.com

    #2
    Just off the top of my head: try putting a special character, such as an asterisk, in your prompts at the place where you want a line break. Then in the page template, replace the usual:
    Code:
    &mvt:attribute:prompt;
    -- with:
    Code:
    <mvt:eval expr="glosub(l.settings:attribute:prompt, '*', '<br/>')" />
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


      #3
      Thank you Kent, that worked.
      Gary

      [email protected]
      www.icCommerce.com

      Comment

      Working...
      X