このコードで改行する方法:
if (imageTextContainer.length > 0) {
imageTextContainer.text(imageItem.text +imageItem.dec);
}
この結果を取得する方法:
imageItem.text </br> imageItem.dec
私はこのコードを持っています::
{
image : "<?php bloginfo('template_directory'); ?>/pictures/1.jpg",
alt : "Picture 1",
dec : "rockstar games",
text : "Grand Theft Auto San Andres\r\n"
}
\r\n
エコースペースだけでは機能しません