use html for headers and footers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason

    use html for headers and footers

    I would like to include an html table as my header and footer. Does
    any one know how to use html as the header/footer?

    For example, every page would have the following header/footer:


    My Company A Graphic A Variable The DATE

    I figured one way to do this would be to use a com object using the
    following functions
    RegOpenKeyEx Lib "advapi32.d ll"
    RegQueryValueEx Lib "advapi32.d ll"
    RegSetValueEx Lib "advapi32.d ll".

    Then I could pass html to the registry via
    [HKEY_CURRENT_US ER\Software\Mic rosoft\Internet Explorer\PageSe tup].
    This works!! However, it passes a string and not html.

    The next thing I am going to try is simply printing via a com object
    and the printdlg api. However, isn't there a simpler way to use html
    as headers for printing purposes with javascript? Any help would be
    greatly appreciated.
  • Jim Ley

    #2
    Re: use html for headers and footers

    On 14 Jul 2003 15:47:52 -0700, jfreets2@yahoo. com (Jason) wrote:
    [color=blue]
    >Then I could pass html to the registry via
    >[HKEY_CURRENT_US ER\Software\Mic rosoft\Internet Explorer\PageSe tup].
    > This works!! However, it passes a string and not html.
    >
    >The next thing I am going to try is simply printing via a com object
    >and the printdlg api. However, isn't there a simpler way to use html
    >as headers for printing purposes with javascript? Any help would be
    >greatly appreciated.[/color]

    ScriptX is the SDK for seamlessly integrating all types of printing functionality into your web applications. Download and remove daily print challenges and print perfectly, every time.


    Jim.
    --
    comp.lang.javas cript FAQ - http://jibbering.com/faq/

    Comment

    Working...