SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AJAX Document Viewer

    Hi,

    I'm looking around for an AJAX type control that can take image versions of documents and display and manipulate them within a page and preferably degrade gracefully when Javascript is switched off. Can anyone help?

    The sort of thing I'm looking for is similar to the flashpaper viewer, except not in flash.

    Thanks,
    Si

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Best way is to put them all in a div. You can then set a height, and give it an overflow property of auto, so that it provides scroll bars if needed.

    That would work regardless of whether you have javascript or not.

    Now, the biggest question is what do you expect to do with the images? As for viewing them that is sorted above.


  3. #3
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the advice.

    Functionality wise, I'd like to be able to click and drag them, possibly zoom in and out and also have a next/previous for jumping from page to page of the document (image to image). Maybe a similar feel to Google Maps I guess.

  4. #4
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can only do so much without getting too complicated.

    Additional functionality will only be available with javascript enabled, such as jumping page to page. As for dragging? What are you hoping to achieve by being able to drag a document?


  5. #5
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yea, I realise that the functionality will rely on JavaScript.

    I want to be able to click and "drag" the document up and down, bringing different pages into view. Just thought it would be a nice touch really.

    You've given me a good starting point anyway. I'll have a play around with it.

    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
  •