Profile
Achievement
marcelodornelas's Recent Snippets
- All /
« Prev 1 Next »
Show/hide an paragraph when you click on the h2, suppose you have:
<h2><a href="#">Designer info</a></h2>
<p>Lorem ipsum dolor sit amet.</p>
You can show/hide the paragraph with the code below.
0
600
posted 14 years ago by marcelodornelas
Resizing fields using a custom module
You could also resize the field using a custom module.
For example, if you created mysite.module, you could use something like this to reduce the field size to 30 characters
4
1029
posted 14 years ago by marcelodornelas