Link to home
Start Free TrialLog in
Avatar of j6cisepi
j6cisepi

asked on

More than 1 name for a frame?

I have created a web site with two frames.  The left frame is my contents list and I have named it 'navigation'.

The right (larger) frame is my main frame and i have named it 'contents'.

The 'navigation' frame loads pages into the 'contents' frame.  We link to other web intranet sites and this works OK.  However, some of these sites themselves use frames and they have named their main frame something other than 'contents', say "mint main".  When the page tries to load into "mint main" (which doesn't exist), not suprisingly a new browser window pops up.

My question is this ...

"Can I specify more than 1 name for a frame, i.e.

<frame src="navigation.htm" name="navigation"> is what I have.

How do i also give this frame the "mint main" name?

Thanks in advance
Avatar of pistole
pistole
Flag of Netherlands image

the answer is relativly simple: it can't be done using plain HTML. However, if you're able to run scripts on you website (ASP, or something else) you could think about writing a program that downloads the page, searches for a frame-name, and replace it with your own frame name, and send the results to the browser.

Avatar of j6cisepi
j6cisepi

ASKER

Unfortunately I'm not a programmer, I've just been lumbered with setting up the web-site.  But if it can;t be done, then it can't be done :(
you can't give it multiple names using html...
but if you'd tell me exactly how it's done, by providing the source-code or something... I can make something that helps... either JS or maybe if I'm lucky, in plain html :)

//Grdv
Hello j6cisepi,

on your button or whatever is opening "mintmain" do the following i think it's what your after.you say your not a programmer so im not sure if you know or not but the TARGET attrib is for specifying where the html file is going to open.
<A HREF="mintmain.html" TARGET="contents">
where mintmain.html is mintmains main file.

InThe
It's probably my fault for not explaining the problem clearly.  I have no control over how the other sites we load in our 'contents' frame are coded.   //Grdv's offer of help sounds promising.  I will post the html code when i'm in work on Monday.  Thx
ASKER CERTIFIED SOLUTION
Avatar of rafistern
rafistern

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial