SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist priti's Avatar
    Join Date
    Aug 2006
    Location
    India
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    hide frame in a frameset

    hi,

    <frameset rows="25&#37;,*" frameborder="NO" border="0">
    <frameset cols="79%,*" frameborder="NO" border="0" id="srcfrset">
    <frame src="asar.pl" name="topFrame" align="center">
    <frame src="xxx.php"; ?>" name="searchFrame">
    </frameset>
    <frameset cols="79%,*" frameborder="NO" border="0">
    <frame src="url" name="leftFrame" >
    <frame src="url" name="mainFrame" >
    </frameset>
    </frameset>

    now on certain event i want to hide the upper frameset i.e searchFrame how can i do this when i do top.searchFrame.cols="0.*" nothing happen as alerting top.searchFrame.cols returns undefined.

    it seems to be an easy fix but i have not yet worked so much with frames kindly help me here.

    Regards
    Last edited by priti; Mar 10, 2008 at 06:41.

  2. #2
    SitePoint Evangelist priti's Avatar
    Join Date
    Aug 2006
    Location
    India
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am able to do this

    document.getElementById('srcfrset').cols='0,*';

    but now i want to resize framset size "srcfrset" how can i achive.,,, this

  3. #3
    SitePoint Evangelist priti's Avatar
    Join Date
    Aug 2006
    Location
    India
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am done with this by my ownnnnnn :-)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •