Closed Thread
Results 1 to 5 of 5

Thread: Split Screen in AJAX

  1. #1
    xarzu's Avatar
    xarzu is offline Newbie
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    0

    Split Screen in AJAX

    Textpad and many other applications have this.

    It must be possible to do this on a website because many MSDN pages have something simular to it.

    I want to have a web page with a vertical movable split screen bar.

    I am not looking for something where we have two frames that are independent of each other and have their own vertical scroll bar. I want a web page where you can represent a very wide screen with a split. Each side can scroll horizontally independently of each other but the vertical scroll will cause both sides to scroll.

    Is this possible in AJAX?

    Is it possible in DHTML or some other technology?

    Here is the textpad example:





  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    I've only ever seen a webpage split using two scroll-bars. The first one that came to mind was MSDN and I took a look here: System.Drawing Namespace

    but it turns out they have two scroll-bars as well. Maybe someone else here knows more than I do about this.

  4. #3
    xarzu's Avatar
    xarzu is offline Newbie
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    0
    Once I start getting into AJAX more, maybe I can figure it out from some existing examples that do not have the same wide page but two seperate pages that scroll vertically independently.

  5. #4
    davHunter is offline Newbie
    Join Date
    Oct 2007
    Posts
    8
    Rep Power
    0
    Hi!

    One way to do it it's with the CSS overflow property.

    Using a div it would look like:

    HTML Code:
    ...
    <div style:"height=xxx; width:xxxx; overflow:scroll / auto">
    This text will be moveable...!!!
    </div>
    ...
    scroll gives both X and Y axes..., auto gives only Y axis.

    Ciao!

  6. #5
    fahlyn's Avatar
    fahlyn is offline Learning Programmer
    Join Date
    Nov 2007
    Posts
    35
    Rep Power
    0
    I don't see how AJAX would be useful for this. I know you said that you do NOT want to use 2 independent frames, however you CAN use 2 independent frames to accomplish what you want. Use css to hide the vertical scollbar on the left frame, then use javascript to scoll the left frame as the right frame's vertical scrollbar moves. Each frame could still have its own horizontal scollbar. You can use the css property "overflow-x" and "overflow-y" to control a vertical or horizontal scrollbar instead of "overflow" which applies to both vertical and horizontal.

    Happy Coding!
    -Fahlyn
    Visit My Google Group Here: Web Development Innovation

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Wep Page Getting Split Up
    By supermandx in forum PHP Development
    Replies: 2
    Last Post: 09-11-2010, 12:24 PM
  2. Screen resolution issue and getting rid of gaps around the edges of the screen...
    By HumansAreFriendsNotFood in forum HTML Programming
    Replies: 10
    Last Post: 06-07-2010, 11:07 AM
  3. Split Archive tar.gz?
    By Crop in forum Linux/Unix General
    Replies: 3
    Last Post: 01-15-2009, 07:33 AM
  4. Saving Position and Split Screen
    By Crom in forum C# Programming
    Replies: 1
    Last Post: 09-07-2007, 09:14 AM
  5. PERL - Split by Character
    By Cosmet in forum Perl
    Replies: 2
    Last Post: 12-30-2006, 11:03 AM

Tags for this Thread

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