Discussion Forums  >  Uncategorized

Replies: 3    Views: 219

futurepacer
buzztouch Evangelist
Profile
Posts: 31
Reg: Aug 25, 2011
Newcastle upon ...
5,210
09/13/11 03:51 PM (14 years ago)

iOS|1.5 - Problem using frames

Hi I can get frames to display within a web document, but they are not scrollable. Any thoughts? John
 
futurepacer
buzztouch Evangelist
Profile
Posts: 31
Reg: Aug 25, 2011
Newcastle upon ...
5,210
like
09/13/11 03:52 PM (14 years ago)
Hi That should read iframes :-))
 
baywebnz
Aspiring developer
Profile
Posts: 92
Reg: Oct 25, 2010
location unknow...
920
like
09/13/11 06:12 PM (14 years ago)
Couple of things: 1) Are they set to 'scrollable' in the html? 2) Are you sure they are really not scrollable!!!? You may or may not know that iOS devices recognise a '2 finger scroll' to scroll content within frames on a page. To simulate '2 finger scroll' in the simulator hold the 'option key' + 'shift key' while moving the mouse. Hope this helps.
 
futurepacer
buzztouch Evangelist
Profile
Posts: 31
Reg: Aug 25, 2011
Newcastle upon ...
5,210
like
09/14/11 01:00 AM (14 years ago)
Hi Thanks for your response. I think they are set to scrollable - here's the html, just in case! I've tested it on the simulator and iPhone. <html style='background-color:transparent'> <head> <meta http-equiv=Content-Type content=text/html; charset=UTF-8> <meta name=viewport content=width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;/> <link href=info.css rel=stylesheet type=text/css> <script type=text/javascript src=info.js></script> </head> <body> <h2>Useful Information</h2> <a href=infoDescription.html target=foo>Information</a> | <a href=infoHowTo.html target=foo>How To</a> | <a href=infoAboutUs.html target=foo>About Us</a></a> <br /><br /> <div style= padding-right:25px;width:280px; height: 250px; overflow:auto;> <iframe name=foo src=infoDescription.html</iframe> </div> <br /> <br /> <p>Set to navigate through various child pages by naming the iframe (name=foo, and then using the target command target=foo. </body> </html> All comments gratefully received :-)) John
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.