does anyone know how to stop a link opening within the iframe when clicked? i have tried all the target attributes, like _self, _parent, etc, but I just cant seem to get this right.
Have you tried "_top"? Not sure if it would work. I think I had this issue forever ago when I used to use iframes, I can't remember my fix, but if you have multiple iframes going on or depending on where they're placed, that might be the issue
Depending on what you're trying to do/if you're interested, I had a lot of issues with iframes but switched to using a tab system using JavaScript. It was a little confusing setting it up forever ago, but I haven't had many issues with it since.
perhaps try making sure there’s no attribute before or inside of the iframe! also remove any closing tags like
neocities won’t let me type a href in brackets, but that’s what i meant sorry >< !
Could you give me an example please? Ive been dying on the floor from this iframe stuff!!!!
Have you tried "_top"? Not sure if it would work. I think I had this issue forever ago when I used to use iframes, I can't remember my fix, but if you have multiple iframes going on or depending on where they're placed, that might be the issue
Depending on what you're trying to do/if you're interested, I had a lot of issues with iframes but switched to using a tab system using JavaScript. It was a little confusing setting it up forever ago, but I haven't had many issues with it since.
_top works for me. Though I use _blank if I want it to open in a new tab (sorry if oyu already knew that)
can you maybe send what the iframe looks in the code?