Iframe

Hi

Is there anybody that could help me in the correct direction of getting the iFrame ti work how I want it to work?
Currently making use of a button my code is:

However I want this to open in the same window so you can still see the shop header and footer.

Any help is appreciated.

Kind Regards

I'm not familar with this syntax inside the dispatch[] 'name'

[index.pre|fn_hook1

Normally it is just a controller, mode and optional parameters like:

products.view&product_id=123

What is your '|hook1' attempting to do?

If you want it to POST then use the 'name="dispatch...."' approach. If you want it to use a GET, use a standard anchor tag.

You're getting a new window because you told it to do so with your 'onclick' event.