Break out of iframe WITHOUT Javascript?

by 2 replies
9
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
#programming #break #iframe #javascript
  • 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.
  • 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

Next Topics on Trending Feed