Results 1 to 5 of 5

Thread: Need to add pdf so it opens in a seperate window
      
   

  1. #1
    karel's Avatar
    karel is offline Brigadier General
    Join Date
    Feb 2006
    Location
    Yorkshire U.K
    Posts
    1,180

    Default Need to add pdf so it opens in a seperate window

    I have just about finished my new site, which is really an extension of my other site, but more on the book itself. What I want to do is give people the option to read a couple of chapters. I have a pdf download on my main site,that when opened through the link you have to press the back button to get back to the site. My question is ..Is it possible to have the pdf open in a seperate window while staying on the page you clicked on it from.

    Hope that makes sense.

    Thanks for any advice as always.

    Regards Paul
    www.anxietynomore.co.uk
    The U.K's largest independent site for help with Anxiety and Panic issues.

    Buy and Source Wholesale Make Up
    Up to 75% off Branded top end Make-up.

    www.firstwebcall.com
    Affordable Website Design.

    www.anxietynomore.co.uk/blog

    The most active blog on anxiety on the net.

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Need to add pdf so it opens in a seperate window

    Not sure if i i'm reading this right? but could you not put it in a pop up?
    http://www.wilsoninfo.com/pop_gen.html

  3. #3
    karel's Avatar
    karel is offline Brigadier General
    Join Date
    Feb 2006
    Location
    Yorkshire U.K
    Posts
    1,180

    Default Re: Need to add pdf so it opens in a seperate window

    I will look into that Chris, apart from adding the other pdf I have not tried another method. I am still a baby when it comes to web building, so usually when I ask something it is the first time I have tried anything like it.

    Thanks Paul
    www.anxietynomore.co.uk
    The U.K's largest independent site for help with Anxiety and Panic issues.

    Buy and Source Wholesale Make Up
    Up to 75% off Branded top end Make-up.

    www.firstwebcall.com
    Affordable Website Design.

    www.anxietynomore.co.uk/blog

    The most active blog on anxiety on the net.

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Need to add pdf so it opens in a seperate window

    Hi, the only thing I am not sure about having not used pdf. Can you make a pdf’ slightly narrower to fit a smaller popup ? it may look a little better on the screen if the pop up was 600/700 wide, but with no side scroll. Not sure if this can be done.

  5. #5
    rolincenter's Avatar
    rolincenter is offline Private First Class
    Join Date
    Jan 2007
    Posts
    8

    Default Re: Need to add pdf so it opens in a seperate window

    yes, there is... what u can do is include the target attribute to your hyperlink reference.

    e.g. <a href="chapterX.pdf"n href="@@@@@">Text</a>
    where the target can either be:
    _blank (opens in new window)
    _self (opens in itself)
    ... etc.
    kindly check it out. I coudn't remember the other two

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49