PDA

View Full Version : Re-size Or Show / Hide Left Frame



MAL1K
01-06-2012, 05:22 PM
Hi every one

I'm making few offline pages for my work. My Home page have 2 frames

<HTML>
<HEAD>
<TITLE>My Work</TITLE>
</HEAD>
<FRAMESET cols="20%,80%" Bordercolor="#2F4F4F">
<frame name="Index" src="Index.html" scrolling="yes" target="Main">
<frame name="Main" src="Main.html">
</FRAMESET>
</HTML>


...Index.html...

<HTML>
<HEAD>
<TITLE>Index</TITLE>
<BASE target="Main">
</HEAD>
<BODY>
<H1>List</H1>
<UL>
<LI><A HREF="Notes.html">Notes</A> </LI>
<LI><A HREF="imp.html">IMP</A> </LI>
</UL>
</BODY>
</HTML>


Is there any way / script to "Show / hide" or resize my left frame "Index" for more space. I dn't want to drag left frame with mouse every time.

Kindly Guide me.

Regards

Malik

Ps: Main Frame will change every time when I click a link on Index Frame, So "show / hide" or re-size function should be worked by left frame / Index Page.

regicidedelferoz
01-07-2012, 01:44 AM
try this one,.


http://www.dynamicdrive.com/forums/showthread.php?t=66796

i haven't tried it yet but check the comments,.

MAL1K
01-07-2012, 08:27 AM
Thanks for your reply .. but I can't use "iFrame".
My index frame contained a really big list of files and folders within folders (Table of Contents / Tree Style). And my Main Frame change with every click / link of Index Frame.


Ps: I have a beginner level of basic knowledge about html, so Pardon me if I quote / write some thing wrong. I really need your kind guide. Thanks