Announcement

Collapse
No announcement yet.

Printing a published page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Printing a published page

    I have 2 questions please.

    From the tutorials I do not seeem to work out my path of action, it speaks and shows the editing actions fopr other but not my requirements.

    I have used the form wizard (bloody marvelous) Good one thank you!
    1. I need to add the submit and reset buttons - where and how please?
    2. At the bottom of a published page I want to put the line
    "print this page" sothat on the click it will print.. how do I do that please?
    Thank you

  • #2
    Re: Printing a published page

    Hi, this should do the print page part.
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment


    • #3
      Re: Printing a published page

      Too add the buttons, there is a button icon near the top right of the builder (small grey rectagle) add them, double click on one, the properties window will open, the default will be submit so that is fine for the other check reset, you can name them submit_btn and reset_btn if you wish or leave it as buttons 1 and 2. But make sure they are inside the form grid or it will not work. For the print option it need to be outside the form grid.
      Reguards
      Ed
      www.dsondesigns.com
      www.marseillesyouthsports.com
      www.300hitter.com
      www.bigjk.net
      How to add JAlbum to your site

      Comment


      • #4
        Re: Printing a published page

        Att. Collectors info - Chris,
        Hi chris, thank you for the info... I have done as youinstructed. I see the print it button above the page and directly beneth this is the> sign. Both outside of the page parameters when in preview mode. I made printscreen which shows what I mean, but i do not see an attachment facility.
        I thank you again and wait for your reply.

        Comment


        • #5
          Re: Printing a published page

          Did you paste the code into a html box or add it to the html code? The way I did it was to add the html box (on the left side, top icon, double click it paste the code. Size it the way I wanted and positioned it where I wanted. Note I misspoke whenI said it had to be out the form grid I have mine inside the form grid. Hope this solves your problem also here is the code I used.

          <SCRIPT Language="Javascript">
          function printit(){
          if (window.print) {
          window.print() ;
          } else {
          var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
          document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
          WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = "";
          }
          }
          </script>
          <SCRIPT Language="Javascript">
          var NS = (navigator.appName == "Netscape");
          var VERSION = parseInt(navigator.appVersion);
          if (VERSION > 3) {
          document.write('<form><input type=button value="Print this Page" name="Print" onClick="printit()"></form>');
          }
          </script>
          Reguards
          Ed
          www.dsondesigns.com
          www.marseillesyouthsports.com
          www.300hitter.com
          www.bigjk.net
          How to add JAlbum to your site

          Comment


          • #6
            Re: Printing a published page

            I opened the page properties and selected HTML, than I selected the Inside body tag and pasted in there an saved it.
            I try using the HTML box and copyand pste it.
            Thank you

            Comment


            • #7
              Re: Printing a published page

              That will do it. If you do get the > symbol come up on your page, go to the script you inserted & remove the > at the very end of the script. BV adds this automatically in some areas like tables.

              Good luck.
              Regards Chris.

              Collectables, Collecting, collectors-info.com

              www.chrismorris.co.uk

              House build project

              Comment


              • #8
                Re: Printing a published page

                Hi Chris,
                Did that and it is A for away... thank you

                Comment

                Working...
                X