Hi!

On Thu, Jan 17, 2002 at 10:08:46AM +0800, Stas Bekman wrote:
> I've only one request, can we add some more space after the word Prev 
> and before word Next? It's a little bit unballanced, if you see what I mean.
I changed the images a little bit, inform me if you think I added to little
space.

Preview:
http://domm.zsi.at/modperl-site-domm

Patch and new images attached


-- 
 D_OMM      +---->  http://domm.zsi.at <-----+
 O_xyderkes |       neu:  Arbeitsplatz       |   
 M_echanen  | http://domm.zsi.at/d/d162.html |
 M_asteuei  +--------------------------------+


Index: src/style.css
===================================================================
RCS file: /home/cvspublic/modperl-docs/src/style.css,v
retrieving revision 1.7
diff -u -r1.7 style.css
--- src/style.css       16 Jan 2002 05:25:00 -0000      1.7
+++ src/style.css       17 Jan 2002 11:14:47 -0000
@@ -9,15 +9,11 @@
         padding: 2px;
         background-color: #828DA6;
         color: #ffffff;
-        margin-top: 2px;
-        margin-bottom: 2px;
 }  
 
 h1, h2, h3, h4 {
         background-color: #dddddd;
         color: #525D76;
-        margin-top: 4px;
-        margin-bottom: 4px;
 
 }  
 
@@ -139,11 +135,7 @@
 }
 
 div.navbarlocal {
-        padding: 2px;
-        margin-top: 2px;
-        margin-bottom: 0px;
-        text-align: center;
-        font-size: small;
+        text-align: right;
 }
 
 div.menu {
Index: tmpl/custom/html/navbar_local
===================================================================
RCS file: /home/cvspublic/modperl-docs/tmpl/custom/html/navbar_local,v
retrieving revision 1.2
diff -u -r1.2 navbar_local
--- tmpl/custom/html/navbar_local       6 Jan 2002 12:15:17 -0000       1.2
+++ tmpl/custom/html/navbar_local       17 Jan 2002 11:14:47 -0000
@@ -3,69 +3,21 @@
    # nav          - cache navigator object
    # rel_doc_root - relative docs path
 %]
+<div class='navbarlocal'>
 [% 
    prev = nav.prev;
-   next = nav.next;  
-   buttons = [];
    IF prev;
         link = INCLUDE link prefix=rel_doc_root link=prev.meta.link;
-       left = "<img src='${doc.dir.abs_doc_root}/images/left.gif' ALT='prev' 
border=0>";
-       buttons.push({link => link, 
-                     text => "${prev.meta.title}" 
-                    prelink => "<td align='right' width='40%'><div 
class='navbarlocaltext'>",   
-                    postlink => "</div></td>",
-                    });
-        buttons.push({link => link, 
-                     text => "$left" 
-                    prelink => "<td align='right' width='3%'>",   
-                    postlink => "</td>",
-                    });
-   
-    ELSE; 
-       buttons.push({link => "", 
-                     text => "&nbsp;" 
-                    prelink => "<td width='43%'>",   
-                    postlink => "</td>",
-                    });
-    END;
-
-
-       buttons.push({link => "$rel_doc_root/index.html", 
-                     text => "<img src='${doc.dir.abs_doc_root}/images/up.png' 
ALT='up' border=0>"
-                    postlink => "</td>",   
-                    prelink => "<td align='center' valign='top' width='3%'>",
-
-                    });
-
-
+        "<a href='$link'><img src='${doc.dir.abs_doc_root}/images/prev.gif' 
ALT='prev' border=0 width=48 heigth=20></a>";
+   END;
+%]<a href='[% rel_doc_root %]/index.html'><img src='[% doc.dir.abs_doc_root 
%]/images/up.gif' ALT='up' border=0 heigth=20 width=25></a>[% 
+   next = nav.next;
    IF next;
-       link  = INCLUDE link prefix=rel_doc_root link=next.meta.link;
-       right="<img src='${doc.dir.abs_doc_root}/images/right.gif' ALT='next' 
border=0>";
-       buttons.push({link => link, 
-                     text =>  "$right"   
-                    postlink => "</td>",   
-                    prelink => "<td align='left' width='3%'>",
-
-                    });
-       buttons.push({link => link, 
-                     text =>  "${next.meta.title}"   
-                    postlink => "</div></td>",   
-                    prelink => "<td align='left' width='40%'><div 
class='navbarlocaltext'>",
-
-                    });
-   ELSE; 
-       buttons.push({link => "", 
-                     text => "&nbsp;" 
-                    prelink => "<td width='43%'>",   
-                    postlink => "</td>",
-                    });
-
+        link = INCLUDE link prefix=rel_doc_root link=next.meta.link;
+        "<a href='$link'><img src='${doc.dir.abs_doc_root}/images/next.gif' 
ALT='next' border=0 width=49 heigth=20></a>";
    END;
 %]
-<div class='navbarlocal'>
-<table border=0 cellspacing=1 cellpadding=0 width=100%>
-<tr>
-[% INCLUDE splash/domm_menu %]
-</tr></table>
 </div>
+
+
 
Index: tmpl/custom/html/page_body
===================================================================
RCS file: /home/cvspublic/modperl-docs/tmpl/custom/html/page_body,v
retrieving revision 1.2
diff -u -r1.2 page_body
--- tmpl/custom/html/page_body  15 Jan 2002 15:39:27 -0000      1.2
+++ tmpl/custom/html/page_body  17 Jan 2002 11:14:47 -0000
@@ -11,11 +11,7 @@
 
     INCLUDE page_toc toc=doc.toc;
 
-    # prepare section sub-menus
-    buttons = [
-        { link => '#top', text => 'TOP'},
-    ];
-    menu = INCLUDE splash/domm_menu size=-1;
+    menu="<a href='#top'><img src='${doc.dir.abs_doc_root}/images/top.gif' 
width=54 heigth=21 border='0' alt='TOP'></a>";
 
     # render the content
     FOREACH sec = doc.body;















<<attachment: prev.gif>>

<<attachment: next.gif>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to