I am trying to make read more "button" with progress bar using news module. lol just a sec...
What I managed to do is insert PHP code in view.php of news module after line 250
$kratka = strlen($post['content_short']);
$duga = strlen($post['content_long']);
$count1 = $kratka / $duga;
$count2 = $count1 * 100;
$count = number_format($count2, 0);
echo $count . "%";
This simply counts characters of the long message and short message and make a percentage calculation (what percent is short message of long message) simple formula.
Now to show you the idea, I manage to print the percent before short news block, but that is offcourse not what Im trying to do.
I created a <div> with image inside that div, simple gradient, its filling some part of that div. I put one more div over it (div in div) and there I put read more link. See the picture

You can see the percentage before message I managed to calculate, now that gradient image behind read more link. I would like to make it stretch based on calculation of percentage.
If I make function of that code I inserted I guess I could call something like this
<img width="function percentage()"...>
So it will fill the div, behind read more link, to the percentage folowed by the text "You are curently reading x% of the full message"
Can someone put me in some direction now, what files to edit next and where? I dont know anything about PHP.
And maybe this allready exist so someone could save my time
