Friend List Component Generated HTML: Difference between revisions


mNo edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
====Friends component dynamically generated html:====
====Friends component dynamically generated html:====
<br>
<source lang="html4strict">
<source lang="html4strict">
<pre>
 
<div class="component friend_component">
<div class="component friend_component">
   <h2>
   <h2>
Line 17: Line 19:
   </div>
   </div>
</div>
</div>
</pre>
 
</source>
</source>


When a user adds a friends component to their Viviti site, this is the html that is dynamically generated.


When a user adds a [[Friends | Friends component]] to their 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.
 
You can also disable the buddy icons for the friends in the friends component and it will alter the html that is outputted.




<hr>
<hr>
====Friends component with buddy icons disabled:====
====Friends component with buddy icons disabled:====


<pre>
<source lang="html4strict">
<div class="component friend_component">
<div class="component friend_component">
   <h2>
   <h2>
Line 44: Line 45:
   </div>
   </div>
</div>
</div>
</pre>
</source>
 


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.
When a user adds a [[Friends | Friends component]] to their site, this is the html that is dynamically generated if they have buddy icons disabled.


[[Category:Dynamically Generated HTML]]
[[Category:Dynamically Generated HTML]]

Latest revision as of 11:08, 12 October 2010

Friends component dynamically generated html:


<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>


When a user adds a Friends component to their site, this is the html that is dynamically generated.


You can also 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:

<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>


When a user adds a Friends component to their site, this is the html that is dynamically generated if they have buddy icons disabled.