Changeset 218
- Timestamp:
- 1999-04-01T09:59:08+12:00 (25 years ago)
- Location:
- trunk/gsdl/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/base.dm
r180 r218 15 15 _imagethispage_ {} 16 16 _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} 17 21 18 22 … … 34 38 _istitle_ {0} 35 39 40 _httparrowprevious_ {} 41 _httparrownext_ {} 42 _toc_ {} 43 _navigationbar_ {} 36 44 37 45 … … 39 47 # navigation bar 40 48 # 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 53 src="_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_} 57 140 58 141 … … 75 158 76 159 # 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. 80 161 81 162 # 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] {} 88 165 89 166 # 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_ {} 95 170 96 171 # any other java image links appearing in page 97 172 _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 }131 173 132 174 _javaabout_ { … … 165 207 } 166 208 167 _javatitle s_ {209 _javatitle_ { 168 210 titles\_on = new Image(_widthttitlx_, _heightttitlx_); 169 211 titles\_on.src = "_httpiconttitlon_"; … … 172 214 } 173 215 174 _javaauthor s_ {216 _javaauthor_ { 175 217 authors\_on = new Image(_widthtauthx_, _heighttauthx_); 176 218 authors\_on.src = "_httpicontauthon_"; … … 186 228 } 187 229 188 _javadate s_ {230 _javadate_ { 189 231 dates\_on = new Image(_widthtdatex_, _heighttdatex_); 190 232 dates\_on.src = "_httpicontdateon_"; 191 233 dates\_off = new Image(_widthtdatex_, _heighttdatex_); 192 234 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_"; 193 256 } 194 257 … … 338 401 339 402 _httpicondivb_ {_httpimg_/divb.gif} 340 _widthdivb_ { 537}403 _widthdivb_ {_pagewidth_} 341 404 _heightdivb_ {17} 342 405 … … 414 477 _httpiconqryresb_ {_httpimg_/qryresb.gif} 415 478 _httpiconqryresb_ [language=mi] {_httpimg_/mqryresb.gif} 416 _widthqryresb_ { 537}479 _widthqryresb_ {_pagewidth_} 417 480 _heightqryresb_ {17} 418 481 … … 454 517 _heighttdatex_ {17} 455 518 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 456 537 _httpicontsrchgr_ {_httpimg_/tsrchgr.gif} 457 538 _httpicontsrchgr_ [language=mi] {_httpimg_/mtsrchgr.gif} … … 470 551 471 552 _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} 475 558 _heighttspace_ {17} 476 559 … … 522 605 ####################################################################### 523 606 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 608 width="_widthmore_" height="_heightmore_" border="0" alt="_textnext_">} 609 _iconmore_[version=text] {_textnext2_} 610 611 _iconalphmore_{<img src="_httpiconmore_" align=absbottom 612 width="_widthmore_" height="_heightmore_" border="0" alt="_textnext3_">} 613 _iconalphmore_[version=text] {_textnext4_} 614 615 _iconnext_{<img src="_httpiconmore_" align=absbottom 616 width="_widthmore_" height="_heightmore_" border="0">} 531 617 _iconnext_[version=text] {} 532 618 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 620 width="_widthless_" height="_heightless_" border="0" alt="_textprev_">} 621 _iconless_[version=text] {_textprev2_} 622 623 _iconalphless_{<img src="_httpiconless_" align=absbottom 624 width="_widthless_" height="_heightless_" border="0" alt="_textprev3_">} 625 _iconalphless_[version=text] {_textprev4_} 626 627 _iconprev_{<img src="_httpiconless_" align=absbottom 628 width="_widthless_" height="_heightless_" border="0">} 540 629 _iconprev_[version=text] {} 541 630 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 632 src="_httpicontsrchgr_" height=_heighttsrchx_ width=_widthtsrchx_ alt="_texticontabsearchgreen_" border=0>} 548 633 _icontabsearchgreen_[version=text] {_texticontabsearchgreen_} 549 634 550 _icontabtitlegreen_ {<img src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>} 635 _icontabtitlegreen_ {<img 636 src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>} 551 637 _icontabtitlegreen_[version=text] {_texticontabtitlegreen_} 552 638 553 _icontabauthorgreen_ {<img src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>} 639 _icontabauthorgreen_ {<img 640 src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>} 554 641 _icontabauthorgreen_[version=text] {_texticontabauthorgreen_} 555 642 556 _icontabseriesgreen_ {<img src="_httpicontsergr_" height="_heighttserx_" width="_widthtserx_" alt="_texticontabseriesgreen_" border="0">} 643 _icontabseriesgreen_ {<img 644 src="_httpicontsergr_" height="_heighttserx_" width="_widthtserx_" alt="_texticontabseriesgreen_" border="0">} 557 645 _icontabseriesgreen_[version=text] {_texticontabseriesgreen_} 558 646 559 _icontabdatesgreen_ {<img src="_httpicontdategr_" height="_heighttdatex_" width="_widthtdatex_" alt="_texticontabdatesgreen_" border="0">} 560 _icontabdatesgreen_[version=text] {_texticontabdatesgreen_} 647 _icontabdategreen_ {<img 648 src="_httpicontdategr_" height="_heighttdatex_" width="_widthtdatex_" alt="_texticontabdategreen_" border="0">} 649 _icontabdategreen_[version=text] {_texticontabdategreen_} 650 651 _icontabsubjectgreen_ {<img 652 src="_httpimg_/tsubjgr.gif" height="17" width="87" alt="_texticontabsubjectgreen_" border="0">} 653 _icontabsubjectgreen_[version=text] {_texticontabsubjectgreen_} 654 655 _icontabhowtogreen_ {<img 656 src="_httpimg_/thowgr.gif" height="17" width="87" alt="_texticontabhowgreen_" border="0">} 657 _icontabhowtogreen_[version=text] {_texticontabhowgreen_} 658 659 _icontaborganizationgreen_ {<img 660 src="_httpimg_/torggr.gif" height="17" width="109" alt="_texticontaborggreen_" border="0">} 661 _icontaborganizationgreen_[version=text] {_texticontaborggreen_} 561 662 562 663 _iconblankbar_ {<center><img src="_httpicondivb_" width="_widthdivb_" height="_heightdivb_"></center>} … … 564 665 565 666 _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_} 567 668 568 669 _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>} 570 671 571 672 _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>} 573 674 574 675 _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>} 576 677 577 678 _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>} 579 680 580 681 _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>} 582 683 583 684 _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>} 585 686 586 687 _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>} 588 689 589 690 _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>} 591 692 592 693 _icontab_ {<img src="_httpicontabspace_" width="_widthtabspace_" height="_heighttabspace_">} … … 679 780 680 781 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')" 733 783 onMouseout = "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>} 735 785 736 786 _imagecontracttoc_ {" onMouseover = "img\_on('concon')" 737 787 onMouseout = "img\_off('concon')">_iconcontracttoc_</a>} 738 _imagecontracttoc_[version=text] {"> <_font_>_texticoncontracttoc_</font></a><br>}788 _imagecontracttoc_[version=text] {">_texticoncontracttoc_</a><br>} 739 789 _imagecontracttoc_[style=htmlonly] {} 740 790 741 791 _imageexpandtoc_ {" onMouseover = "img\_on('expcon')" 742 792 onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>} 743 _imageexpandtoc_ [version=text] {"> <_font_>_texticonexpandtoc_</font></a><br>}793 _imageexpandtoc_ [version=text] {">_texticonexpandtoc_</a><br>} 744 794 _imageexpandtoc_ [style=htmlonly] {} 745 795 746 796 _imagecontracttext_ {0" onMouseover = "img\_on('thissec')" 747 797 onMouseout = "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>} 749 799 _imagecontracttext_[style=htmlonly] {} 750 800 751 801 _imageexpandtext_ {1" onMouseover = "img\_on('alltext')" 752 802 onMouseout = "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>} 754 804 _imageexpandtext_[style=htmlonly] {} 755 805 … … 777 827 _textimagebrowseseries_ {Browse newspapers by issue} 778 828 _textimagebrowsedates_ {Browse newspapers by date} 779 829 _textimagebrowsesubjects_ {Browse by subject category} 830 _textimagebrowseorg_ {Browse by organization} 831 _textimagebrowsehow_ {Browse how to categories} 780 832 781 833 _textgotext_ {View this page in text format} … … 783 835 784 836 _texticontabsearchgreen_{Search} 785 _texticontabdate sgreen_{Dates}837 _texticontabdategreen_{Dates} 786 838 _texticontabseriesgreen_{Series} 787 839 _texticontabauthorgreen_{Authors A-Z} 788 840 _texticontabtitlegreen_{Titles A-Z} 841 _texticontabsubjectgreen_{Subjects} 842 _texticontaborggreen_{Organization} 843 _texticontabhowgreen_{How to} 789 844 _texticontext_ {View the document} 790 845 _texticonopenbookshelf_ {close this section of the library} -
trunk/gsdl/macros/style.dm
r148 r218 90 90 _pagebanner_ { 91 91 <center> 92 <table width= "537"cellspacing=0 cellpadding=0>92 <table width=_pagewidth_ cellspacing=0 cellpadding=0> 93 93 <tr valign=top> 94 94 <td rowspan=2 _alignleft_>_imagecollection_</td> … … 119 119 _footer_ { 120 120 <p> 121 <_font_>122 121 _pagefooterextra_ 123 122 <center><i>_linkotherversion_</i></center> 124 123 <center><i>_linkotherlanguage_</i></center> 125 </font>126 124 </table> 127 125 _endspacer__htmlfooter_ … … 155 153 _alignright_ {align=right} 156 154 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.