zubair
08-05-2003, 07:23 AM
Hi I have a framset with a top frame and below it two frames. a left and right one. I've pasted framset code below. what i want is a script on both my bottom left and botom right frame that when clicked will minimise the opposite frame i.e. i click a link on my left frame will expand the left frame and minimise the right frame. Also clcik it again to bring both frames to originla size. Also need a link on the right frame vice versa. Has anyone done something like this? Thanks
<frameset rows="7%,*" FRAMESPACING=0 FRAMEBORDER=3 BORDER=0 bordercolor="000000">
<frame name="#fusebox.thiscircuit#key" src="#self#?fuseaction=#XFA_DisplayKey#" marginwidth="10" marginheight="10" scrolling="No" frameborder="0">
<frameset cols="50%,*">
<frame name="#fusebox.thiscircuit#Left" id="#fusebox.thiscircuit#Left" src="index.cfm?fuseaction=#XFA_DisplayWait#&catno=#urlencodedformat(attributes.catno)#&studio=#urlencodedformat(attributes.studio)#&title=#urlencodedformat(attributes.title)#&country=#urlencodedformat(attributes.country)#&startrow=#trim(attributes.startrow)#" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
<frame name="#fusebox.thiscircuit#Right" id="#fusebox.thiscircuit#Right" src="index.cfm?fuseaction=#XFA_RequestedItems#&catno=#urlencodedformat(attributes.catno)#&studio=#urlencodedformat(attributes.studio)#&title=#urlencodedformat(attributes.title)#&country=#urlencodedformat(attributes.country)#&startrow=#trim(attributes.startrow)#" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
</frameset>
</frameset>
<frameset rows="7%,*" FRAMESPACING=0 FRAMEBORDER=3 BORDER=0 bordercolor="000000">
<frame name="#fusebox.thiscircuit#key" src="#self#?fuseaction=#XFA_DisplayKey#" marginwidth="10" marginheight="10" scrolling="No" frameborder="0">
<frameset cols="50%,*">
<frame name="#fusebox.thiscircuit#Left" id="#fusebox.thiscircuit#Left" src="index.cfm?fuseaction=#XFA_DisplayWait#&catno=#urlencodedformat(attributes.catno)#&studio=#urlencodedformat(attributes.studio)#&title=#urlencodedformat(attributes.title)#&country=#urlencodedformat(attributes.country)#&startrow=#trim(attributes.startrow)#" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
<frame name="#fusebox.thiscircuit#Right" id="#fusebox.thiscircuit#Right" src="index.cfm?fuseaction=#XFA_RequestedItems#&catno=#urlencodedformat(attributes.catno)#&studio=#urlencodedformat(attributes.studio)#&title=#urlencodedformat(attributes.title)#&country=#urlencodedformat(attributes.country)#&startrow=#trim(attributes.startrow)#" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
</frameset>
</frameset>