Forum Moderators: open

Message Too Old, No Replies

Iframe problem

         

PaToRuZiTo

5:33 am on Oct 8, 2003 (gmt 0)

10+ Year Member



Hi everyone!
I read every topic related to Iframes from the last 20 pages but if the solution was there I was unable to see it...

The issue is quite simple (or I thought it was)... I have two menues inside two cells... in between there is an iframe where almost every link is targeted to (href=something.html target="iframename")

During the contruction I tested it from time to time and it worked just fine, but for no particular reason, one day just stop doing it... every link just opened like _blank or _parent

I checked several times for some kind of mistake in the "target" part, but everything appears to be ok... I tried to validate it with Dreamweaver MX and it just said something about FONT

The page was created with FrontPage XP and Dreamweaver MX

How I can fix this? (or get around it with JS)

I tried base target="iframename" but not only didn't work, but some JS with open.window stopped working as well

If you feel the code could help, let me know and i'll post it... it's quite long and I don't know which parts are essentials

ps. excuse my english... it's not my native language :)

tedster

6:44 am on Oct 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld.

You say "for no particular reason, one day just stop doing it". My guess is that something happened to the name assigned to the iframe. The target attribute will only work the way you want if that name is assigned to the iframe. If the iframe doesn't hav a name that matches the iframe's name, then you would see the link open in a new window.

Check just the iframe element and see how it's written.

PaToRuZiTo

8:09 pm on Oct 8, 2003 (gmt 0)

10+ Year Member



nope... the iframe name remains the same (which is the same as the target parts)

would you like me to post the code?