Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to add jquery readmore function (expand/collapse) to magento CMS pages

  1. #1
    New member
    Join Date
    Jul 2014
    Location
    India
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to add jquery readmore function (expand/collapse) to magento CMS pages

    I need a read more button link in my Magento CMS pages.

    I got some long cms texts. I need a Read More link to collapse them.

    The Read More link has to be always after the first paragraph or ofter 250 character or any other limitation. But it is better when I can place the link myself in the magento backend by adding some kind of shortcode. like [readmore] or something. Doesn't matter what.

    this is an example what im trying to do. http://www.feestding.nl/themakleding...ween-kostuums/

    example of the feature http://jedfoster.com/Readmore.js/

    how can i do it?

    View more threads in the same category:


  2. #2
    Junior Member ccvv's Avatar
    Join Date
    Mar 2013
    Posts
    64
    Thanks
    6
    Thanked 17 Times in 13 Posts

    Default

    Add your js library to your template head.phtml and then run it in footer.phtml of your active template

Tags for this Thread

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
  •