SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2008
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    resize the pdf in iframe

    Hi to all,

    I am using iframe to show the pdf document in my page.Zoom of the pdf is always 100% .i want to change default zoom to 50%.

    how can i do this.

    thanks

  2. #2
    SitePoint Zealot
    Join Date
    Sep 2008
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i find the solution myself

    if anyone has this type of problem just do the following add #zoom=50 after

    pdf file name in src.

    for example

    <iframe src="name.pdf#zoom=50" height="100%" width="100%">
    </iframe>

    it will show the pdf with zoom 50 by default in iframe.

  3. #3
    SitePoint Wizard frank1's Avatar
    Join Date
    Oct 2005
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pearl_123 View Post
    ok i find the solution myself

    if anyone has this type of problem just do the following add #zoom=50 after

    pdf file name in src.

    for example

    <iframe src="name.pdf#zoom=50" height="100&#37;" width="100%">
    </iframe>

    it will show the pdf with zoom 50 by default in iframe.
    well thanks was helpful....
    i now know what these people were doing
    http://epaper.thehindu.com

    any way if any body knows ways to display those divs over pdf with link please do please in

    thanks


Bookmarks

Posting Permissions

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