Commit f8c7915f by Masaru Abe

title属性にタイトル文字列を設定

parent 0e4fbf3a
...@@ -682,7 +682,7 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag ...@@ -682,7 +682,7 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag
newRow +='</a>'; newRow +='</a>';
newRow +='<div class="text">'; newRow +='<div class="text">';
newRow += '<a class="name" href="#">' +'<div class ="pageTitle" >'+ pageTitle +'</div>'+ '</a>'; newRow += '<a class="name" href="#" title="' + pageTitle + '" ><div class ="pageTitle" >'+ pageTitle +'</div></a>';
newRow +='<div class="info">'; newRow +='<div class="info">';
newRow += '<ul class="date">'; newRow += '<ul class="date">';
......
...@@ -241,7 +241,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, from, to ...@@ -241,7 +241,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, from, to
+ ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 46px; "/>' + ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 46px; "/>'
+ ' </a>' + ' </a>'
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentId + '" class="name dialog" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="name dialog" contentid="' + post.contentId + '" title="' + COMMON.htmlEncode(post.contentTitle) + '" >'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ ' <div class="content-list">' + COMMON.htmlEncode(post.contentTitle) + '</div>' + ' <div class="content-list">' + COMMON.htmlEncode(post.contentTitle) + '</div>'
+ ' </a>' + ' </a>'
......
...@@ -1397,7 +1397,7 @@ HISTORY.renderContentAfterSort = function(contentSortArr){ ...@@ -1397,7 +1397,7 @@ HISTORY.renderContentAfterSort = function(contentSortArr){
+ ' <img id="imgloading' + post.contentid + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 46px; "/>' + ' <img id="imgloading' + post.contentid + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 46px; "/>'
+ ' </a>' + ' </a>'
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">' + ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '" title="' + COMMON.htmlEncode(post.contenttitle) + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20">'
+ ' <div class="content-list">' + COMMON.htmlEncode(post.contenttitle) + '</div>' + ' <div class="content-list">' + COMMON.htmlEncode(post.contenttitle) + '</div>'
+ ' </a>' + ' </a>'
......
...@@ -1649,7 +1649,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid, ...@@ -1649,7 +1649,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid,
+ ' </div>' + ' </div>'
+ ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 86px; "/>' + ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 86px; "/>'
+ ' </div>' + ' </div>'
+ ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '" title="' + COMMON.htmlEncode(post.contentTitle) + '" >'
+ ' <img src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20) + COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20)
+ ' </a>' + ' </a>'
...@@ -1671,7 +1671,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid, ...@@ -1671,7 +1671,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid,
+ ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 46px; "/>' + ' <img id="loadingIcon' + post.contentId + '" src="./img/data_loading.gif" height="25px" width="25px" style="padding: 46px; "/>'
+ ' </a>' + ' </a>'
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '" title="' + COMMON.htmlEncode(post.contentTitle) + '" >'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ ' <div class="content-list">' + COMMON.htmlEncode(post.contentTitle) + '</div>' + ' <div class="content-list">' + COMMON.htmlEncode(post.contentTitle) + '</div>'
+ ' </a>' + ' </a>'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment