Last post Jul 01, 2013 02:28 PM by Dimitris-mitsos
Jul 01, 2013 05:10 AM|Dimitris-mitsos|LINK
how to add a read more (or details, etc) link in my site?
Thanks in advance,
Jul 01, 2013 05:14 AM|mshoaiblibra|LINK
check below link, it's already implemented.
Jul 01, 2013 05:51 AM|Dimitris-mitsos|LINK
Jul 01, 2013 06:00 AM|Mikesdotnetting|LINK
You can use an extension method like this one: http://www.mikesdotnetting.com/Article/137/Displaying-The-First-n-Characters-Of-Text. Note that if you want
to use it on a value from a database, you should cast the value to a string before you can use the extension method on it.
Jul 01, 2013 02:28 PM|Dimitris-mitsos|LINK
First of all thanks for your replies.
That was what
I was looking for...
var div = document.getElementById("showOrHideDiv");
if (div.style.display == "block")
div.style.display = "none";
div.style.display = "block";
In this tutorial you will learn how to hide multiple div elements with only one action (for example click on button).
<div id="showOrHideDiv" style="display: none">