Open in middle Frame

Hello all,
Have started work on a website for my new com pany however
have come into some problems when it comes to frames and opening a
page within a frame.
Now iv set it up so that there is a mainframe in the middle
and a menu at the (left) side and then a frame at teh TOP to dispay
logo's.
The buttons on the menu frame all link to different sections
off the website, so after targeting them to mainframe or parent i
thoguht this would then in turn have the page open up in the middle
frame.
For the life of me though i cannot get them to do this, i can
get it to open in itself or open a new window, but never within the
middle frame.
I tried building from scratch or even using the templates,
but nothign seems to work.
now as always with these things i am sure it is just a simple
matter that i have overlooked.
If anyone could give me a detailed script of what exacttly i
need to do, i would be very greatfull as i have wasted about 4
hours so far meddling around with it.
Thankyou
Matt

Why are you using frames? Or have you inherited them?
The reason for using or not using frames should be based on
a) your site's
needs, and b) your willingness to accept the potential
problems that frames
can create for you as developer and maintainer of the site
and for your
visitors as casual users of the site.
I am down on frames because I believe that they create many
more problems
than they solve.
Judging from the posts here, and the kinds of problems that
are described,
the kind of person most likely to elect to use frames is also
the kind of
person most likely ill-prepared fo solve the ensuing problems
when they
arise. If you feel a) that you understand the problems and b)
that you are
prepared to handle them when they occur, and c) that you have
a need to use
frames, then by all means use them.
As far as I know, the most comprehensive discussions of
frames and their
potential problems can be found on these two links -
http://apptools.com/rants/framesevil.php
http://www.tjkdesign.com/articles/frames/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Rednuke" <[email protected]> wrote in
message
news:[email protected]...
> Hello all,
> Have started work on a website for my new com pany
however
> have come into some problems when it comes to frames and
opening a page
> within
> a frame.
> Now iv set it up so that there is a mainframe in the
middle and a menu at
> the
> (left) side and then a frame at teh TOP to dispay
logo's.
> The buttons on the menu frame all link to different
sections off the
> website,
> so after targeting them to mainframe or parent i thoguht
this would then
> in
> turn have the page open up in the middle frame.
> For the life of me though i cannot get them to do this,
i can get it to
> open
> in itself or open a new window, but never within the
middle frame.
>
> I tried building from scratch or even using the
templates, but nothign
> seems
> to work.
>
> now as always with these things i am sure it is just a
simple matter that
> i
> have overlooked.
>
> If anyone could give me a detailed script of what
exacttly i need to do, i
> would be very greatfull as i have wasted about 4 hours
so far meddling
> around
> with it.
>
>
> Thankyou
>
> Matt
>
>
>

