Friends: Difference between revisions


(New page: A friends component is used for adding a list of friends from various web sites including Flickr, LiveJournal, LinkedIn, and any URL. ====Friends component dynamically generated html:===...)
 
No edit summary
Line 2: Line 2:




====Friends component dynamically generated html:====


<pre>
<div class="component friend_component">
  <h2>
    <span>Friends Component Title</span>
  </h2>
  <div class="component_content">
    <ul class="friends">
      <li>
        <a href="">
          <img width="48" height="48" src="" />
          <div class="friend_name">Friend Name</div>
        </a>
      </li>
    </ul>
  </div>
</div>
</pre>
When a user adds a friends component to their Viviti site, this is the html that is dynamically generated.
You can disable the buddy icons for the friends in the friends component and it will alter the html that is outputted.
====Friends component with buddy icons disabled:====
<pre>
<div class="component friend_component">
  <h2>
    <span>Friends Component Title</span>
  </h2>
  <div class="component_content">
    <ul>
      <li>
        <a href="">Friend Name</a>
      </li>
    </ul>
  </div>
</div>
</pre>
When a user adds a friends component to their Viviti site, this is the html that is dynamically generated if they have buddy icons disabled.


[[Category:Components]]
[[Category:Components]]

Revision as of 22:26, 19 November 2008

A friends component is used for adding a list of friends from various web sites including Flickr, LiveJournal, LinkedIn, and any URL.