打造属于自己的邮件特效.docxVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
打造属于自己的邮件特效 看到网页上面的特效,是不是想应用到自己的邮件当中去呢?想的话那就赶快来行动吧! 每一种特效插入到网页当中都可以分成几个步骤。 首先看一下配置文件的结构 [common] // 公共信息 total_steps = 2 //实现本特效要多少步骤 ( 例如 2 即表示下面的 step1 到 step2 起作用 ) [step1] // 第一步 [step2] // 第二步 每个步骤由一些关键字组成 insert_type insert_element insert_element_id //和 insert_element 配合使用, 如果没有指定 id ,则默认是该类型第一 //个元素 insert_where insert_content insert_style_key insert_style_value insert_attribute_key insert_attribute_value insert_input_dialog_type insert_input_dialog_text insert_type 目前有以下取值: script: 插入一段 script 语言 html: 插入一段 html 语句 style: 给指定元素插入一种 style attribute: 给指定元素插入一种 attribute filesrc: 给网页插入一个文件索引 inputdialog: 打开一种对话框提示用户输入 insert_type 的取值也决定了其他关键字的有效与否: insert_type = script 时 insert_element、 insert_element_id 指定插入的目标位置相关元素 insert_where 取值: beforeBegin 、 afterBegin 、beforeEnd、afterEnd、currentSelect 位置描述: beforeBegintagNameafterBegin beforeEnd/tagNameafterEnd (注:当 insert_where = currentSelect 时, insert_element、 insert_element_id 无 效) insert_content指定插入的内容,改内容必须是 script…script内容/script的形式 (注:一般情况下,内容较长,所以要换行,对于换行的内容,要采用以下的 形式才能正确分辨 insert_content = 其中 不是双引号,而是由两个 号组成,该符号位置在键盘数字 1的左边,切记!) insert_type = html 时 insert_element、 insert_element_id 指定插入的目标位置相关元素 insert_where 取值: beforeBegin 、afterBegin 、 beforeEnd、afterEnd、 currentSelect、 bodylnside,前面 5 项性质和 insert_type = script 时一样,重点介绍一下 bodylnside : 当 insert_where = bodyInside 时,当前页面 body 元素的内容将会被插到要插入的内 容中间去,其位置在内容中以 %s 表明,如: insert_content = --htmll %s html2 ,则当前body的内容将会插入到 %s指定的 位置,并且以新得到的 html 内容覆盖掉原 body 元素当中的内容 insert_type = style 时 insert_element、 insert_element_id 共同指定目标元素 insert_style_key、 insert_style_value 负责给指定的元素设置 style insert_type = attribute 时 insert_element、 insert_element_id 共同指定目标元素 insert_attribute_key 、 insert_attribute_value 负责给指定的元素设置 attribute insert_type = filesrc 时,将会在 head 元素的后面插入一不显示的图片,其内容大概是: lMG id=%s src=%s style=\DlSPLAY: none\/lMG ,以此当作文件的索引。 insert_element_id 指定 lMG 元素的 id insert_content指定元素的src,内容为相对路径(当前路径为 \effect) 该索引主要供script语言使用,只要在 script语言中读取该元素的 src属性,则能 够得到所需文件的路径(无需打开文件对话框,

文档评论(0)

yuxiufeng + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档