include > wikiソース取得

「include/wikiソース取得」の編集履歴(バックアップ)一覧はこちら

include/wikiソース取得 - (2013/03/25 (月) 15:44:59) の最新版との変更点

追加された行は緑色になります。

削除された行は赤色になります。

#divid(wiki_source){} #js(){{ $(function(){ //ページ名の取得 // <title>からページ名を取得する var title = $("title").text().split(" - "); var pageName = title[1]; var path = "http://" + location.hostname + "/" + location.pathname.split("/").item(0); $("div#wiki_source").load("http://www53.atwiki.jp/atwiki_tools/?cmd=backup&action=source&page="+pageName+"&num=0 pre.cmd_backup"); }); $("div#wiki_source").text(path); }}
#js(){{ $(function(){ //wikiソースの読み込み $("div.wiki_source").each(function(){ //ページ名の取得 var pageName = $(this).text() == "" ? $("title").text().split(" - ")[1] : $(this).text().split(",")[0]; //Pathの取得 var locationPath = "http://"+ location.hostname + "/" + location.pathname.split("/")[1] + "/"; var brush = $(this).text().split(",").length > 1 ? $(this).text().split(",")[1] : "html"; $(this).load( locationPath + "?cmd=backup&action=source&page="+pageName+"&num=0 pre.cmd_backup", null, function(){ $(this).find("pre").attr("class","brush: "+brush+";"); } ); }); }); }}

表示オプション

横に並べて表示:
変化行の前後のみ表示:
|新しいページ |検索 |ページ一覧 |RSS |@ウィキご利用ガイド |管理者にお問合せ
|ログイン|