SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Learning...
    Join Date
    Jan 2003
    Posts
    781
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    div tag as pop up

    I want to do similar to www.box.net when the login button is clicked.

    I have tabular data consisting of 4 columns and multiple rows. Column 3 is 'notes'; and if notes are greater than the length specified i am displaying only allowed number of characters and a view button to view the full text. How can i do this the best way:

    1. display the full text in the div tag -- will make it visible when view button is clicked, should i put in div tags for each and every row with a unique id or place the text in some form hidden on the page and through javascript put it in one div tag.

    2. when the div tag is visable it will have a close button to hide it. I also want this to have focus till the time user doesnt close it. This means that if the div tag is visible then the actual page will not get focus and also how can i fade the actual page so that the user knows that they have to close the pop up.

    3. display the div tag in the middle of the screen.

    thank you
    The beauty of life is not dependent on how happy you are,
    but on how happy others can be because of you...

  2. #2
    Learning...
    Join Date
    Jan 2003
    Posts
    781
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.sitepoint.com/article/cre...up-notes-dhtml

    this article is great. How should i handle multiple notes?
    The beauty of life is not dependent on how happy you are,
    but on how happy others can be because of you...


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
  •