[問題] iframe能顯示特定的區域嗎?

看板Web_Design作者 (UNIEER)時間13年前 (2012/08/06 17:26), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串1/2 (看更多)
假設:   原網頁的大小是1024x768 目的:   在自己的網頁崁入原網頁右下角的部分,即x=924~1024,y=568~768   目前用iframe做不到,是我語法不對,   還是要用別的方式? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.169.39

08/06 17:44, , 1F
可以.... 你把你的語法po上來
08/06 17:44, 1F
不好意思,新手上路~ <html> <head> </head> <meta content='10' http-equiv='Refresh'/> <iframe name="Test" src="http://tw.yahoo.com" width="640" height="480" marginwidth="100" marginheight="200" border="10" frameborder="2" scrolling="NO" > <script type="text/javascript"> myWindow.moveTo(924,568); myWindow.focus(); </script> </iframe> </html> ※ 編輯: UNIEER 來自: 114.45.169.39 (08/06 18:19) ※ 編輯: UNIEER 來自: 114.45.169.39 (08/06 18:20)

08/06 20:12, , 2F
myWindow是什麼?
08/06 20:12, 2F

08/06 20:23, , 3F
用 scroll 把捲軸調到你要的地方,把scrollbar 拿掉咧?
08/06 20:23, 3F
文章代碼(AID): #1G7uslgA (Web_Design)
文章代碼(AID): #1G7uslgA (Web_Design)