www.webdeveloper.com
Results 1 to 2 of 2

Thread: Nested Comments

  1. #1
    Join Date
    Jul 2012
    Posts
    1

    Nested Comments

    Hi there,

    I wish I could find the easiest way to generate a nested comments in the following style:

    http://www.thelma-yellin.co.il/37851

    It is nested - and this is what I want.

    Thank you for any input,

    Simon

  2. #2
    Join Date
    Sep 2011
    Location
    Bristol, England, United Kingdom
    Posts
    192
    Since comments are going to be stored in a database, you would not use JavaScript to nest them. Rather, you'd extract your data with PHP or another server-side language and output standard HTML. The easiest way to indent comments is to simply print each comment inside <li></li> tags.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles