Link to home
Start Free TrialLog in
Avatar of unreal400
unreal400

asked on

target a hidden Frame set

I want a frame in my fame set that is set to 0 width so nobody can see it.  The reason is I have code that needs to post somewhere and I dont' want it seen or have it popping up a window.  Is it possible the way I have the frameset setup

Here is my frameset

<frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0">
  <frame src="/Filebrowser/topframe.php" name="topFrame" scrolling="NO" noresize >

  <frameset rows="*" cols="161,*" framespacing="0" frameborder="NO" border="0">
    <frame src="/xwin/menuframe.php" name="leftFrame" scrolling="NO" noresize>
    <frame src="/xwin/xwin.php" name="mainFrame">
                  //here is the section I want to be invisible
        <frameset rows="0" cols="0,0" framespacing="0" frameborder="NO" border="0">
            <frame src="/xwin/blank.php" name ="hiddenFrame"></frameset>
                    </frameset>

</frameset>

here is my code to post to that hidden frame  the problem is instead of posting to the target i tell it it always opens up a new window  even if I use Target="_self"   what would be causing this to happen?

<form name="files" Action="filedownloader.php" method ="POST" target="hiddenFrame">

Kelly
Avatar of aratani
aratani

I have used hidden frames, and I think the error is cause you have not defined the framesets properly.

<frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0">
  <frame src="/Filebrowser/topframe.php" name="topFrame" scrolling="NO" noresize >

  <frameset rows="*" cols="161,*" framespacing="0" frameborder="NO" border="0">

      <frame src="/xwin/menuframe.php" name="leftFrame" scrolling="NO" noresize>

       <frameset rows="*, 0" framespacing="0" frameborder="NO" border="0">

          <frame src="/xwin/xwin.php" name="mainFrame">
          <frame src="/xwin/blank.php" name ="hiddenFrame">

       </frameset>

   </frameset>

</frameset>

See if that works.

AJ
Avatar of Roonaan
I never knew you could have a cols and a rows attribute simultaniously on a frameset, but it probably can as you'd tried things out i suppose.

I would indeed use the frameset as aratani suggested, but change some things:

<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
  <frame src="/Filebrowser/topframe.php" name="topFrame" scrolling="NO" noresize >
  <frameset cols="161,*,0" framespacing="0" frameborder="NO" border="0">
    <frame src="/xwin/menuframe.php" name="leftFrame" scrolling="NO" noresize>
    <frame src="/xwin/xwin.php" name="mainFrame">
    <frame src="/xwin/blank.php" name ="hiddenFrame"></frameset>
  </frameset>
</frameset>

regards -r-
I think you can have rows and cols simulatenously .. I don't know how that can affect things.

AJ
Because a frameset is suppose to devide some array into cols OR rows, it would be quiet strange to have both cols and rows properties. Say you have

<frameset rows="50,50" cols="50,50">
 <frame name="A" />
 <frame name="B" />
 <frame name="C" />
 <frame name="D" />
</frameset>

Should this be rendered as
AB
CD

or as styling below, because the rows attrib has been used first.

AC
BD


I made a mistake in my example frameset in the last post. I added one /frameset to much. The example should have been:
      
Comment from aratani
Date: 09/26/2004 10:18AM CEST
      Comment       

I have used hidden frames, and I think the error is cause you have not defined the framesets properly.

<frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0">
  <frame src="/Filebrowser/topframe.php" name="topFrame" scrolling="NO" noresize >

  <frameset rows="*" cols="161,*" framespacing="0" frameborder="NO" border="0">

      <frame src="/xwin/menuframe.php" name="leftFrame" scrolling="NO" noresize>

       <frameset rows="*, 0" framespacing="0" frameborder="NO" border="0">

          <frame src="/xwin/xwin.php" name="mainFrame">
          <frame src="/xwin/blank.php" name ="hiddenFrame">

       </frameset>

   </frameset>

</frameset>

See if that works.

AJ

Comment from Roonaan
Date: 09/26/2004 12:21PM CEST
      Your Comment       

I never knew you could have a cols and a rows attribute simultaniously on a frameset, but it probably can as you'd tried things out i suppose.

I would indeed use the frameset as aratani suggested, but change some things:

<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
  <frame src="/Filebrowser/topframe.php" name="topFrame" scrolling="NO" noresize >
  <frameset cols="161,*,0" framespacing="0" frameborder="NO" border="0">
    <frame src="/xwin/menuframe.php" name="leftFrame" scrolling="NO" noresize>
    <frame src="/xwin/xwin.php" name="mainFrame">
    <frame src="/xwin/blank.php" name ="hiddenFrame">
  </frameset>
</frameset>

Regards

-r-
Yeah, I see how the way you said would affect it, but if you put rows = "*" and then divide cols, then it should be okay or vice-versa.
Avatar of unreal400

ASKER

None of those really solved my problem   thanks for the try.  I have switched a few calling functions and redid the page to prevent from having to use this method.
Well, we did reply back to his comments and tried to give our suggestions. He never gave us any feedback on how it was going? So, I do think me and Roonan deserve points.

AJ
okay thank you. yes, its not the points that matter since its only 20, but for the amount of feedback we provided we should get some points. :)

aj
I would award the points to them but I also didn't want to accept the answers cause it didn't actualy solve the problem. I figured it would be misleading.  I have no objection to giving them the points but I didn't want to accept an answer that didn't solve my problem.
my only point is that you didn't give us any feedback after we gave you suggestions, so we couldn't solve your pbolem without you tellign us what the problem is or giving us feedback.

aj
ya at the time I was doing this stuff I was insanely busy and under a bunch of deadlines so once I figured it out I jumped to my next issue and completely forgot about this.  So that was my fault  on not getting feedback to you guys.  I did try some of the solutions while i was going through it but they weren't doing what I wanted I cam up with a better way around it.
Thats the problem with having 5 different  software packages on the go  some stuff just gets lost in the mess of it all.   So I do apologize for that.
ASKER CERTIFIED SOLUTION
Avatar of RomMod
RomMod

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