You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/09/05 03:58:36 UTC

svn commit: rev 43358 - forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples

Author: crossley
Date: Sat Sep  4 18:58:36 2004
New Revision: 43358

Modified:
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml
Log:
Demonstrate the "jump|fork" functionality of window control by
using class attribute on links.
Issue: FOR-245
Submitted by: Rick Tessner


Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml	Sat Sep  4 18:58:36 2004
@@ -95,6 +95,10 @@
               to another document and go to the named anchor. This will open
               the new document in the same browser window.
             </dd> 
+            <dt>Targetted window control with jump and fork.</dt> 
+            <dd>See demonstration
+             <a href="#link-class">using class attribute on links</a>.
+            </dd> 
         </dl></li> 
 
         <li>Oh, by the way, a definition list <code>&lt;dl&gt;</code> was used inside
@@ -297,6 +301,37 @@
         </p>
         <figure src="../images/project.png" alt="The fine Forrest logo" width="220" height="65"/>	
       </section>
+      <section id="link-class">
+        <title>Using class attribute on links</title>
+
+        <p>The document-v13 had elements &lt;fork&gt; and &lt;jump&gt;. In
+        document-v20, those elements no longer exist but the functionality can
+        be duplicated by using the @class attribute.
+        Even though the opening of separate windows should be under the
+        control of the user, these techniques can still be employed.</p>
+
+        <table>
+          <tr>
+            <th><p>Document V1.3</p></th>
+
+            <th><p>Document V2.0</p></th>
+          </tr>
+
+          <tr>
+            <td><p>&lt;fork href="faq.html"&gt;</p></td>
+
+            <td><a class="fork" href="faq.html">&lt;a class="fork"
+            href="faq.html"&gt;</a></td>
+          </tr>
+
+          <tr>
+            <td><p>&lt;jump href="faq.html"&gt;</p></td>
+
+            <td><p><a class="jump" href="faq.html">&lt;a class="jump"
+            href="faq.html"&gt;</a></p></td>
+          </tr>
+        </table>
+      </section>
     </section>
 
     <section id="changes">
@@ -311,8 +346,9 @@
              to <strong>&lt;a&gt;</strong>
           </li>
           <li>Removed <strong>&lt;fork&gt;</strong>
-             and <strong>&lt;jump&gt;</strong> in favour of
-             <strong>&lt;a&gt;</strong>
+             and <strong>&lt;jump&gt;</strong> in favour of the
+             <strong>&lt;a&gt;</strong> element. See demonstration
+             <a href="#link-class">using class attribute on links</a>.
           </li>
         </ul>
       </section>