我可以用戶jquery在另一個頁面上顯示/隱藏特定 div嗎?jQuery顯示/隱藏
即我有Content.aspx,顯示我們提供的不同計劃的內容。
在detail.asp我有一個更詳細的頁面,有獨特的divs。
<div id="detail-a">
detailed content here for product A.
</div>
<div id="detail-b">
detailed content here for product B.
</div>
我不想顯示隱藏框,滾動顯示的頁面內容詳細休息... 如果這都有道理...
清楚我一直在尋找的是內容頁面上,你可以點擊一個鏈接,它會打開一個只顯示detail.asp頁面上的Detail-A div的大小窗口......因此基本上顯示了來自單獨頁面的特定div。 – 2010-05-21 16:49:18
而不是手動設置CSS屬性,最好使用jQuery的內置Show(http://docs.jquery.com/Show),Hide(http://docs.jquery.com/Hide)和Toggle(http: //api.jquery.com/toggle/)函數。 – 2010-05-22 09:05:36