Jump to content

Gutspiller

Members
  • Posts

    55
  • Joined

  • Last visited

    Never

Everything posted by Gutspiller

  1. bump. There has to be a way to fix this, right?
  2. I don't know much coding myself and would probably be considered a noob by the peeps standards here. Anyways, on my site (www.games4work.com) I have put my banners into iframe code and have set the meta refresh to 30 seconds. This seems to have really helped me actually start to make money off of my sites. I use it for more than just this site, but this is the site it's causing the biggest problem on. So people are playing a flash game and not always, but some banners or perhaps when certain keys are pushed while playing the flash game. The iframe steals the focus of the entire page. So if you are playing a flash game that uses keyboard controls and the iframe steals the focus then when you push the down or up arrow it scrolls the entire page up and down. You have to re-click the flash "window" to gain control back in the game. I did some searching and found this page: [a href=\"http://www.w3schools.com/htmldom/dom_obj_iframe.asp\" target=\"_blank\"]http://www.w3schools.com/htmldom/dom_obj_iframe.asp[/a] which says: Method blur() Removes focus from the iframe focus() Gives focus to the iframe Can somebody tell me how I use this (if this is what is going to work best) with my iframes so they don't steal the focus of the entire page? I would appreciate any help you can provide since I've had to turn the refresh down from 30 secs to 5 minutes and will likely mean I'm losing money I could have otherwise made. Thanks in advance for any help or direction you can give me.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.