[richfaces-svn-commits] JBoss Rich Faces SVN: r11940 - in trunk/docs/common-resources/en/src/main: script and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Sat Dec 20 08:41:18 EST 2008
Author: artdaw
Date: 2008-12-20 08:41:18 -0500 (Sat, 20 Dec 2008)
New Revision: 11940
Modified:
trunk/docs/common-resources/en/src/main/css/html.css
trunk/docs/common-resources/en/src/main/script/toggle.js
Log:
https://jira.jboss.org/jira/browse/RF-5429 - an anchors to titles were added
Modified: trunk/docs/common-resources/en/src/main/css/html.css
===================================================================
--- trunk/docs/common-resources/en/src/main/css/html.css 2008-12-20 12:53:19 UTC (rev 11939)
+++ trunk/docs/common-resources/en/src/main/css/html.css 2008-12-20 13:41:18 UTC (rev 11940)
@@ -13,30 +13,45 @@
}
body {
-background-image:url(../images/richfaces_label2.png);
-background-repeat:no-repeat;
-background-attachment:fixed;
-background-position:top left;
-z-index:1;
-color:#333333;
-font-family:'Lucida Grande',Geneva,Verdana,Arial,sans-serif;
-font-size:12px;
-line-height:150%;
-max-width:1000px;
-padding:0em 2em;
-text-align:center;
+ background-image:url(../images/richfaces_label2.png);
+ background-repeat:no-repeat;
+ background-attachment:fixed;
+ background-position:top left;
+ z-index:1;
+ color:#333333;
+ font-family:'Lucida Grande',Geneva,Verdana,Arial,sans-serif;
+ font-size:12px;
+ line-height:150%;
+ max-width:1000px;
+ padding:0em 2em;
+ text-align:center;
}
div#overlay{
-background-image:url(../images/community/bkg_gradient.gif);
-background-repeat:repeat-x;
-width:100%;
-height:100%;
-position:absolute;
-top:0px;
-left:0px;
-z-index:-1;
-}
+ background-image:url(../images/community/bkg_gradient.gif);
+ background-repeat:repeat-x;
+ width:100%;
+ height:100%;
+ position:absolute;
+ top:0px;
+ left:0px;
+ z-index:-1;
+}
+
+
+h2.title a:hover, h3.title a:hover, h4.title a:hover, h5.title a:hover, h6.title a:hover {
+ text-decoration:underline;
+}
+
+h2.title a, h3.title a, h4.title a, h5.title a, h6.title a {
+ text-decoration:none;
+}
+
+
+div.chapter, div.section {
+ padding-top:3em;
+}
+
div.book, div.chapter, div.section{
width:1000px;
margin:0 auto;
@@ -267,4 +282,4 @@
border:0;
margin:0;
display: inline;
-}
\ No newline at end of file
+}
Modified: trunk/docs/common-resources/en/src/main/script/toggle.js
===================================================================
--- trunk/docs/common-resources/en/src/main/script/toggle.js 2008-12-20 12:53:19 UTC (rev 11939)
+++ trunk/docs/common-resources/en/src/main/script/toggle.js 2008-12-20 13:41:18 UTC (rev 11940)
@@ -14,6 +14,14 @@
var params='subject='+$F('subject')+'&message='+escape($F('message'))+'&name='+$F('name')+'&email='+$F('email')+'&path='+window.location;
var xmlobj=new Ajax.Updater('feedback-state','script/send_mail.php',{method:'get',parameters: params});
}
+
+Event.observe(window, 'load', function() {
+ var array = new Array();
+ array = $$('.title:not(h1) a');
+ for(i=0; i<array.length; i++){
+ array[i].setAttribute('href', window.location.toString().replace(/#[0-9A-Za-z_\-]*/, "")+"#"+$(array[i]).readAttribute('id'));
+ }
+});
function dbToggle(node, expandText, collapseText) {
var dt = node.parentNode;
@@ -57,4 +65,4 @@
show: function(node) {
node.style.display = "";
}
-};
\ No newline at end of file
+};
More information about the richfaces-svn-commits
mailing list