WordPress:Template Tags/comments popup script

来自站长百科
Fludlen讨论 | 贡献2008年7月1日 (二) 16:29的版本
跳转至: 导航、​ 搜索

Description

描述

Outputs the JavaScript code for a comments popup window. Used in tandem with comments_popup_link(), this tag can be used anywhere within a template, though is typically placed within the <head> portion of a page.

为一个评论弹出窗口,提供JavaScript编码。与评论_弹出_链接()用在一起,这个标签可以用在一个模板的任何位置,但是通常是放在一个网页的<head>部分的内部。

Usage

用法

%%% <?php comments_popup_script(width, height); ?> %%%

%%% <?php comments_popup_script(width, height); ?> %%%

Example

例子

Sets the popup window's width to 400 pixels, and height to 500 pixels.

将弹窗口的宽度设置为400像素,高度设置为500像素。

<?php comments_popup_script(400, 500); ?>

<?php comments_popup_script(400, 500); ?>

Parameters

参数

width
(integer) The width of the popup window. Defaults to 400 (pixels).
height
(integer) The height of the popup window. Defaults to 400 (pixels).


宽度
(整数) 弹出窗口的宽度。默认为400 (像素)。
高度
(整数) 弹出窗口的高度。默认为400 (像素)。


Related

模板:Tag Comments Tags

模板:PHP Function Tag Footer

相关的

comments_number, comments_link, comments_rss_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss

模板:PHP 函数 标签 页底文字