Changeset 218


Ignore:
Timestamp:
1999-04-01T09:59:08+12:00 (25 years ago)
Author:
sjboddie
Message:

A few changes for new receptionist

Location:
trunk/gsdl/macros
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/base.dm

    r180 r218  
    1515_imagethispage_ {}
    1616_imagecollection_ {}
     17
     18# this is the total width of the page - i.e. the width
     19# of any title bars etc. that go all the way across
     20_pagewidth_ {537}
    1721
    1822
     
    3438_istitle_ {0}
    3539
     40_httparrowprevious_ {}
     41_httparrownext_ {}
     42_toc_ {}
     43_navigationbar_ {}
    3644
    3745
     
    3947# navigation bar
    4048#
    41 # these macros must be overridden for any collections using
    42 # options different from the default (i.e. search, titles and authors)
    43 #######################################################################
    44 
    45 _imagestandardbar_ {<center>
    46 <nobr>_imagesearch__icontabspacer__imagebrowsetitles__icontabspacer2__imagebrowseauthors_</nobr>
    47 </center>
    48 <p>
    49 }
    50 
    51 _imagestandardbar_[version=text] {
    52 _imagesearch_<br>
    53 _imagebrowsetitles_<br>
    54 _imagebrowseauthors_<br>
    55 <p>
    56 }
     49#######################################################################
     50
     51# the spacer image - the width of this is set from server
     52_imagespacer_ {<img
     53src="_httpicontspace_" width="_widthtspace_" height="_heighttspace_">}
     54_imagespacer_[version=text] {<br>
     55}
     56
     57# image macros for all the classifications currently supported by
     58# this receptionist. i.e. title, author, subject, series, date,
     59# howto, and organization
     60
     61_imagesearch_ {<a href="_httpquery_"
     62    onMouseover = "img\_on('search')"
     63    onMouseout = "img\_off('search')"><img name="search"
     64        src="_httpicontsrchof_" width="_widthtsrchx_" height="_heighttsrchx_"
     65        border="0" alt="_textimagesearch_"></a>}
     66_imagesearch_[version=text] {<a href="_httpquery_">_textimagesearch_</a><br>
     67}
     68_imagesearch_[style=htmlonly] {<img src="_httpicontspace_" alt="" width="_widthtsrchx_" height="_heighttsrchx_">}
     69_searchwidth_ {_widthtsrchx_}
     70
     71
     72_imagetitle_ {<a href="_httpbrowsetitles_"
     73    onMouseover = "img\_on('titles')"
     74    onMouseout = "img\_off('titles')"><img name="titles"
     75        src="_httpiconttitlof_" width=_widthttitlx_ height=_heightttitlx_
     76        border=0 alt="_textimagebrowsetitles_"></a>}
     77_imagetitle_[version=text] {<a href="_httpbrowsetitles_">_textimagebrowsetitles_</a><br>
     78}
     79_titlewidth_ {_widthttitlx_}
     80
     81
     82_imageauthor_ {<a href="_httpbrowseauthors_"
     83    onMouseover = "img\_on('authors')"
     84    onMouseout = "img\_off('authors')"><img name="authors"
     85        src="_httpicontauthof_" width=_widthtauthx_ height=_heighttauthx_
     86        border=0 alt="_textimagebrowseauthors_"></a>}
     87_imageauthor_[version=text] {<a href="_httpbrowseauthors_">_textimagebrowseauthors_</a><br>
     88}
     89_authorwidth_ {_widthtauthx_}
     90
     91
     92_imageseries_ {<a href="_httpbrowseseries_"
     93    onMouseover = "img\_on('series')"
     94    onMouseout = "img\_off('series')"><img name="series"
     95        src="_httpicontserof_" width="_widthtserx_" height="_heighttserx_"
     96        border="0" alt="_textimagebrowseseries_"></a>}
     97_imageseries_[version=text] {<a href="_httpbrowseseries_">_textimagebrowseseries_</a><br>
     98}
     99_serieswidth_ {_widthtserx_}
     100
     101
     102_imagedate_ {<a href="_httpbrowsedates_"
     103    onMouseover = "img\_on('dates')"
     104    onMouseout = "img\_off('dates')"><img name="dates"
     105        src="_httpicontdateof_" width="_widthtdatex_" height="_heighttdatex_"
     106        border="0" alt="_textimagebrowsedates_"></a>}
     107_imagedate_[version=text] {<a href="_httpbrowsedates_">_textimagebrowsedates_</a><br>
     108}
     109_datewidth_ {_widthtdatex_}
     110
     111
     112_imagesubject_ {<a href="_httpbrowsesubjects_"
     113    onMouseover = "img\_on('subjects')"
     114    onMouseout = "img\_off('subjects')"><img name="subjects"
     115        src="_httpicontsubjof_" width="_widthtsubjx_" height="_heighttsubjx_"
     116        border="0" alt="_textimagebrowsesubjects_"></a>}
     117_imagesubject_[version=text] {<a href="_httpbrowsesubjects_">_textimagebrowsesubjects_</a><br>
     118}
     119_subjectwidth_ {_widthtsubjx_}
     120
     121
     122_imageorganization_ {<a href="_httpbrowseorg_"
     123    onMouseover = "img\_on('org')"
     124    onMouseout = "img\_off('org')"><img name="org"
     125        src="_httpicontorgof_" width="_widthtorgx_" height="_heighttorgx_"
     126        border="0" alt="_textimagebrowseorg_"></a>}
     127_imageorganization_[version=text] {<a href="_httpbrowseorg_">_textimagebrowseorg_</a><br>
     128}
     129_organizationwidth_ {_widthtorgx_}
     130
     131
     132_imagehowto_ {<a href="_httpbrowsehow_"
     133    onMouseover = "img\_on('how')"
     134    onMouseout = "img\_off('how')"><img name="how"
     135        src="_httpiconthowof_" width="_widththowx_" height="_heightthowx_"
     136        border="0" alt="_textimagebrowsehow_"></a>}
     137_imagehowto_[version=text] {<a href="_httpbrowsehow_">_textimagebrowsehow_</a><br>
     138}
     139_howtowidth_ {_widththowx_}
    57140
    58141
     
    75158
    76159# the javaimages macros should contain _javaX_ macros for each javascript
    77 # image link within the page. it should be overridden for collections/pages
    78 # containing image links other than the default (i.e. home, help, preferences,
    79 # search, titles, and authors.
     160# image link within the page.
    80161
    81162# those java image links appearing at top right of page
    82 _javaimagesheader_ {
    83 _javaabout_
    84 _javahome_
    85 _javahelp_
    86 _javapref_
    87 }
     163_javaimagesheader_ {_javaabout__javahome__javahelp__javapref_}
     164_javaimagesheader_ [version=text] {}
    88165
    89166# those java image links appearing in navigation bar
    90 _javaimagesnavbar_ {
    91 _javasearch_
    92 _javatitles_
    93 _javaauthors_
    94 }
     167# this macro should be set when the navigation bar is set
     168# up at runtime
     169_javaimagesnavbar_ {}
    95170
    96171# any other java image links appearing in page
    97172_javaimagescontent_ {}
    98 
    99 
    100 _globalscripts_{
    101 <script>
    102 <!--
    103     function img\_on(imgName) \{
    104         if (version == "n3") \{
    105             imgOn = eval(imgName + "\_on.src");
    106             document [imgName].src = imgOn;
    107         \}
    108     \}
    109 
    110     function img\_off(imgName) \{
    111         if (version == "n3") \{
    112             imgOff = eval(imgName + "\_off.src");
    113             document [imgName].src = imgOff;
    114         \}
    115     \}
    116 
    117     browserName = navigator.appName;         
    118     browserVer = parseInt(navigator.appVersion);
    119     if ((browserName == "Netscape" || browserName == "Microsoft Internet Explorer")
    120         && browserVer >= 3) version = "n3";
    121     else version = "n2";
    122              
    123     if (version == "n3") \{
    124     _javaimagesheader_
    125     _javaimagesnavbar_
    126     _javaimagescontent_
    127     \}
    128 // -->
    129 </script>
    130 }
    131173
    132174_javaabout_ {
     
    165207}
    166208
    167 _javatitles_ {
     209_javatitle_ {
    168210    titles\_on = new Image(_widthttitlx_, _heightttitlx_);
    169211    titles\_on.src = "_httpiconttitlon_";
     
    172214}
    173215
    174 _javaauthors_ {
     216_javaauthor_ {
    175217    authors\_on = new Image(_widthtauthx_, _heighttauthx_);
    176218    authors\_on.src = "_httpicontauthon_";
     
    186228}
    187229
    188 _javadates_ {
     230_javadate_ {
    189231    dates\_on = new Image(_widthtdatex_, _heighttdatex_);         
    190232    dates\_on.src = "_httpicontdateon_";
    191233    dates\_off = new Image(_widthtdatex_, _heighttdatex_);         
    192234    dates\_off.src = "_httpicontdateof_";           
     235}
     236
     237_javasubject_ {
     238    subjects\_on = new Image(_widthtsubjx_, _heighttsubjx_);         
     239    subjects\_on.src = "_httpicontsubjon_";
     240    subjects\_off = new Image(_widthtsubjx_, _heighttsubjx_);         
     241    subjects\_off.src = "_httpicontsubjof_";           
     242}
     243
     244_javahowto_ {
     245    how\_on = new Image(_widththowx_, _heightthowx_);         
     246    how\_on.src = "_httpiconthowon_";
     247    how\_off = new Image(_widththowx_, _heightthowx_);         
     248    how\_off.src = "_httpiconthowof_";         
     249}
     250
     251_javaorganization_ {
     252    org\_on = new Image(_widthtorgx_, _heighttorgx_);         
     253    org\_on.src = "_httpicontorgon_";
     254    org\_off = new Image(_widthtorgx_, _heighttorgx_);         
     255    org\_off.src = "_httpicontorgof_";         
    193256}
    194257
     
    338401
    339402_httpicondivb_ {_httpimg_/divb.gif}
    340 _widthdivb_ {537}
     403_widthdivb_ {_pagewidth_}
    341404_heightdivb_ {17}
    342405
     
    414477_httpiconqryresb_ {_httpimg_/qryresb.gif}
    415478_httpiconqryresb_ [language=mi] {_httpimg_/mqryresb.gif}
    416 _widthqryresb_ {537}
     479_widthqryresb_ {_pagewidth_}
    417480_heightqryresb_ {17}
    418481
     
    454517_heighttdatex_ {17}
    455518
     519_httpicontsubjgr_ {_httpimg_/tsubjgr.gif}
     520_httpicontsubjon_ {_httpimg_/tsubjon.gif}
     521_httpicontsubjof_ {_httpimg_/tsubjof.gif}
     522_widthtsubjx_ {87}
     523_heighttsubjx_ {17}
     524
     525_httpicontorggr_{_httpimg_/torggr.gif}
     526_httpicontorgon_{_httpimg_/torgon.gif}
     527_httpicontorgof_{_httpimg_/torgof.gif}
     528_widthtorgx_ {109}
     529_heighttorgx_ {17}
     530
     531_httpiconthowgr_{_httpimg_/thowgr.gif}
     532_httpiconthowon_{_httpimg_/thowon.gif}
     533_httpiconthowof_{_httpimg_/thowof.gif}
     534_widththowx_ {87}
     535_heightthowx_ {17}
     536
    456537_httpicontsrchgr_ {_httpimg_/tsrchgr.gif}
    457538_httpicontsrchgr_ [language=mi] {_httpimg_/mtsrchgr.gif}
     
    470551
    471552_httpicontspace_ {_httpimg_/tspace.gif}
    472 _widthtspace_ {138}
    473 _widthtspace_ [language=mi] {85}
    474 _widthtspace2_ {115}
     553# _widthtspace_ is set from server
     554_widthtspace_ {}
     555#_widthtspace_ {138}
     556#_widthtspace_ [language=mi] {85}
     557#_widthtspace2_ {115}
    475558_heighttspace_ {17}
    476559
     
    522605#######################################################################
    523606
    524 _iconmore_{<img src="_httpiconmore_" align=absbottom width="_widthmore_" height="_heightmore_" border="0" alt="_textnext_">}
    525 _iconmore_[version=text] {<_font_>_textnext2_</font>}
    526 
    527 _iconalphmore_{<img src="_httpiconmore_" align=absbottom width="_widthmore_" height="_heightmore_" border="0" alt="_textnext3_">}
    528 _iconalphmore_[version=text] {<_font_>_textnext4_</font>}
    529 
    530 _iconnext_{<img src="_httpiconmore_" align=absbottom width="_widthmore_" height="_heightmore_" border="0">}
     607_iconmore_{<img src="_httpiconmore_" align=absbottom
     608width="_widthmore_" height="_heightmore_" border="0" alt="_textnext_">}
     609_iconmore_[version=text] {_textnext2_}
     610
     611_iconalphmore_{<img src="_httpiconmore_" align=absbottom
     612width="_widthmore_" height="_heightmore_" border="0" alt="_textnext3_">}
     613_iconalphmore_[version=text] {_textnext4_}
     614
     615_iconnext_{<img src="_httpiconmore_" align=absbottom
     616width="_widthmore_" height="_heightmore_" border="0">}
    531617_iconnext_[version=text] {}
    532618
    533 _iconless_{<img src="_httpiconless_" align=absbottom width="_widthless_" height="_heightless_" border="0" alt="_textprev_">}
    534 _iconless_[version=text] {<_font_>_textprev2_</font>}
    535 
    536 _iconalphless_{<img src="_httpiconless_" align=absbottom width="_widthless_" height="_heightless_" border="0" alt="_textprev3_">}
    537 _iconalphless_[version=text] {<_font_>_textprev4_</font>}
    538 
    539 _iconprev_{<img src="_httpiconless_" align=absbottom width="_widthless_" height="_heightless_" border="0">}
     619_iconless_{<img src="_httpiconless_" align=absbottom
     620width="_widthless_" height="_heightless_" border="0" alt="_textprev_">}
     621_iconless_[version=text] {_textprev2_}
     622
     623_iconalphless_{<img src="_httpiconless_" align=absbottom
     624width="_widthless_" height="_heightless_" border="0" alt="_textprev3_">}
     625_iconalphless_[version=text] {_textprev4_}
     626
     627_iconprev_{<img src="_httpiconless_" align=absbottom
     628width="_widthless_" height="_heightless_" border="0">}
    540629_iconprev_[version=text] {}
    541630
    542 _icontabspacer_ {<img src="_httpicontspace_" width="_widthtspace_" height="_heighttspace_">}
    543 _icontabspacer_ [version=text] {}
    544 _icontabspacer2_ {<img src="_httpicontspace_" width="_widthtspace2_" height="_heighttspace_">}
    545 _icontabspacer2_ [version=text] {}
    546 
    547 _icontabsearchgreen_ {<img src="_httpicontsrchgr_" height=_heighttsrchx_ width=_widthtsrchx_ alt="_texticontabsearchgreen_" border=0>}
     631_icontabsearchgreen_ {<img
     632src="_httpicontsrchgr_" height=_heighttsrchx_ width=_widthtsrchx_ alt="_texticontabsearchgreen_" border=0>}
    548633_icontabsearchgreen_[version=text] {_texticontabsearchgreen_}
    549634
    550 _icontabtitlegreen_ {<img src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>}
     635_icontabtitlegreen_ {<img
     636src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>}
    551637_icontabtitlegreen_[version=text] {_texticontabtitlegreen_}
    552638
    553 _icontabauthorgreen_ {<img src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>}
     639_icontabauthorgreen_ {<img
     640src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>}
    554641_icontabauthorgreen_[version=text] {_texticontabauthorgreen_}
    555642
    556 _icontabseriesgreen_ {<img src="_httpicontsergr_" height="_heighttserx_" width="_widthtserx_" alt="_texticontabseriesgreen_" border="0">}
     643_icontabseriesgreen_ {<img
     644src="_httpicontsergr_" height="_heighttserx_" width="_widthtserx_" alt="_texticontabseriesgreen_" border="0">}
    557645_icontabseriesgreen_[version=text] {_texticontabseriesgreen_}
    558646
    559 _icontabdatesgreen_ {<img src="_httpicontdategr_" height="_heighttdatex_" width="_widthtdatex_" alt="_texticontabdatesgreen_" border="0">}
    560 _icontabdatesgreen_[version=text] {_texticontabdatesgreen_}
     647_icontabdategreen_ {<img
     648src="_httpicontdategr_" height="_heighttdatex_" width="_widthtdatex_" alt="_texticontabdategreen_" border="0">}
     649_icontabdategreen_[version=text] {_texticontabdategreen_}
     650
     651_icontabsubjectgreen_ {<img
     652src="_httpimg_/tsubjgr.gif" height="17" width="87" alt="_texticontabsubjectgreen_" border="0">}
     653_icontabsubjectgreen_[version=text] {_texticontabsubjectgreen_}
     654
     655_icontabhowtogreen_ {<img
     656src="_httpimg_/thowgr.gif" height="17" width="87" alt="_texticontabhowgreen_" border="0">}
     657_icontabhowtogreen_[version=text] {_texticontabhowgreen_}
     658
     659_icontaborganizationgreen_ {<img
     660src="_httpimg_/torggr.gif" height="17" width="109" alt="_texticontaborggreen_" border="0">}
     661_icontaborganizationgreen_[version=text] {_texticontaborggreen_}
    561662
    562663_iconblankbar_ {<center><img src="_httpicondivb_" width="_widthdivb_" height="_heightdivb_"></center>}
     
    564665
    565666_icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width="_widthitext_" height="_heightitext_" alt="_texticontext_">}
    566 _icontext_[version=text] {<_font_>_texticontext_</font>}
     667_icontext_[version=text] {_texticontext_}
    567668
    568669_iconsmalltext_ {<img src="_httpiconsmtext_" border="0" width="_widthsmtext_" height="_heightsmtext_" alt="_texticonsmalltext_">}
    569 _iconsmalltext_ [version=text] {<small><_font_><b>_texticonsmalltext2_</b></font></small>}
     670_iconsmalltext_ [version=text] {<small><b>_texticonsmalltext2_</b></small>}
    570671
    571672_iconclosedfolder_ {<img src="_httpiconclsdfldr_" border="0" width="_widthclsdfldr_" height="_heightclsdfldr_" alt="_texticonclosedfolder_">}
    572 _iconclosedfolder_ [version=text] {<small><_font_><b>_texticonclosedfolder2_</b></font></small>}
     673_iconclosedfolder_ [version=text] {<small><b>_texticonclosedfolder2_</b></small>}
    573674
    574675_iconopenfolder_ {<img src="_httpiconopenfldr_" border="0" width="_widthopenfldr_" height="_heightopenfldr_" alt="_texticonopenfolder_">}
    575 _iconopenfolder_ [version=text] {<small><_font_><b>_texticonopenfolder2_</b></font></small>}
     676_iconopenfolder_ [version=text] {<small><b>_texticonopenfolder2_</b></small>}
    576677
    577678_iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">}
    578 _iconclosedbook_ [version=text] {<small><_font_><b>_texticonclosedbook_: </b></font></small>}
     679_iconclosedbook_ [version=text] {<small><b>_texticonclosedbook_: </b></small>}
    579680
    580681_iconopenbook_ {<img src="_httpiconopenbook_" width="_widthopenbook_" height="_heightopenbook_" border="0" alt="_texticonopenbook_">}
    581 _iconopenbook_ [version=text] {<small><_font_><b>_texticonopenbook_: </b></font></small>}
     682_iconopenbook_ [version=text] {<small><b>_texticonopenbook_: </b></small>}
    582683
    583684_iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_">}
    584 _iconopenbookshelf_ [version=text] {<small><_font_><b>_texticonopenbookshelf_: </b></font></small>}
     685_iconopenbookshelf_ [version=text] {<small><b>_texticonopenbookshelf_: </b></small>}
    585686
    586687_iconclosedbookshelf_ {<img src="_httpiconbshelf_" border="0" width="_widthbshelf_" height="_heightbshelf_" alt="_texticonclosedbookshelf_">}
    587 _iconclosedbookshelf_ [version=text] {<small><_font_><b>_texticonclosedbookshelf_: </b></font></small>}
     688_iconclosedbookshelf_ [version=text] {<small><b>_texticonclosedbookshelf_: </b></small>}
    588689
    589690_iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
    590 _iconpointer_ [version=text] {<small><_font_><b>_texticonpointer_-> </b></font></small>}
     691_iconpointer_ [version=text] {<small><b>_texticonpointer_-> </b></small>}
    591692
    592693_icontab_ {<img src="_httpicontabspace_" width="_widthtabspace_" height="_heighttabspace_">}
     
    679780
    680781
    681 _imagesearch_ {<a href="_httpquery_"
    682     onMouseover = "img\_on('search')"
    683     onMouseout = "img\_off('search')"><img name="search"
    684         src="_httpicontsrchof_" width="_widthtsrchx_" height="_heighttsrchx_"
    685         border="0" alt="_textimagesearch_"></a>}
    686 
    687 _imagesearch_[version=text] {<a href="_httpquery_"><_font_>_textimagesearch_</font></a><br>
    688 }
    689 
    690 _imagesearch_[style=htmlonly] {<img src="_httpicontspace_" alt="" width="_widthtsrchx_" height="_heighttsrchx_">}
    691 
    692 _imagesearch_[style=htmlonly,version=text] {}   
    693 
    694 
    695 _imagebrowsetitles_ {<a href="_httpbrowsetitles_"
    696     onMouseover = "img\_on('titles')"
    697     onMouseout = "img\_off('titles')"><img name="titles"
    698         src="_httpiconttitlof_" width=_widthttitlx_ height=_heightttitlx_
    699         border=0 alt="_textimagebrowsetitles_"></a>}
    700 
    701 _imagebrowsetitles_[version=text] {<a href="_httpbrowsetitles_"><_font_>_textimagebrowsetitles_</font></a><br>
    702 }
    703 
    704 _imagebrowseauthors_ {<a href="_httpbrowseauthors_"
    705     onMouseover = "img\_on('authors')"
    706     onMouseout = "img\_off('authors')"><img name="authors"
    707         src="_httpicontauthof_" width=_widthtauthx_ height=_heighttauthx_
    708         border=0 alt="_textimagebrowseauthors_"></a>}
    709 
    710 _imagebrowseauthors_[version=text] {<a href="_httpbrowseauthors_"><_font_>_textimagebrowseauthors_</font></a><br>
    711 }
    712 
    713 
    714 _imagebrowseseries_ {<a href="_httpbrowseseries_"
    715     onMouseover = "img\_on('series')"
    716     onMouseout = "img\_off('series')"><img name="series"
    717         src="_httpicontserof_" width="_widthtserx_" height="_heighttserx_"
    718         border="0" alt="_textimagebrowseseries_"></a>}
    719 
    720 _imagebrowseseries_[version=text] {<a href="_httpbrowseseries_"><_font_>_textimagebrowseseries_</font></a><br>
    721 }
    722 
    723 _imagebrowsedates_ {<a href="_httpbrowsedates_"
    724     onMouseover = "img\_on('dates')"
    725     onMouseout = "img\_off('dates')"><img name="dates"
    726         src="_httpicontdateof_" width="_widthtdatex_" height="_heighttdatex_"
    727         border="0" alt="_textimagebrowsedates_"></a>}
    728 
    729 _imagebrowsedates_[version=text] {<a href="_httpbrowsedates_"><_font_>_textimagebrowsedates_</font></a><br>
    730 }
    731 
    732 _imagedetach_ {onMouseover = "img\_on('detach')"
     782_imagedetach_ {<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_" onMouseover = "img\_on('detach')"
    733783onMouseout = "img\_off('detach')">_icondetach_</a>}
    734 _imagedetach_[version=text] {><_font_>_texticondetach_</font></a><br>}
     784_imagedetach_[version=text] {<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_">_texticondetach_</a><br>}
    735785
    736786_imagecontracttoc_ {" onMouseover = "img\_on('concon')"
    737787onMouseout = "img\_off('concon')">_iconcontracttoc_</a>}
    738 _imagecontracttoc_[version=text] {"><_font_>_texticoncontracttoc_</font></a><br>}
     788_imagecontracttoc_[version=text] {">_texticoncontracttoc_</a><br>}
    739789_imagecontracttoc_[style=htmlonly] {}
    740790
    741791_imageexpandtoc_ {" onMouseover = "img\_on('expcon')"
    742792onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>}
    743 _imageexpandtoc_ [version=text] {"><_font_>_texticonexpandtoc_</font></a><br>}
     793_imageexpandtoc_ [version=text] {">_texticonexpandtoc_</a><br>}
    744794_imageexpandtoc_ [style=htmlonly] {}
    745795
    746796_imagecontracttext_ {0" onMouseover = "img\_on('thissec')"
    747797onMouseout = "img\_off('thissec')">_iconcontracttext_</a>}
    748 _imagecontracttext_[version=text] {0"><_font_>display only current section</font></a><br>}
     798_imagecontracttext_[version=text] {0">display only current section</a><br>}
    749799_imagecontracttext_[style=htmlonly] {}
    750800
    751801_imageexpandtext_ {1" onMouseover = "img\_on('alltext')"
    752802onMouseout = "img\_off('alltext')">_iconexpandtext_</a>}
    753 _imageexpandtext_[version=text] {1"><_font_>display all text</font></a><br>}
     803_imageexpandtext_[version=text] {1">display all text</a><br>}
    754804_imageexpandtext_[style=htmlonly] {}
    755805
     
    777827_textimagebrowseseries_ {Browse newspapers by issue}
    778828_textimagebrowsedates_ {Browse newspapers by date}
    779 
     829_textimagebrowsesubjects_ {Browse by subject category}
     830_textimagebrowseorg_ {Browse by organization}
     831_textimagebrowsehow_ {Browse how to categories}
    780832
    781833_textgotext_ {View this page in text format}
     
    783835
    784836_texticontabsearchgreen_{Search}
    785 _texticontabdatesgreen_{Dates}
     837_texticontabdategreen_{Dates}
    786838_texticontabseriesgreen_{Series}
    787839_texticontabauthorgreen_{Authors A-Z}
    788840_texticontabtitlegreen_{Titles A-Z}
     841_texticontabsubjectgreen_{Subjects}
     842_texticontaborggreen_{Organization}
     843_texticontabhowgreen_{How to}
    789844_texticontext_ {View the document}
    790845_texticonopenbookshelf_ {close this section of the library}
  • trunk/gsdl/macros/style.dm

    r148 r218  
    9090_pagebanner_ {
    9191<center>
    92 <table width="537" cellspacing=0 cellpadding=0>
     92<table width=_pagewidth_ cellspacing=0 cellpadding=0>
    9393  <tr valign=top>
    9494    <td rowspan=2 _alignleft_>_imagecollection_</td>
     
    119119_footer_ {
    120120<p>
    121 <_font_>
    122121_pagefooterextra_
    123122<center><i>_linkotherversion_</i></center>
    124123<center><i>_linkotherlanguage_</i></center>
    125 </font>
    126124</table>
    127125_endspacer__htmlfooter_
     
    155153_alignright_ {align=right}
    156154
    157 #_smallfont_ {font face="Arial,Helvetica,Times" size="-2"}
    158 #_font_ {font face="Arial,Helvetica,Times" size="-1"}
    159 _font_ {font}
    160 _smallfont_ {font size="-1"}
     155
     156_globalscripts_{
     157<script>
     158<!--
     159    function img\_on(imgName) \{
     160        if (version == "n3") \{
     161            imgOn = eval(imgName + "\_on.src");
     162            document [imgName].src = imgOn;
     163        \}
     164    \}
     165
     166    function img\_off(imgName) \{
     167        if (version == "n3") \{
     168            imgOff = eval(imgName + "\_off.src");
     169            document [imgName].src = imgOff;
     170        \}
     171    \}
     172
     173    browserName = navigator.appName;         
     174    browserVer = parseInt(navigator.appVersion);
     175    if ((browserName == "Netscape" || browserName == "Microsoft Internet Explorer")
     176        && browserVer >= 3) version = "n3";
     177    else version = "n2";
     178             
     179    if (version == "n3") \{
     180    _javaimagesheader_
     181    _javaimagesnavbar_
     182    _javaimagescontent_
     183    \}
     184// -->
     185</script>
     186}
     187
     188_globalscripts_ [version=text] {}
Note: See TracChangeset for help on using the changeset viewer.