「index.htm」の編集履歴(バックアップ)一覧に戻る
index.htm - (2010/12/24 (金) 19:52:35) のソース
#setmenu(メニュー_Janetter_v1)
#divclass(alert-message_block-message){{
&bold(){Ver1.x系の開発は終了しています。}
今後このページは更新されません。Janetter wiki では、ver1.x系の情報と、ver2以降の情報とを分けて記事作成を行います。
ver1.x向けの情報は左側ナビゲーションバーの中程にありますインデックスから参照してください。 }}
>Janetterが新しいタイムラインを開くと、このHTMLファイルを読み込みます。
><div id=#timeline>内にツイートが追加されます。
----
#contents
*<head>
#highlight(html){{
<head>
<title>Timeline</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="css/main.css" rel="stylesheet" media="screen" />
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#timeline").timelineInit({
style: "Baloon",
user_name_style: "user_name",
get_reply: true,//<!-- v1.0.1.0b テスト機能-->
});
// 独自処理はここで定義
});
</script>
</head>
}}
「&italic(){ $("#timeline").timelineInit({ }」以下のパラメータを編集することで、出力されるHTMLデータに変化を付けます。
*「style: "Baloon"」
出力するデータに違いが生まれます。
**Baloon
#image(sty_bal.jpg)
フッターにIDとvia、 詳細な投稿日時
**Simple
#image(sty_sim.jpg)
ヘッダーに簡単な投稿日時
**SimpleFull
#image(sty_simf.jpg)
ヘッダーに簡単な投稿日時
フッターにIDとvia
*「user_name_style: "user_name"」
ヘッダーの内容が変わります
[[検索タイムラインでuser_nameが表示されない>http://www44.atwiki.jp/janetterref/pages/16.html#id_726542bb]]
**user_name
#image(user_nm.jpg)
**screen_name
#image(scrn_nm.jpg)
**both
#image(both_nm.jpg)
*「get_reply: ture」(※v1.0.1.0bのみ)
&s(){index.htmのtimelineInitの引数のパラメータに、「get_reply: false,」を追加すると、自動展開しないようになります。}
V1.1.0.0以降は、
設定>詳細設定>タイムライン の「会話内容を表示する」から設定できます。