examples:example1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
examples:example1 [2011/01/05 17:02]
aspectscript
examples:example1 [2021/01/21 20:56] (current)
aspectscript
Line 1: Line 1:
 ======  A Simple  Example ====== ======  A Simple  Example ======
-Explain example+In Facebook, users can freely tag people (supposedly) appearing in photos. If the user being tagged is a friend of the tagger, the tag becomes a link to the user profile, and the picture is added to the personal photo album. However, to avoid wrong tags, Facebook provides a way to remove them through a "remove tag" option. 
 + 
 +For most cases, this simple solution is satisfactory. However, if a user has been wrongly tagged in hundreds of photos, he has to remove each tag individually. Let us devise an extension to Facebook that suggests an automatic removal of all tags once a user untags herself from a certain number of pictures (say 3) in a given album.
  
 The implementation follows:  The implementation follows: 
Line 7: Line 9:
   <script type="text/javascript" language="javascript" src="/aspectscript/external/aspectscript/paperExamples/lib.js"> </script>   <script type="text/javascript" language="javascript" src="/aspectscript/external/aspectscript/paperExamples/lib.js"> </script>
  
-   <iframe id="example" src="/aspectscript/external/aspectscript/paperExamples/example1" width="810" height="470"></iframe>     +   <iframe id="example" src="/aspectscript/external/aspectscript/paperExamples/example1" width="810" height="460"></iframe>     
-    <iframe id="code" style="display:none" src="/aspectscript/external/aspectscript/paperExamples/example1/script.js" width="810" height="470"></iframe>+   <iframe id="code" style="display:none" src="https://www.pleiad.cl/aspectscript/aspectscript/external/aspectscript/paperExamples/example1/script.js" width="810" height="460"></iframe>
  
    <a id="button" class="button" onclick="toggle('code','example')"> <span>Toggle between the code and example </span></a>    <a id="button" class="button" onclick="toggle('code','example')"> <span>Toggle between the code and example </span></a>
  
 </html> </html>
  • examples/example1.1294261336.txt.gz
  • Last modified: 2011/01/05 17:02
  • by aspectscript