Author: jleroux
Date: Sat Jun 8 12:21:59 2013
New Revision: 1490968
URL: http://svn.apache.org/r1490968
Log:
Forgot to put the necessary externalRel() function for <<rel="external">> to
work
Modified:
ofbiz/site/index.html
Modified: ofbiz/site/index.html
URL:
http://svn.apache.org/viewvc/ofbiz/site/index.html?rev=1490968&r1=1490967&r2=1490968&view=diff
==============================================================================
--- ofbiz/site/index.html (original)
+++ ofbiz/site/index.html Sat Jun 8 12:21:59 2013
@@ -163,7 +163,7 @@
<p>Apache OFBiz is a project of <a href="http://www.apache.org/">The
Apache Software Foundation</a>.</p>
<p>Being open source under the Apache 2.0 license and driven by a
community Apache OFBiz offers both flexibility by design and by access to code,
and a solution where you're not alone but rather can work with many others to
get things done.
- It's hard to say who and how many organizations are using Apache OFBiz
because they don't have to tell us when they use it.
+ It's hard to say who and how many organizations are using Apache OFBiz
because they don't have to tell us when they use it.
In the <a href="documentation.html">documentation</a> page you'll find
link to a Wiki page with the list of known sites and products based on OFBiz we
know about ("Users of Apache OFBiz").</p>
<p>For answers to your questions you might find the following
documents useful:</p>
@@ -247,6 +247,21 @@
</div>
</div>
<!-- wrap ends here -->
-
+<script>
+function externalRel() {
+ var links = document.getElementsByTagName('a');
+ for(nb in links) {
+ var link = links[nb];
+
+ if(link.getAttribute('rel') == 'external') {
+ link.setAttribute('target','_blank');
+ }
+ }
+}
+
+window.onload = function() {
+ externalRel();
+};
+</script>
</body>
</html>