...

View Full Version : iframe targeting (xara menu) target won't target



egosophist
06-30-2005, 09:48 PM
I have this code for my xara menu:

submenuItem("yadayada","yadayada.html","_blank","camden_plain");

I want to target one of two iframes I have on my page (myFrame):

submenuItem("yadayada","yadayada.html","_myFrame","camden_plain");


Tis not working...just opens a new window like the target is simply saying _blank.

I'm lost folks. any help...well would be helpful...Thanks!

_Aerospace_Eng_
06-30-2005, 11:37 PM
what is the name of your iframe? Is it _myFrame or myFrame ? If its myFrame then you don't put the leading underscore. Its likely opening in a new window because it can't find a page that has that name.

egosophist
07-01-2005, 12:00 AM
Let me check...brb

Sweet. Man...it's always something as simple as that. For some reason I thought the code required the _ (dash) before the Iframe command.

Many thanks.

That was seriously the funniest brainfart I have had in a long time...LOL

You rock!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum