Need a function made in javascript (though you can use jquery if you want as well, but javascript is preferred).
Basically what the script will do is add a button that is found on many mobile sites these days. The 'read full story ' button, as shown here:
[login to view URL]
However it needs to do things a little bit differently. The button should only be shown if the article is longer than the viewport. If it is, then the code should add a 'read full story' button right at the edge of the viewport. However, If the text content is not longer than the viewport then there should be no 'read full story button'.
I can provide more details upon request
Hi. I can make that script for you. My question is: should the button just reveal hidden text, or redirect to a specified subpage? Also, are long stories hidden now on your site? Or this needs to be added too?
Hey, i m student and heve a lot of free time during winter holidays which i'd love to spend on programming as its my hobby.
Feel free to contact me on skype: gnwielki.