forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <b...@vankets.com>
Subject Re: cvs commit: xml-forrest/src/resources/skins/bert/xslt/html site2xhtml.xsl
Date Tue, 30 Jul 2002 06:11:01 GMT
I added a link to the favicon icon, so it would be copied.
At the same time I removed the 1pix image that contained the link.  This 
saves code and download time.
A <a href> is enough to get the images copied. It doesn not have to enclose 
an object.

You might wonder why this list of links is necessary.
The images are used in CSS, but as CSS is not parsed those images would not 
be copied without the links.  Same is true for the favicon.  If there's no 
link to the image/icon, it's not copied.

HTH,
Bert


At 12:33 30/07/2002 +1000, you wrote:
>I am not sure what was the purpose of this commit. It seems
>to have removed certain <img> tags, so leaving only links to
>images. Was that the intention? By the way, these changes have
>all been added to the forrest-site skin.
>--David
>
>bert@apache.org wrote:
> > bert        2002/07/29 12:59:59
> >
> >   Modified:    src/resources/skins/bert/xslt/html site2xhtml.xsl
> >   Log:
> >   Adding link to favicon.ico
> >
> >   Revision  Changes    Path
> >   1.12      +1 
> -1      xml-forrest/src/resources/skins/bert/xslt/html/site2xhtml.xsl
> >
> >   Index: site2xhtml.xsl
> >   ===================================================================
> >   RCS file: 
> /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/site2xhtml.xsl,v
> >   retrieving revision 1.11
> >   retrieving revision 1.12
> >   diff -u -r1.11 -r1.12
> >   --- site2xhtml.xsl  23 Jul 2002 08:26:18 -0000      1.11
> >   +++ site2xhtml.xsl  29 Jul 2002 19:59:59 -0000      1.12
> >   @@ -147,7 +147,7 @@
> >          <tr>
> >            <td width="10"><img src="skin/images/spacer.gif" alt="" 
> height="1" width="10" /></td>
> >          </tr>
> >   -      <tr><td bgcolor="#4C6C8F" height="1" colspan="2"><img 
> src="skin/images/spacer.gif" alt="" width="1" height="1" /><a 
> href="skin/images/label.gif"><img src="skin/images/spacer.gif" alt="" 
> width="1" height="1" border="0"/></a><a href="skin/images/page.gif"><img

> src="skin/images/spacer.gif" alt="" width="1" height="1" 
> border="0"/></a><a href="skin/images/chapter.gif"><img 
> src="skin/images/spacer.gif" alt="" width="1" height="1" 
> border="0"/></a><a href="skin/images/chapter_open.gif"><img 
> src="skin/images/spacer.gif" alt="" width="1" height="1" 
> border="0"/></a><a href="skin/images/current.gif"><img 
> src="skin/images/spacer.gif" alt="" width="1" height="1" 
> border="0"/></a></td></tr>
> >   +      <tr><td bgcolor="#4C6C8F" height="1" colspan="2"><img 
> src="skin/images/spacer.gif" alt="" width="1" height="1" /><a 
> href="skin/images/label.gif"></a><a href="skin/images/page.gif"></a><a

> href="skin/images/chapter.gif"></a><a 
> href="skin/images/chapter_open.gif"></a><a 
> href="skin/images/current.gif"></a><a href="/favicon.ico"></a></td></tr>
> >          <tr>
> >            <td align="center" class="copyright" bgcolor="#CFDCED" 
> colspan="2">
> >              <font face="Arial, Helvetica, Sans-Serif" 
> size="2">Copyright &#169; @year@ @vendor@. All Rights Reserved<script 
> language="JavaScript" type="text/javascript"><![CDATA[<!--
> >
> >
> >


Mime
View raw message