Closed Thread
Results 1 to 4 of 4

Thread: Request for AJAX code...

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

    Request for AJAX code...

    I would love to see a good example of an accordion UI in AJAX. I have poked around on the web and some sites promise one but when you try to use it, it falls flat.

    Do you know what I mean by an accordion? I mean that cool user interface where you have a bar on top of some text content and when you clidk on the bar, it smoothly goes up or down to either hide or reveal the text content.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    oubless is offline Newbie
    Join Date
    May 2007
    Posts
    22
    Rep Power
    0
    Quote Originally Posted by xarzu View Post
    I would love to see a good example of an accordion UI in AJAX. I have poked around on the web and some sites promise one but when you try to use it, it falls flat.

    Do you know what I mean by an accordion? I mean that cool user interface where you have a bar on top of some text content and when you clidk on the bar, it smoothly goes up or down to either hide or reveal the text content.
    jQuery: The Write Less, Do More, JavaScript Library
    This is a javascript library. I started learning it about a week ago.
    License:
    "jQuery is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly."
    So you can simply use it ( will have to read on your own and do some writing, it does not give ready component, but will help a lot as it supports animation ( like the one you need ) and AJAX wrapper ), or you can use it as example and write you own pure javascript code.

  4. #3
    xarzu's Avatar
    xarzu is offline Newbie
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    0
    Another thing is this sliding bar that MSDN uses.
    Do you know what I am talking about?
    They have a split screen -- sort of like frames -- but you can drag the border between the frame.
    MFC Samples General Samples

    I can think of all sorts of applications for that. I wonder how they do that. I wonder if it is with AJAX or if you can do this with AJAX.

    I will be looking at the javascript that you suggested.

  5. #4
    fahlyn's Avatar
    fahlyn is offline Learning Programmer
    Join Date
    Nov 2007
    Posts
    35
    Rep Power
    0
    xarzu, I replied to your other post about the "frame-like" behavior you're looking for.

    I think a lot of what you're talking about isn't AJAX but DHTML. AJAX is only necessary when you need to make a trip to the server without re-loading a page. You can make things on a page move and change using css and javascript to modify the DOM - which isn't AJAX because it is doing everything on the client side without making any extra trips to the server. Hope that clears it up.

    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. Ajax Request getting much time
    By ITMount in forum AJAX
    Replies: 6
    Last Post: 08-03-2011, 11:02 PM
  2. Request to see some professional C++ code
    By Duane01 in forum Classes and Code Snippets
    Replies: 3
    Last Post: 05-02-2011, 11:57 AM
  3. responding to an Ajax request
    By codeLoad in forum AJAX
    Replies: 0
    Last Post: 03-07-2010, 08:50 PM
  4. Code Request Please
    By elvenrunelord in forum JavaScript and CSS
    Replies: 9
    Last Post: 07-12-2008, 05:13 AM
  5. Request for AJAX code...
    By xarzu in forum JavaScript and CSS
    Replies: 1
    Last Post: 09-03-2007, 05:31 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