Changeset 2831


Ignore:
Timestamp:
2001-11-15T14:29:52+13:00 (22 years ago)
Author:
dmm9
Message:

dhtml stuff added and sorted

File:
1 edited

Legend:

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

    r2718 r2831  
    11package browse
     2
     3#######################################################################
     4# headers
     5# these are overridden so we can put an onLoad event handler
     6# in the <body> tag of this page - for mgpp, form search pages
     7#######################################################################
     8
     9#copied from prefs
     10
     11_header_ {_cgihead_
     12_htmlhead_(onLoad="changecontent(0)")_startspacer__pagebanner_
     13}
     14
    215
    316_content_{
    417   
     18   
     19
    520    _navigationbar_
    621   
     
    823
    924    _iconblankbar_
     25
     26    _classifications_
     27   
     28
     29    <div id="mydiv"></div>
     30    <div><layer id="mylayer" bgcolor="red" top=350 left=280>eh</layer></div>   
     31
    1032}
     33
     34
     35_runtimebrowsescript_{}
    1136
    1237_browseinterface_{
     
    2045       _docnum_ _textdocsperpage_<p>
    2146
    22        _textfilterby_ _anyallselect_ _textwords_ _filterbox_
    23 
    24        <div align=right>_browsebutton_</div>
     47       _textfilterby_ _anyallselect_ _textwords_ _filterbox_
     48       <span align = right> _browsebutton_ </span>
    2549</form> 
    2650
     
    3963}
    4064
    41 _filterbox_{<input type=text name="bft" value="_cgiargbft_" size=40>}
     65_filterbox_{<input type=text name="bft" value="_cgiargbft_" size=60>}
    4266
    4367
     
    4973}
    5074
     75_classifications_{
     76}
    5177   
     78_pagescriptextra_ {
     79var thecontents = new Array()
     80
     81function changecontent(current)\{
     82  if(document.all)
     83    mydiv.innerHTML=thecontents[current]
     84  else if(document.layers)\{
     85    document.mylayer.document.write(thecontents[current])
     86    document.mylayer.document.close()
     87   \}   
     88\}     
     89
     90_runtimebrowsescript_
     91
     92}
    5293
    5394
     
    59100
    60101
     102
     103
     104
     105
Note: See TracChangeset for help on using the changeset viewer.