iframe problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
TwitterRooms
Forum Newbie
Posts: 1
Joined: Tue Dec 13, 2011 12:43 pm

iframe problem

Post by TwitterRooms »

hi guys i have benn trying to solve this problem but cant i have a Jcow site twitterrooms.co.uk which has a mobile site /mobile now i put

Code: Select all

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
 
in the header and what this does is hides the top url bar and bottom menu bar WORKS GREAT except when a link is clicked it reloads the page and brings back the url & menu bar

I tried this

Code: Select all

<iframe style="width:100%;height:100%" src="http://twitterrooms.co.uk/mobile">
  <p>Your browser does not support iframes.</p>
</iframe> 
but it still reloads the page how can i stop this and make the iframe reloadable but the page dont ??? if this makes sence

PLEASE HELP
Post Reply