Results 1 to 2 of 2

Thread: Collapse Expand Inside textArea

  1. #1
    Join Date
    Aug 2010
    Posts
    3

    Collapse Expand Inside textArea

    i presently have a text area which is generated using two arrays.It is loaded at the screen load. It is as following.

    var channelsGroups = new Array();
    var channelsChildren = new Array();
    channelsGroups[0]= new Array('Mars Public', 'MARS-PUB');
    channelsChildren[0]=new Array();
    channelsGroups[1]= new Array('Mars Private', 'MARS-PRIVA');
    channelsChildren[1]=new Array();
    channelsGroups[2]= new Array('Internet Booking Engine', 'IBE');
    channelsChildren[2]=new Array();
    channelsGroups[3]= new Array('mars Private Agent Specific', 'M-P-AGENT');
    channelsChildren[3]=new Array();
    channelsChildren[3][0]=new Array('AGT_002',' AGT_002 ');
    channelsChildren[3][1]=new Array('CARLSON WAGONLIT AUSTRALIA PTY',' 235830 ');
    channelsChildren[3][2]=new Array('Travel Zone',' TRAVELZONE ');
    channelsChildren[3][3]=new Array('Worldlink Travels',' WORLDLINK ');
    channelsChildren[3][4]=new Array('AAAAAAARFDS',' ADM2 ');
    channelsChildren[3][5]=new Array('AAASSRet',' DMM3 ');
    channelsChildren[3][6]=new Array('Adrian Travels',' DMM1 ');
    channelsChildren[3][7]=new Array('Buraha Travels',' DMM2 ');
    and more

    Output in the textArea is as following
    i presently have a text area which is generated using two arrays.It is loaded at the screen load. It is as following.

    i presently have a text area which is generated using two arrays.It is loaded at the screen load. It is as following.

    Mars Public
    Mars Private
    Internet Booking Engine
    mars Private Agent Specific
    -AGT_002
    -CARLS...

    I hope you inderstand the pattern. I want first to display only the groups(Mars Public, Mars Private) and when someone clicks on mars private Agent specific, the list of agents appear. There are other groups below agents and those groups also may have children.Those groups also should have the same on click functioanlity? Any Idea?

    Thank you in advance...

  2. #2
    Join Date
    Aug 2010
    Posts
    3
    there is no solution?

Similar Threads

  1. Collapse Expand Inside textArea
    By ghtvnath in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 30 Aug 2010, 09:25 AM
  2. Stop textarea expanding outside fieldset??? (when textsize changed)
    By callagga in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 07 Jul 2007, 04:53 PM

Posting Permissions

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