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 [2009/10/26 15:41]
aspectscript
examples:example1 [2021/01/21 20:56] (current)
aspectscript
Line 1: Line 1:
 ======  A Simple  Example ====== ======  A Simple  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. 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 +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.
-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: 
 <html> <html>
-   <br> +<link href="/aspectscript/external/aspectscript/paperExamples/style.css" rel="stylesheet" type="text/css"/>
-   <link href="/aspectscript/external/aspectscript/paperExamples/style.css" rel="stylesheet" type="text/css"/>+
   <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>
  
-   <a id="button" class="button" onclick="toggle("code",example")> <span>Exchange between the code and example </span></a> +   <iframe id="example" src="/aspectscript/external/aspectscript/paperExamples/example1" width="810" height="460"></iframe>     
-   <iframe id="example" src="/aspectscript/external/aspectscript/paperExamples/example1" 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> 
-     + 
-    <iframe id="code" style="display:none" src="/aspectscript/external/aspectscript/paperExamples/example1/script.js" width="810" height="470"></iframe> +   <a id="button" class="button" onclick="toggle('code','example')"> <span>Toggle between the code and example </span></a> 
-     +
 </html> </html>
  • examples/example1.1256582489.txt.gz
  • Last modified: 2009/10/26 15:41
  • by aspectscript