Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 05-27-2009, 05:43 AM   #1
Advanced Warrior
War Room Member
 
Sean Kelly's Avatar
 
Join Date: Oct 2006
Location: Ireland
Posts: 750
Thanks: 5
Thanked 34 Times in 24 Posts
Contact Info
Send a message via Yahoo to Sean Kelly Send a message via Skype™ to Sean Kelly
Default Break out of iframe WITHOUT Javascript?

Is it possible to break out of an iFrame without using Javascript?

My initial thought was 'no', but surely there must be a way..

There are plenty of examples on the web of how to do it using Javascript but is it possible without Javascript somehow?

The only thing I can come up with so far is to put
Code:
target="_TOP"
into the links that are in the iframed page.

Sean

http://www.ViralPDF.com - The #1 PDF Rebrander since 2002
http://www.PdfPrinterPro.com - Create PDFs with Audio, Video and Flash inside
http://www.PdfLocker.com - Lock & Encrypt your PDFs quickly & easily
Sean Kelly is offline   Reply With Quote
Old 05-27-2009, 06:48 AM   #2
In Denial About Age
War Room Member
 
AnneE's Avatar
 
Join Date: Mar 2008
Location: Catskill mountains of New York
Posts: 653
Blog Entries: 5
Thanks: 100
Thanked 97 Times in 65 Posts
Default Re: Break out of iframe WITHOUT Javascript?

Quote:
Originally Posted by Sean Kelly View Post
Is it possible to break out of an iFrame without using Javascript?

My initial thought was 'no', but surely there must be a way..

There are plenty of examples on the web of how to do it using Javascript but is it possible without Javascript somehow?

The only thing I can come up with so far is to put
Code:
target="_TOP"
into the links that are in the iframed page.

Sean
Well, did simply putting target="_TOP" in the links inside frame work? And if so, are you still looking for another option? Also, why do you care about not using Javascript?

Others can correct me if they disagree, but I don't know of anyone that turns Javascript off on a regular basis. My husband used to... but he realized that all the websites that 'weren't working properly' were because he had Javascript off and I think he finally turned it on.

AnneE is offline   Reply With Quote
Old 05-27-2009, 06:56 AM   #3
Advanced Warrior
War Room Member
 
Sean Kelly's Avatar
 
Join Date: Oct 2006
Location: Ireland
Posts: 750
Thanks: 5
Thanked 34 Times in 24 Posts
Contact Info
Send a message via Yahoo to Sean Kelly Send a message via Skype™ to Sean Kelly
Default Re: Break out of iframe WITHOUT Javascript?

Hi Anne,

It's for my Merchant Account Payment Page.. their CreditCard form is hosted on their site so I use an iframe. The problem is that when they display their 'payment success', it too is in the iframe and I dont have a way of showing the product download screen.

Even if 1 out of 100 customers have Javascript switched off then they cannot get their download. This is support I would rather avoid and not good service to my clients.

Sean

http://www.ViralPDF.com - The #1 PDF Rebrander since 2002
http://www.PdfPrinterPro.com - Create PDFs with Audio, Video and Flash inside
http://www.PdfLocker.com - Lock & Encrypt your PDFs quickly & easily
Sean Kelly is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
break, iframe, javascript

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 04:07 AM.