Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript needing a script to click a link and collapse text

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #154833
    Ron Wolpa
    Participant

    Hello,
    I need a script to duplicate the “click a link then collapse text” likewise this one : http://www.brancomiele.adv.br/empresa_atuacao.asp
    I ´ve tried to duplicate the parts of the code that makes the above link page work without success.
    Seeking for a script through Google I found the fade text with read more button – https://css-tricks.com/text-fade-read-more/.
    The trouble with the above script is that it works with side by side columns and not with rows of text one above other.
    I ask if you could suggest me something.
    Thank you for your attention.

    #154835
    Alen
    Participant
    #154836
    Ron Wolpa
    Participant

    Hey great , thank you very much for your quick reply.

    #154886
    Ron Wolpa
    Participant

    Hi
    I attempted unsuccesfully to adapt your code to my project :
    http://gruberadv.com.br/atuacao.php
    It looks like the js is not working in my case;
    Below error message given by Chrome´s console :
    Uncaught TypeError: Object [object Object] has no method ‘on’ collapse_text.js:5
    (I´ve called the script collapse_text.js)
    Is there something that I´ve missed?
    Thank you very much for your attention.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.