我想在我的时事通讯 (HTML) 上插入一个典型链接“阅读更多...”,该链接在我的电子邮件中展开/隐藏我的新闻,并提供更多信息(更多文本)。对于邮件平台(gmail,outlook ..?
我知道如何使用这样的 javascript 在网页上执行此操作,但在电子邮件上这不起作用。
< 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>