Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building frames only if...

Status
Not open for further replies.

avivit

Technical User
Jul 5, 2000
456
IL
I need to create frames only if a certain action occurs, and if not I' don't want
these frames.
I understand I can't create the frameset in advance? Can I create but not show
at all, and later to show the 2 files in it.
Even if I create frameset with zero columns and rows, how can I change the
rows value, when I want the files be in it?
I.e.:


if (ccheckAreAllFine)
{ //open an index with two certain files in it
}
else //If not ok
{ //do something else
}

Hope I'm clear.

Thanks in advance
 
looks cool. I'll check it out, and hope it works for both browsers (though I saw no special feature that should not work).
Jared, thanks.
U know I always inform about any progress, so "I'll be back". :)
 
Thanks, I used your idea for my purposes, as following:

<frameset id=&quot;frameset1&quot; rows=&quot;0,*&quot;> <!--Hidden upper frame)-->
<frame name=&quot;upFrame&quot; src=&quot;stuff.htm&quot;>
<frame name=&quot;downFrame&quot; src=&quot;secondFrame&quot;>
</frameset>

Than, in one of the frame, when trying to change the
rows value, it's not working for netscape 4.7+, but great in ie.
Is there another way to change the rows value in netscape 4+???

for ie:
parent.frameset1.rows = &quot;100,*&quot;;
 
Ditch Netscape 6?
This feature does not function for ns6 too.
:)
Ditch it all?

Well, if we could only persuade all ppl to
use one browser (and a certain version of course),
our lives would be so simple (but boring(?))

:--)

Thanks for your great help.
 
Ditch Netscape 6?
This feature does not function for ns6 too.
:)
Ditch it all?

Well, if we could only persuade all ppl to
use one browser (and a certain version of course),
our lives would be so simple (but boring(?))

:--)

Thanks for your help.
 
Jared, I must say: U r the only one who gave me a practical solution to my question (I searhed in lots of places for an answer). Thanks for that.

I was too lazy to check the syntax for NN6, since I need it to work for former versions of netsacpe too, and it's impossible for older versions. Anyway, I didn't want 3 versions of stuff there.

So...I kind of...(don't kill me)...
returned to the old fashion safe way, and I built the frameset in advance, when the upper small frame is blank at the beginning.

P.s. - I would like to hear the syntax of nn6 to changing the row value, if there's someone which is less lazy than me.

Hope u r nor disappointed that I did not keep seraching. I just had a way that works (classsic way), only less preferable.

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top