[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

target a hidden Frame set

Posted on 2004-09-24
14
Medium Priority
?
429 Views
Last Modified: 2010-04-09
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
Comment
Question by:unreal400
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
  • +1
14 Comments
 
LVL 4

Expert Comment

by:aratani
ID: 12153904
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
 
LVL 49

Expert Comment

by:Roonaan
ID: 12154158
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
 
LVL 4

Expert Comment

by:aratani
ID: 12155336
I think you can have rows and cols simulatenously .. I don't know how that can affect things.

AJ
0
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!

 
LVL 49

Expert Comment

by:Roonaan
ID: 12155401
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
 
LVL 4

Expert Comment

by:aratani
ID: 12156604
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
 
LVL 2

Author Comment

by:unreal400
ID: 12375250
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
 
LVL 4

Expert Comment

by:aratani
ID: 12377541
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
 
LVL 4

Expert Comment

by:aratani
ID: 12377877
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
 
LVL 2

Author Comment

by:unreal400
ID: 12382777
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
 
LVL 4

Expert Comment

by:aratani
ID: 12383533
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
 
LVL 2

Author Comment

by:unreal400
ID: 12385114
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
 

Accepted Solution

by:
RomMod earned 0 total points
ID: 12411719
The question has been PAQ'd and the 0 points have been refunded.
RomMod
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question