• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • Last Modified:

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
0
unreal400
Asked:
unreal400
  • 6
  • 3
  • 2
  • +1
1 Solution
 
arataniCommented:
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
0
 
RoonaanCommented:
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-
0
 
arataniCommented:
I think you can have rows and cols simulatenously .. I don't know how that can affect things.

AJ
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
RoonaanCommented:
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-
0
 
arataniCommented:
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.
0
 
unreal400Author Commented:
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.
0
 
arataniCommented:
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
0
 
arataniCommented:
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
0
 
unreal400Author Commented:
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.
0
 
arataniCommented:
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
0
 
unreal400Author Commented:
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.
0
 
RomModCommented:
The question has been PAQ'd and the 0 points have been refunded.
RomMod
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now