Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Question Java Script for Browser to Zoom In and to Zoom Out ?

    You've probably seen web pages that have a Magnifying glass with a "+" or a "-". The user clicks on them and they zoom in or out in increments.

    A client has some folks that don't know what a middle-mouse scroll button is used for in a browser.

    I'd like to make some magnifying glass icons to serve as placeholders for the java script.

  2. #2
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    An alternative could be ...

    If the user has resized/rescaled their browser window, is there a way for a page to resize/rescale itself so it will fit in the browser window and not have to be scrolled?

    I have been asked to created a multipurpose timeline document. It would be used as a print document and as a web page. The print size is 17x11 inches.

    If possible, I would like to make sure that if being viewed in a browser and the user zooms-in or scrolls to look at a detail, they could have a button that would get them back to a view where the entire document can be seen (similar to Xara's zoom-to-page tool).

    Is this possible?

    Attached is what I have come up with so far using links to anchors.

    -The ViewAll button links to the large page-sized rectangle that serves as the colored background of the page. What I wish it could do is perform an auto-resize instead.

    -The other buttons with years denoted on them link to the rectangle representing each year on the timeline; their purpose is the move the view to a particular time frame.

    17x11.xar

  3. #3
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    Are PDFs an option ?

  4. #4

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    How about a $49 USD solution?

    http://www.zoomify.com/html5.htm

    mike

  5. #5
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    D,

    No PDFs I don't believe are an option because I want to use popups for keymilestone dates and detailed descriptions ... unless PDF can pro

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,512

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    Mike Zoomify looks like a great solution.

  7. #7
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    Mike, have you tried this Zoomify?

    I am not sure I understand how to integrate and publish with Xara.

  8. #8

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    Check this out John, I think this is what you want.
    http://janne.aukia.com/zoomooz/
    Click the blue rectangle 'Scale'

    I've not looked at using it in Web Designer though..

  9. #9

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    john--no not personally. but then i also don't use xara for sites.

    i did do the overall design of a website that the coder used it. all it is is a fancy lightbox. perhaps i'll pick it up and see what it takes to incorporate it.

    take care, mike

  10. #10
    Join Date
    Dec 2012
    Posts
    4

    Default Re: Java Script for Browser to Zoom In and to Zoom Out ?

    Quote Originally Posted by mwenz View Post
    How about a $49 USD solution?

    http://www.zoomify.com/html5.htm

    mike
    This is a little bit expensive!!

 

 

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
  •