Now there is a horizontal IFRAME. You need to click an image outside the iframe to scroll a html page in the iframe horizontally, but you do not want to see the iframe scroll bar, how can this problem be solved ????
<Iframe name = a src = "test.html" scrolling = no> </iframe>
Demo.htm
<Iframe name = "in" src = "in.htm"> </iframe>
<Div align = "center" style = "height: 130px; width: 243px;">
<Script> var timer; </script>
<Br>
<Input type = "button" value = "up"
Onmousedown = "timer1 = setInterval ('parent. frames [\ 'In \ ']. scrollBy (0,-1)', 10 )"
Onmouseup = "clearInterval (timer1)">
<Input type = "button" value = "down"
Onmousedown = "timer1 = setInterval ('parent. frames [\ 'In \ ']. scrollBy (0, 1)', 10 )"
Onmouseup = "clearInterval (timer1)">
</Div>
In.htm
<Br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <br> 0 <
Scroll horizontally ..
Demox.htm
<Iframe name = "in" src = "inx.htm"> </iframe>
<Div align = "center" style = "height: 130px; width: 243px;">
<Script> var timer; </script>
<Br>
<Input type = "button" value = "Left"
Onmousedown = "timer1 = setInterval ('parent. frames [\ 'In \ ']. scrollBy (-1, 0)', 10 )"
Onmouseup = "clearInterval (timer1)">
<Input type = "button" value = "Right"
Onmousedown = "timer1 = setInterval ('parent. frames [\ 'In \ ']. scrollBy (1, 0)', 10 )"
Onmouseup = "clearInterval (timer1)">
</Div>
Inx.htm
<Body scroll = no>