Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Inline Javascript Plugin

Apraksts

Plugin that insert inline javascript in Posts/Pages

Arbitrary section

nothing yet

A brief Markdown Example

eg.

[inline]
<script type="text/javascript">
document.write("hello world!");
</script>
[/inline]

More Info

For more info, please visit [http://www.ooso.net/inline-js inline-javascript home page].

(For feedback/comments, please send an e-mail to: volca@tom.com ).

Uzstādīšana

English version:

  1. Unzip
  2. Copy inline-js.php to direcotry wp-contents/plugin and activate the plugin.
  3. Setup
    1. Disable tag balancing ‘WordPress should correct invalidly nested XHTML automatically’ through the ‘Options / Write’ menu in WordPress
    2. Disable the WYSIWYG rich editor in the user’s settings through the ‘Users / Your Profile’ menu
    3. Assign the ‘unfiltered_html’ capability to the user. Assigning capabilities to roles or users is out of the scope of this plugin. Because WordPress has no built-in configuration menu in the admin menu to assign roles/capabilities, you need to install the role/capability manager plugins role-manager.
  4. Use [inline] and [/inline] tag around the javascript,and post it

中文版本:

  1. 解压
  2. 复制inline-js.php到wp-contents/plugin目录并激活插件.
  3. 设置
    1. 在设置 / 撰写中关闭这个选项”WordPress 应当自动修正无效的 XHTML 嵌套”(‘WordPress should correct invalidly nested XHTML automatically)
    2. 在用户 / 您的个人资料中关闭Use the visual editor when writing
    3. 给你的帐号添加 ‘unfiltered_html’ 权限. 可以通过安装role-manager插件来搞定。
  4. 在写博客的时候使用[inline],[/inline]包住javascript,并发表

BUJ

nothing yet

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Inline Javascript Plugin” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Inline Javascript Plugin” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

0.6

  1. works in the excerpt box
  2. fix minor bug

0.5

  1. works with && operator