1 Reply Latest reply on Nov 4, 2008 4:26 AM by Newsgroup_User

    Adding parameters on a template page

    Web Guru 81
      Hi

      Can anyone point me to the right direction, this is what I want to achieve.

      I have an "email page" button on quite a few of the pages alongside a print button so users can print the page or email the page. Now the code for print (i.e. javascript:print()) is easy and template wise, it won't change. However the email button code will change depending what page they are visiting so my question is, inside a dreamweaver cs3 template page, how can I add a parameter so that the code can change when on different pages.

      Many thanks
        • 1. Re: Adding parameters on a template page
          Level 7
          Just make the link root relative. Then it won't need to change.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "Web Guru 81" <webforumsuser@macromedia.com> wrote in message
          news:gep2qi$6sc$1@forums.macromedia.com...
          > Hi
          >
          > Can anyone point me to the right direction, this is what I want to
          > achieve.
          >
          > I have an "email page" button on quite a few of the pages alongside a
          > print
          > button so users can print the page or email the page. Now the code for
          > print
          > (i.e. javascript:print()) is easy and template wise, it won't change.
          > However
          > the email button code will change depending what page they are visiting so
          > my
          > question is, inside a dreamweaver cs3 template page, how can I add a
          > parameter
          > so that the code can change when on different pages.
          >
          > Many thanks
          >