[Bins] HTML link rel=""

Chris Croome chris at croome.net
Wed Feb 19 21:38:00 GMT 2003


Hi

I don't know if people are aware of a couple of cool features in
mozilla:

- The site navigation toolbar (View > Show/Hide > Navigation
  Toolbar) which is generated from link elements.

- Link prefetching [2] which uses link rel="next" elements.

The attached diffs which are for the default templates and they add
some link elements the image.html and thumbnail.html templates.

Are diffs best for this kind of thing?

Chris 


[2] http://www.mozilla.org/projects/netlib/Link_Prefetching_FAQ.html 

-- 
http://chris.croome.net/  
-------------- next part --------------
22a23,36
> 
>     <link
>       rel="next"
>       href="<TMPL_VAR NAME=NEXT_IMAGE>"
>       title="<TMPL_VAR NAME=NEXT_TITLE>">
>     <link
>       rel="prev"
>       href="<TMPL_VAR NAME=PREV_IMAGE>"
>       title="<TMPL_VAR NAME=PREV_TITLE>">
>     <link
>       rel="parent"
>       href="<TMPL_VAR NAME=THUMB_PAGE>"
>       title="<TMPL_VAR NAME=STRING_THUMBNAILS>">
> 
-------------- next part --------------
27a28,41
> 
>     <!-- TMPL_IF NAME=NEXT_THUMB_PAGE -->
>     <link
>       rel="next"
>       href="<TMPL_VAR NAME=NEXT_THUMB_PAGE>"
>       title="<TMPL_VAR NAME=ALBUM_TITLE>">
>     <!-- /TMPL_IF -->
>     <!-- TMPL_IF NAME=PREV_THUMB_PAGE -->
>     <link
>       rel="prev"
>       href="<TMPL_VAR NAME=PREV_THUMB_PAGE>"
>       title="<TMPL_VAR NAME=ALBUM_TITLE>">
>     <!-- /TMPL_IF -->
> 


More information about the Bins mailing list