JQuery overlay - issues with opening twitter "Allow Access" box

Posted by Gublooo on Stack Overflow See other posts from Stack Overflow or by Gublooo
Published on 2010-05-22T21:18:01Z Indexed on 2010/05/22 21:20 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

Hey guys

I'm using Jquery flowplayer tools overlay to open external links. External links are working fine with this piece of code shown in the link:

http://www.demiseonline.com/misc/Iframeoverlay.html

Now using this overlay - I wanted to open the twitter dialog which asks users to Allow access to their account.

So in the code below, I replaced http://www.google.com with https://twitter.com/oauth/authenticate?oauth_token=VPVRIsnRz9IX4CAab7brert3jHiEs

<div class="apple_overlay black" id="Overlay1"> 
   <iframe src ="http://www.google.com" width="100%" height="595px" frameborder="0"> 
   </iframe>
</div>

When I replace the code, as soon as I load the page, even before I click on the link to open the overlay - the page gets redirected to the twitter URL.

Any idea why that happens for this URL. Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui