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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Sep 2007
    Posts
    241
    Thanks
    6
    Thanked 0 Times in 0 Posts

    javascript sliding window/full screen?

    Hello,

    I was looking for a "slide out window" similar to what google maps uses.

    http://maps.google.com

    it has the little arrows to hide control panel (where the icons and whatnot show up on the side). thinking about this

    I know it is a javascript function, but am unfamiliar in this area. More specifically, how does the map claim the space of the control panel when the panel is minimized?

    Just a little confused.
    Thanks.

  • #2
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    Try jQuery. You can make use of the slideToggle() method.
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Posts
    241
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thanks,

    I had checked that out, I would like to have horizontal sliding, probably an easy fix.

    What I am unsure about, is will the screen automatically claim that unused space? Like a resize?

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    If you don't set any width constraints on the space it should resize to the space available.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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