ALPHA STORE DESIGN STUDIO - authorized Yahoo! Small Business Partner
call us at (908).338.3992
 
About Us
Portfolio
System Additions for Store Pages
Custom Graphic Design. How It Works
/
BLOG: A few "tips" and "RTML secrets" of Yahoo store.

OUR BLOG: Yahoo Store from A to Z and RTML development "secrets".


RTML Operator “AS-LIST”

In an RTML template the newly created operator looks like:

AS-LIST type nil
        class nil
        id nil
        style nil
        title nil

This operator insert <ul>….</ul> or <ol>….</ol> lists html tags into the page code. The type of tag depends on the attribute type value, either :оrdered or :unordered

EXAMPLE

AS-LIST type :оrdered
  ITEM 
    TEXT "First Notation"
  ITEM
    TEXT "Second Notation"

The HTML code will be generated as:

<ol><li>First Notation</li><li>Second Notation</li></ol>

Tags: , , , ,

Leave a Reply