ニュースレター(HTML)に、詳細情報(詳細テキスト)を含むメール内のニュースを展開/非表示にするヒントリンク「続きを読む...」を挿入したいと思います。メールプラットフォーム(gmail、outlook ..?)で動作するようにするにはどうすればよいですか?
私はこのようなjavascriptを使用してWebページでそれを行う方法を知っていますが、電子メールではこれは機能しません。
< html>
...
< script type='text/JavaScript'>
function verocultar(cual) {
var c=cual.nextSibling;
if(c.style.display=='none') {
c.style.display='block';
} else {
c.style.display='none'; }
return false;
}
</ script>
...
< p>Fusce tempor ....< / p>
< a onclick="return verocultar(this);" href="javascript:void(0);">< img src="images/read-more-btn.gif" alt="Read More" width="102" height="27" border="0">< / a> < p>As you look out on that coupon- and candy-trimmed future, we're sure you're reflecting on all that has gone by this year: All the milestones and memories. All the mistakes and monstrosities.
Cloth.< / p>
....
< / html>