SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: show pdf files using colorbox javascript

  1. #1
    SitePoint Member
    Join Date
    Dec 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    show pdf files using colorbox javascript

    Hello...
    I have problem with using colorbox.I am trying to open pdf file using colorbox javascript but it is not dispalying me..
    Can you tell me information about tags which are used to open pdf files in browser using the colorbox javascript..

    Thanking you......

  2. #2
    Unobtrusively zen silver trophybronze trophy
    SitePoint Award Recipient paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,233
    Mentioned
    42 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by sunitha asam View Post
    Hello...
    I have problem with using colorbox.I am trying to open pdf file using colorbox javascript but it is not dispalying me..
    Can you tell me information about tags which are used to open pdf files in browser using the colorbox javascript..

    Thanking you......
    Sorry, you're not going to have much success when dealing with pdf files.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    Grüße aus'm Pott
    SitePoint Award Recipient Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    2,748
    Mentioned
    47 Post(s)
    Tagged
    3 Thread(s)
    Hi,

    It can be done, but isn't pretty.
    There is a good discussion of this here: http://stackoverflow.com/questions/9...-can-view-pdfs

    Also check his out: http://www.artviper.net/website-tool...x-lightbox.php
    It bills itself as "a lightbox clone with support for PDF", but I've no idea how effective it is.

    Please report back if you get this working, as it would be interesting to find out how.
    How well do you know your JavaScript from your jQuery?
    Check out SitePoint's latest JavaScript challenge


    My blog

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
  •