Results 1 to 3 of 3

Thread: dynamic content

  1. #1
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dynamic content

    Hi to all!

    I am using this script:
    http://www.onlywebsitemaintenance.com/29-01-09/faq.html

    I want to add some feature into it:

    like when a content lenght of perticular question raise to 100 words, it will added automatically "read more.." link into end of the content and when people click on this link it will open this content but full version with content question into next window, from where if someone want to go back they can reach to same place from where they click "read more..." link,

    is this possible using JS?

    Please help me.

    Thanks in advance

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Take a look at substring at the bottom of this page.

    I hope this helps,
    Nile.
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thnaks Nile,

    I think you have not got my question.

    First i need to count total Answer of a Question, if its over 100 words, then make "read more" link at the end of that Answer. when someone click on "read more" link it will take him to new page with that question and answer only, with another link "back to main section", when his click on it, it should take him to original possition.

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
  •