?
Solved

target a hidden Frame set

Posted on 2004-09-24
14
Medium Priority
?
418 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
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

765 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