1.src裡面的內容是請求路徑,對應controller中的路徑,返回的是要巢狀的頁面路徑
src="iframe" style="width: 1145px; height: 685px;" name="contentiframe" id="contentiframe">
src="iframe2" style="width: 1145px; height: 766px; display:none" name="contentiframe2" id="contentiframe2">
2.分頁的兩種方法
(1)使用juery.page.js自帶的分頁
(2)自己寫的分頁
首頁<#if info.data.pager.curpage==1>
<
<#else>
<
$<#if info.data.pager.curpage==info.data.pager.totalpage>
>
<#else>
>尾頁
前端開發知識點總結
很多時候我們會有下面的場景,如下圖中所顯示的那樣。點選1區域 從圖上看1區域包含2區域 和2區域跳轉不同的鏈結。正常的 結構應該是 但是上面的 瀏覽器的編譯結果是下面這樣 很明顯可以發現,瀏覽器的渲染結果並不是我們想要的結果。那麼是為什麼呢?根據 w3c 規範,a 標籤是不是巢狀 a 標籤的。如果出...
前端知識點
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 知識點 ul li 中預設選擇class active firstli rem...
前端知識點
css實現單行文字溢位顯示 overflow hidden text overflow ellipsis white space nowrap 實現多行文字溢位顯示 display webkit box webkit box orient vertical webkit line clamp 3 o...