133 | | jQuery("#TB_window").append("<a href='' id='TB_ImageOff' title='"+thickboxL10n.close+"'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><div class='tb-close-icon'></div></a></div>"); |
| 133 | jQuery("#TB_window").append( |
| 134 | "<a href='' id='TB_ImageOff'>" |
| 135 | + "<span class='screen-reader-text'>" + thickboxL10n.close + "</span>" |
| 136 | + "<img id='TB_Image' src='" + url + "' width='" + imageWidth + "' height='" + imageHeight + "' alt='" + caption + "'/>" |
| 137 | + "</a>" |
| 138 | + "<div id='TB_caption'>" |
| 139 | + caption |
| 140 | + "<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div>" |
| 141 | + "</div>" |
| 142 | + "<div id='TB_closeWindow'>" |
| 143 | + "<a href='#' id='TB_closeWindowButton'>" |
| 144 | + "<span class='screen-reader-text'>" + thickboxL10n.close + "</span>" |
| 145 | + "<div class='tb-close-icon'></div>" |
| 146 | + "</a>" |
| 147 | + "</div>" |
| 148 | ); |
198 | | jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><div class='tb-close-icon'></div></a></div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' >"+thickboxL10n.noiframes+"</iframe>"); |
| 213 | jQuery("#TB_window").append( |
| 214 | "<div id='TB_title'>" |
| 215 | + "<div id='TB_ajaxWindowTitle'>" + caption + "</div>" |
| 216 | + "<div id='TB_closeAjaxWindow'>" |
| 217 | + "<a href='#' id='TB_closeWindowButton'>" |
| 218 | + "<span class='screen-reader-text'>" + thickboxL10n.close + "</span>" |
| 219 | + "<div class='tb-close-icon'></div>" |
| 220 | + "</a>" |
| 221 | + "</div>" |
| 222 | + "</div>" |
| 223 | + "<iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent'" |
| 224 | + "name='TB_iframeContent" + Math.round( Math.random() * 1000 ) + "' onload='tb_showIframe()'" |
| 225 | + "style='width:" + ( ajaxContentW + 29 ) + "px;height:" + ( ajaxContentH + 17 ) + "px;'>" |
| 226 | + thickboxL10n.noiframes |
| 227 | + "</iframe>" |
| 228 | ); |
200 | | jQuery("#TB_overlay").unbind(); |
201 | | jQuery("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'>"+thickboxL10n.noiframes+"</iframe>"); |
| 230 | jQuery("#TB_overlay").unbind(); |
| 231 | jQuery("#TB_window").append( |
| 232 | "<iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent'" |
| 233 | + "name='TB_iframeContent" + Math.round( Math.random() * 1000 ) + "' onload='tb_showIframe()'" |
| 234 | + "style='width:" + ( ajaxContentW + 29 ) + "px;height:" + ( ajaxContentH + 17 ) + "px;'>" |
| 235 | + thickboxL10n.noiframes |
| 236 | + "</iframe>" |
| 237 | ); |