Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    to find page number of pdf file through javascript

    Hii Guys,
    i need to findout the page number of a pdf file through javascript in browser.
    if not javascript, then by any other means.

    here's the complete problem...
    IN BROWSER,

    we have 2 frames, LET and RIGHT
    In LEFT frame, we've a form and there is a textbox and submit button in it.
    In RIGHT frame, we've a pdf file with more that 50 pages.

    Now as u scroll up or down in pdf file, the page number shud change automatically in left frame text box.

    Any clue, or help will be helpful.

    regards
    ~Humayun Rashid

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in short, no, you can't do that.

    really don't think JS can read properties of PDFs, since PDFs are viewed in the browser thru a plugin, ie a viewport for another application (for want of a better explanation).

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    And PDF has already page numbers it, why duplicate it?
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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