A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: javascript- zooming in/out

  1. #1
    // Silent Protagonist ivanthem's Avatar
    Join Date
    Jul 2003
    Location
    New Zealand
    Posts
    295

    javascript- zooming in/out

    Another beginner's question

    Hi all,

    Is there a way to provide a button or link or something for users to be able to zoom in and out of a page- as in the whole page, including images. I've seen a few sites using it- it's something like javascript:zoomIn() and zoomOut(), but as always, when I try it myself, all I get is deeeebbbuuuuuggggg :O Do I need a special script or something? Please help!

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    30
    Go here for a zoom script

    This script works fine but you will need to do one more thing which the author did not mention.
    The script is saying document.all.goo.style so you will want to put everything in your page inside a
    <div id=goo></div> tag. or inside a table with the id=goo...

    It works great i just tried it.

    cf

  3. #3
    // Silent Protagonist ivanthem's Avatar
    Join Date
    Jul 2003
    Location
    New Zealand
    Posts
    295
    Hey, thanks a lot for that link!

    Now I hafta get all my pages into <div>s

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center