call JavaScript from PERL generated html

Discussion in 'Javascript' started by Dave, Sep 3, 2006.

  1. Dave

    Dave Guest

    I have "header.html" used by PERL to construct an entire page.
    Unfortunately, this header page contains no head or body tags; the
    script generates them. So I am at a loss as to how I can reference 3
    external js files to show a js menu in the header page. Nothing I've
    tried works and I don't want to monkey with the PERL file. If there is
    a way to generate the menu, I'd sure appreciate the code because I'm
    only slightly better at javascript than my 4 year old granddaughter!
    Thanks in advance.
     
    Dave, Sep 3, 2006
    #1
    1. Advertising

  2. Dave

    Jim Guest

    Dave wrote:
    > I have "header.html" used by PERL to construct an entire page.
    > Unfortunately, this header page contains no head or body tags; the
    > script generates them. So I am at a loss as to how I can reference 3
    > external js files to show a js menu in the header page. Nothing I've
    > tried works and I don't want to monkey with the PERL file. If there is
    > a way to generate the menu, I'd sure appreciate the code because I'm
    > only slightly better at javascript than my 4 year old granddaughter!
    > Thanks in advance.
    >

    Generate a new page with your menus and a large iframe and load the perl
    generated html into the iframe?
     
    Jim, Sep 4, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rolf Welskes
    Replies:
    3
    Views:
    480
    Rolf Welskes
    Oct 6, 2006
  2. Fabio Mastria
    Replies:
    4
    Views:
    752
    Fabio Mastria
    Jan 28, 2008
  3. Piet L.
    Replies:
    6
    Views:
    146
    Brian McCauley
    Mar 11, 2005
  4. Replies:
    2
    Views:
    231
    Tintin
    Aug 9, 2006
  5. Nathan Gilbert

    Executing Javascript generated by PERL

    Nathan Gilbert, Jun 26, 2006, in forum: Javascript
    Replies:
    3
    Views:
    118
    David McNerney
    Jun 29, 2006
Loading...

Share This Page