0

ニュースレター(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>
4

1 に答える 1

3

Javascript は、ほとんどの (すべてではないにしても) メール クライアントでは機能しません。

編集: キャンペーン モニターの Rosには、mac クライアントで機能する css を利用した手法があります(ページの約 3 分の 1 です)。

于 2013-02-01T14:09:58.247 に答える