Similar Messages

  • Firefox opens three sided frame when you open it. Uninstalling and reinstalling didn't help.

    Firefox 5 cannot load properly. When it loads, it opens a blank frame with three sides showing (left, bottom, right). I say the frame is blank because it shows the blank desktop color inside the frame. Uninstall and reinstall was not successful.
    No crash id available as I cannot get an interface.
    Using Windows 7 Pro 64-bit. Toshiba laptop.
    I have a screenshot available if there is somewhere to post it.
    Other browser applications work with no problems.

    -> Start Firefox in Safe Mode by Holding down SHIFT key while Starting Firefox
    -> As an alternative method, press '''Win + R''' keys and enter one of the following in the Windows Run box:
    firefox -safe-mode
    OR
    "C:\Program Files\Mozilla Firefox\firefox.exe" -safe-mode
    -> Firefox Safe Mode window will appear -> DON'T SELECT ANY OPTIONS, just click '''Continue in Safe Mode'''
    Check and tell if its working.

  • How can i make my scrollpane in a way that at the opening of a frame it doe

    How can i make my scrollpane in a way that at the opening of a frame it does not scroll down automatically?
    code is below
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.net.*;
    import javax.swing.JOptionPane.*;
    import java.io.*;
    import javax.swing.colorchooser.*;
    import javax.swing.filechooser.*;
    import javax.accessibility.*;
    import javax.swing.border.*;
    import java.sql.*;
    public class Signup extends JFrame
         JLabel p1,p2,p3,p4,p5,p6,uid,upass,cpass,fname,sname,hint,sl,ed,age,adr,cit,zip;
         JTextField uname,fnamet,snamet,hintt,adrt,adrt1,city,zipcode;
         JPasswordField upassw,cpassw;     
         JComboBox sex,education,agegr;
         Signup()
         Container c=getContentPane();
         c.setLayout(null);
         c.setBackground(Color.white);
         /** JPanel c = new JPanel();
         c.setBackground(Color.white);
         int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
         int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
         JScrollPane jsp = new JScrollPane(c, v, h); ***/
    p1=new JLabel("Create Your Icafe!ID",10);
         p2=new JLabel("Personal Information");
         p3=new JLabel("User Address");
         p4=new JLabel("Tell Us About Your Hobbiess (Optional) ");
         p5=new JLabel("Tell us something about what you like. This will help us choose the kind of content to display on           your pages.");
         p6=new JLabel("--------------------------------------------------------------------------------");
    uid=new JLabel("User Id");
         upass=new JLabel("Password");
         cpass=new JLabel("Confirmation Password");
         fname=new JLabel("UserName");
         sname=new JLabel("SurName");
         hint=new JLabel("Hint Question");
    sl=new JLabel("Sex");
         ed=new JLabel("Education");     
         age=new JLabel("Age Group");     
         adr=new JLabel("Address");
    cit=new JLabel("City");
    zip=new JLabel("ZipCode");
         uname=new JTextField(10);
         uname.requestFocus();     
         uname.setToolTipText("UserName");
    upassw=new JPasswordField(10);
         upassw.setToolTipText("Password");
         upassw.setEchoChar('*');
         cpassw=new JPasswordField(10);
         cpassw.setToolTipText("Confirmation Password");
         cpassw.setEchoChar('*');
         fnamet=new JTextField(10);
         fnamet.setToolTipText("FullName");
         snamet=new JTextField(10);
         snamet.setToolTipText("SurName");
         hintt=new JTextField(10);
         hintt.setToolTipText("Hint Question");     
    String[] gender={"[Select one]","Male","Female"};
         sex = new JComboBox(gender);          
    String[] edu={"[Select one]","S.S.C","Inter","Graduate","Post Graduate"};
         education= new JComboBox(edu);     
    String[] ageg={"[Select one]","0 - 15","16 - 35","36 - 70","70 - 100"};
         agegr= new JComboBox(ageg);     
    adrt=new JTextField(15);
         adrt.setToolTipText("Address");
         adrt1=new JTextField(15);
         adrt1.setToolTipText("Address");
         city=new JTextField(15);
         city.setToolTipText("City");
    zipcode=new JTextField(15);
         zipcode.setToolTipText("ZipCode");
         p1.setBounds(200,70,160,30);
         uid.setBounds(350,100,160,30);
         uname.setBounds(400,100,160,30);
         upass.setBounds(335,140,160,30);
         upassw.setBounds(400,140,160,30);
         cpass.setBounds(260,180,160,30);
         cpassw.setBounds(400,180,160,30);
         p2.setBounds(200,220,160,30);
         fname.setBounds(330,260,160,30);
         fnamet.setBounds(400,260,160,30);
         sname.setBounds(335,300,160,30);
         snamet.setBounds(400,300,160,30);
    hint.setBounds(315,340,160,30);     
    hintt.setBounds(400,340,160,30);
         sl.setBounds(370,380,160,30);     
         sex.setBounds(400,380,160,30);
         ed.setBounds(335,420,160,30);     
         education.setBounds(400,420,160,30);
    age.setBounds(330,460,160,30);
    agegr.setBounds(400,460,160,30);
    p3.setBounds(200,500,160,30);
         adr.setBounds(340,540,160,30);
         adrt.setBounds(400,540,160,30);
         adrt1.setBounds(400,580,160,30);
         cit.setBounds(370,620,160,30);
         city.setBounds(400,620,160,30);
    zip.setBounds(590,620,160,30);
    zipcode.setBounds(640,620,160,30);
         Font font = new Font("SansSerif",Font.BOLD, 12);
         setFont(font);
         c.add(p1);
    c.add(uid);
         c.add(uname);     
         c.add(upass);
         c.add(upassw);
    c.add(cpass);
         c.add(cpassw);
    c.add(p2);
    c.add(fname);     
         c.add(fnamet);
    c.add(sname);
    c.add(snamet);
         c.add(hint);
    c.add(hintt);     
    c.add(sl);
    c.add(sex);
    c.add(ed);
         c.add(education);
    c.add(age);
         c.add(agegr);
    c.add(p3);
    c.add(adr);
         c.add(adrt);
         c.add(adrt1);
    c.add(cit);
    c.add(city);
    c.add(zip);
    c.add(zipcode);
         setResizable(false);
         //int a=DO_NOTHING_ON_CLOSE;
         //setDefaultCloseOperation(a);
         show();
         setSize(800,500);
    // Border raisedBorder = new BevelBorder(BevelBorder.RAISED);     
         setContentPane(c);     
    public static void main (String arg[])
         try{
         UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
         }catch(Exception s)
         Signup swu=new Signup();

    just try the following:
    jsp.getVerticalScrollbar().setValue(0);after inserting and adding all your components. this will set the vertical scrollbar up to the very first line.
    regards

  • Sharepoint 2013 - OWA sometimes doesn't open the review frame

    Hello,
    I have an issue with the feature review file of Office Web Apps, this is an sometimes issue because sometimes it's able to open the review frame to review the PDF file but sometimes it doesn't as below
    Could anyone help me on this issue? thank in advance
    Regards,
    Binh Duong

    Hi Binh,
    By default PDFs are not previewed in OWA in document libraries, you will need to do some additional configuration. Wictor Wilen has written an excellent blog covering this subject.
    http://www.wictorwilen.se/sharepoint-2013-enabling-pdf-previews-in-document-libraries-with-office-web-apps-2013
    Regards
    Paul
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • A button that will open a new frame

    Greetings Folks:
    I am intending to create a button, which after being pressed, will open a new frame. This new frame will contain some functinality which i will define later. Have you got any suggestions? Should I create a diffrent class for this new frame or should everything relating to this frame be defined in the listener method of the button?

    I'd say create a new class...
    But im not sure what you are talking about. Do you want a full new window with new buttons, textfields etc. Or just some kind of dialog window?
    If your previous screen wouldn't have any use after the button was clicked, you could just use a repaint and set a new frame size and interface.
    I'vn't got that much experience, so correct me if I'm wrong... :)
    maybe an explanation what the program does would be useful?
    Regards,
    Guido

  • Iweb and frames,want to create a link to open outside the frame set

    Iweb is using Frames and I need to create a link that opens outside the frame set. Can this be done?
    IMAC   Mac OS X (10.3.9)  

    iWeb does not use frames. Can you explain a little further?

  • Why does redirect page open in a frame?

    Why does redirect page open in a frame? I don't see the point. Can it be made to open in it's own window?

    We now support an option for having the redirect for an embedded form take over the entire window. This FAQ explains:
    http://forums.adobe.com/docs/DOC-1991
    Randy

  • CS3 Opens Files As Frames, Loses Scroll Bar

    Hi
    I have a Windows 7 system on a new computer bought in December. Since I re-installed my copy of Dreamweaver 3 on this new PC, I've been getting two strange errors.
    The first problem is that when I first start up Dreamweaver and open a file it opens it in a small window like this:
    I normally have my layout set to Split view. DW doesn't mind giving me the split view but for some reason it minimises the window like that. It also gives me a tiny arrow under it that converts the page into a frame if I click on it.
    Occasionally DW will go further and open the file as a frame, calling it UntitledFrameset2 or 4 or some random number. And I've also caught it inserting a frame into the html at the bottom of the page, and then this code disappears if I click around a bit.
    If the page has opened as itself e.g. index.html but it's in the small box, as above, I can get it into a normal situation by just clicking on the "Design" or "Code" buttons. That acts like a slap in the face and DW snaps out of it.
    I have messed around with various view settings, cascades etc to no avail. I have uninstalled and re-installed twice, also deleting the configuration file but it seems determined to keep doing this. Upon re-installing it, Dreamweaver remembers my Site files which suggests that there's a cache somewhere I haven't removed. Suggestions?
    It's like there's a setting somewhere telling DW to open files in Frames but I can't find it.
    My second issue is that the scroll bar on my design window loves to disappear for no reason. It might be there when I open the file but if I open another file and click back to the original one, the scroll bar disappears. I have to click the arrow on the right hand side, fill the whole window, click the arrow again and I'll get the scroll bar back, but only temporarily.
    I had DW happily installed on Windows 7 on my last computer and didn't experience either of these issues. I've done a lot of searching of the forums and on Google but haven't been able to find a solution. Would love some help as this is really annoying.
    Thanks
    Karen

    .plist files are found on Mac OSX, not Windows 7.
    Config folder locations for various operating systems are described here
    http://forums.adobe.com/thread/494812
    but I doubt this issue is related to a corrupt config file.

  • I tried to download some photos from a corrupted CD and now every time I try to open iPhoto the frame pops up but nothing will load.  I just get the spinning color wheel.  Any ideas???

    I tried to download some photos from a corrupted CD and now every time I try to open iPhoto the frame pops up but nothing will load.  I just get the spinning color wheel.  Any ideas???

    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Why do i keep getting "opening cms-2-frame.html"

    since upgrading to 9.0.1, i keep getting a popup that says: opening cms-2-frame.html; from https://cti.w55c.net

    Reinstalling didn't seem to have any effect. Try cleaning up your cookies. I deleted the cookies of any site I didn't recognize and the sites where the link popped up the most, and the problem went away. (I also installed FlashBlock, but I was using that before I reinstalled Firefox.)
    Note that this issue seems to affect Firefox 10 as well.

  • Open with random frame

    Hello.
    In .fla file are 3 frames (in each different picture), and I would like to open a random frame each opening.
    Can I get this effect?
    Please help.

    While you would have to stop in the first frame every time just to set things up, you could use the ramdom function to pick a number within a range of numbers and use a gotoANdStop() command with that number as the argument.
    In the first frame you could put this code...
    gotoAndStop(Math.floor(Math.random()*(3)) + 1);

  • Open only one frame

    Hi, I want to open a frame when I run an application. The problem is that that frame is opened always that I run the application, so you can have several opened frames.
    How can I make to open only one frame, and that no frame is opened until I close the first one?
    thanks

    This is with useing a button
    first class
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class ball extends JFrame implements ActionListener{
      ballball bebe = new ballball();
      public ball() {
      super("My button");
      setSize(400,400);
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      Container pane = getContentPane();
      FlowLayout flow = new FlowLayout();
      pane.setLayout(flow);
       pane.add(bebe.button);
      bebe.button.addActionListener(this);
      setContentPane(pane);
      setVisible(true);
      public void actionPerformed(ActionEvent me){
       Object ob = me.getSource();
       if(ob == bebe.button) {
         bebe.Myothergui();
         bebe.button.setEnabled(false);
    public static void main(String[] args) {
         ball ba = new ball();
    Second class
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class ballball {
       JFrame frame;
       JButton button = new JButton("my butto");
    public void Myothergui() {
       frame = new JFrame();
      frame.setSize(300,300);
      frame.addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                     button.setEnabled(true);
                    frame.setVisible(false);
       frame.setVisible(true);
    GOOD LUCK and learn to use the http://java.sun.com/j2se/1.4/docs/api/ most of your ? can be answered there.Anyways have a good one and STUDY STUDY STUDY

  • Applications opening with a frame and no centre

    I have just moved to a iMac from a PC, when I open some of my new Mac applications like Photoshop or Nikon Capture NX2 I get a framed border with the desktop wallpaper still showing.
    The applications are already opened in full screen, it is just that there is a gap in the middle that is the desktop, the application is a frame around the edge of the screen. When you open up a picture it is there but with the desktop showing around it, if you click on the wrong bit the application minimises back to the desktop. Photomatix, NX2 and Photoshop CS5 does it, Lightroom 4, Aperture and Photoshop CS6 do not. I find this really annoying and want them all to open up as a full window with no background showing. Can I do this?

    Hello xraflad,
    The following article has a few things that may help get these applications working as expected.
    Mac OS X: How to troubleshoot a software issue
    http://support.apple.com/kb/HT1199
    Cheers,
    Allen

  • Open URL from frame

    I have to use simple text or label as a hyperlink to open a new url.. I would appreciate any snippet or widget through which i can get an idea how normal text can be turned into hyperlink...AND Is it possible to open a url in a new browser window from a frame?! Any suggestion?

    The last, pure HTML question first.
    click hereIn a read-only (setEditable(false)) text component that uses HTML, you can add a hyperlink listener, but it might be sufficient to load an URL on a click (JButton).
    For that I would suggest the following:
    JTextPane textarea = new JTextPane();
    textarea.setEditable(false);
    // Inside the actionPerformed click event:
    textarea.setPage("http://...");Of course that is without external browser.

  • Opening document in frame with javascript

    Hello.
    I've got problem with javascript on Safari 4 (both and on Win and on MacOS), while trying to open html document in frame.
    Reproducing the problem is quite difficult, so I'll begin with html source.
    I have one frame in index.html file:
    +<iframe id="topframe" name="topframe" scrolling="no" frameborder="0" width="980" height="580" src="form1.html";></iframe>+
    form1.html looks like this:
    +<input type="button" id="action" name="action" value="Make action" onclick = "document.getElementById('actionframe').src='dir/action.html';">+
    +<input type="button" id="sel" name="sell" value="..." onclick = "top.frames[['topframe']].location.replace('form2.html');">+
    action.html source is:
    +<script type="text/javascript">parent.document.getElementById('sel').click();</script>+
    So, when you open index.html, you see two buttons: first opens form2.html in the same frame, second opens dir/action.html in other frame. While dir/action.html just "clicks" the first button.
    Basically both buttons does the same.
    The problem is, that Safari fails to open form2.html with first button. Somehow Safari thinks that form2.html is in /dir/, like action.html is. So you get this error:
    *Not Found*
    *The requested URL /safari_test/dir/form2.html was not found on this server.*
    This example works on all major browsers, except Safari 4. Even on Safari 3 it works fine.
    I made an example, so you can test it here:
    http://82.135.245.49/safari_test/
    Message was edited by: Elvinas

    Have you tried putting the full URL instead of just form2.html?
    Second option is to move the file to that directory and change it for the other browsers.
    Third option is to stop using frames altogether, they are generally considered bad practice and can cause issues with browsers that aren't IE.

Maybe you are looking for