1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Print Command

Discussion in 'HTML & Website Design' started by Salamander, May 8, 2005.

  1. #1
    Hi folks

    Can anyone help me
    SEMrush
    I want to put in a simple print command into a web page but honestly forgotten how

    I am using FP2003

    Any varied ideas would be welcome
     
    Salamander, May 8, 2005 IP
    SEMrush
  2. prowler

    prowler Guest

    Messages:
    189
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi this is what i use its easy to install in Frontpage find the doc you want to print and install this code
    -------------------------------------
    </td>
    <td align="right" width="100%" class="buttonheading">
    <a href="javascript:void window.open('yourlink.com', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');" title="Print">
    <img src="yourlink.com/image/printButton.png" alt="Print" align="middle" name="image" border="0" width="16" height="16" /> </a>
    </td>
    -----------------------------------------

    Where it says yourlink.com replace with yours and also where the image of the printer icon is replace to src=

    It should work copy from </td> to </td> in red

    Hope this helps
     
    prowler, May 8, 2005 IP
  3. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,462
    Likes Received:
    1,503
    Best Answers:
    76
    Trophy Points:
    510
    #3
    With more and more running Internet Security on IE in the high zone, javascript bells and whistles may not be the way to go if you can find an alternate way of doing. I am in process of redoing javascript menus to avoid this problem. At least if you use it might be good idea to put note browser must have java enabled to work.

    Shannon
     
    Smyrl, May 8, 2005 IP
  4. Salamander

    Salamander Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think i may have not explained myself properly or just did it stupidly...

    I have built a simple text based web page and i want to put in the javascript or whatever code into the hyperlink (add hyperlink) of frontpage.

    I know i have done it before and it worked but now it doesnt unless i have to upload it first.

    If i put `PRINT THIS PAGE` somewhere on the web page then i would hyperlink that text and in the url window i would paste JavaScript:printWindow()

    Cannot remember if i have to put somehting into the HEAD of the code........


    Funny how we forget the simple things...........hmm where is my fridge



    Thanks again

    Salamander
     
    Salamander, May 9, 2005 IP
  5. Solicitors Mortgages

    Solicitors Mortgages Well-Known Member

    Messages:
    2,217
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    103
    #5
    here you go mate :)

    ://javascript.internet.com/page-details/window-print.html

    HTH :cool:
     
    Solicitors Mortgages, May 10, 2005 IP
  6. Salamander

    Salamander Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yep that looks like the one


    Will try it out soon, if my house ends up in print i shall be coming back to you

    Cheers

    Salamander :p
     
    Salamander, May 10, 2005 IP