Resize behavior without frames?

Hi all,
Quick question:
I have an app which has a tree menu on the left side, which can contain entities up to n number of characters. I want to avoid using frames given the problems with session, forwards, etc. But does anyone know of a way I can somehow allow the user to resize part of the browser without resorting to frames? (I think the answer is no)
If the answer to the last question is no, has anyone had success in resetting HTML table attributes on a reload to account for a menu needed more room than before?
Thanks in advance,
Mike

If you use percents as widths instead of pixels, you won't have that problem with your tables.

Similar Messages

  • How to make a text variable (running header - character) resize a text frame?

    I have successfully been able to get a metadata text variable to auto-resize a text frame, but when I change the text variable to a running header-character/paragraph variable, the text frame does not resize - in fact it gets smaller and squashes the text.
    Surely if Indesign can handle one kind of variable it should handle another??
    Please help!

    Thanks all.
    Will- I tried adding another character to the text box but this made no difference.
    Eugene- I'm trying to avoid the purchase of any 3rd party plugins due to budget constraints.
    I realised that all I needed to do was use a wide paragraph rule to emulate a box behind the text, and make the text box long enough to hold all possible variables.
    One other issue has now cropped up, the running header (character) only grabs the text up to the first return, but I need it to grab all text formatted with the Character Style (2-3 lines max).
    I require a forced line break in the title (where the header is being pulled from) as it has a paragraph rule style attached, requiring a full return for each line of the title.
    Any ideas?

  • HTML Document: How to open in IE window without frame?

    Dear SDN members,
    We have created some HTML help documents for our ESS users. We added an icon to the different ESS WD iViews and when clicked, these icons link to the HTML file with the help text in it.
    Please see what I mean in the next screenshot:
    http://tweakers.net/ext/f/pq1y8uVy7mICDwDLU0LS4Foz/full.jpg
    My question is: How can I make sure that when the icon is clicked, the HTML document is opened in a new IE window, but without frame? So no toolbars, address, etc.
    Does anyone have an idea? Any help will be highly appraciated an points will be awarded.
    Thanks in advance and best regards,
    Jan Laros

    BUMP. Any suggestions?
    Ihave managed to fix this using JavaScript in a KM text document. This Script links to an HTML document with the correct texts. In the script I can give the properties of the popup, but this is not working on our QAS systems with Reverse Proxy and SSL configured. Any help is highly appreciated.
    Best regards,
    Jan
    Edited by: Jan Laros on Mar 4, 2008 2:24 PM

  • How to split a html page without frames and display random questions

    1) In my online examination application i need to display timer at the top of the page. even if the user
    scrolls down the timer should be visible. is there any way to do this without frames.
    2) questions are displayed randomly for each user. iam using rand() function to retrieve the questions from mysql database. now the problem is if the user refresh the page another set of questions are displayed. how to avoid this.
    thanks

    Hi Thanuja,
    Can you try it with the one below..... and checkout whether tht works or not
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
      </head>
    <script language="javascript">
    var i=0
    function showDate()
    i=i+1
    document.getElementById("staticcontent").innerHTML= "<center><b>Time :  " + i +" secs</b></center>"
    setTimeout("showDate()",1000)
    </script>
    <body onload="showDate()"> 
    <div id="staticcontent" style="position:absolute; border:1px solid black; background-color: lightyellow; width: 135px;">
    </div>
    <script type="text/javascript">
    //define universal reference to "staticcontent"
    var crossobj=document.all? document.all.staticcontent : document.getElementById("staticcontent")
    //define reference to the body object in IE
    var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body
    function positionit(){
    //define universal dsoc left point
    var dsocleft=document.all? iebody.scrollLeft : pageXOffset
    //define universal dsoc top point
    var dsoctop=document.all? iebody.scrollTop : pageYOffset
    //if the user is using IE 4+ or Firefox/ NS6+
    if (document.all||document.getElementById){
    crossobj.style.left=parseInt(dsocleft)+5+"px"
    crossobj.style.top=dsoctop+5+"px"
    setInterval("positionit()",100)
    </script>
    <%
    /* JSP LOGIC*/
    %>
    <!-- Customized HTML content -->
    </body>
    </html>REGARDS,
    RaHuL

  • Behaviors without helper functions

    Hi all, I'm trying to create a behavior that doesn't require
    a behavior
    function, is this possible using the behaviors API?
    Dreamweaver requires a behaviorFunction() function in
    behaviors, and
    returnig an empty string results in a message "The Action
    will not be
    applied".
    Is it possible to insert behaviors without a
    behaviorfunction?
    Sure I can create proxy functions that in turn call the
    actual command (eg
    alert()) but this seems a lot of overhead to put into the
    document.
    Joris

    "E Michael Brandt" <[email protected]> wrote
    in message
    news:fb3rqv$qv3$[email protected]..
    >
    > If you read the Extension help you'll see that certain
    functions are
    > indeed required by each type of Extension, whether
    Behavior, Command, or
    > Object. And certain methods are disallowed by each type
    as well.
    >
    Yes i have the manual in front of me, i'm building a behavior
    to call
    commands in the AIR runtime, the air object is just available
    in the
    document when the AIRAliases.js is included, it doesn't need
    a "helper"
    function.
    So what i'm doing now is inserting a proxy function to call
    the original
    function, return the name of the proxy function from
    behaviorFunction and
    wrap the call, that just seems like a lot of overhead.
    Joris
    function AIR_exec(cmdName) { //v1.0
    if(typeof air != 'Object'){
    alert('ERROR: AIR object not loaded, please include
    AIRAliases.js');
    } else {
    var cmd = 'air.'+cmdName+'(';
    for(var i=1; i<arguments.length; i++){
    cmd += (i==1) ? arguments
    : ','+arguments;
    cmd += ')'
    eval(cmd);
    //Return the name of the function that we want to be inserted
    into the
    user's document.
    function behaviorFunction(){
    return "AIR_exec";
    //Returns the actual function call string that will be
    inserted into the
    event handler
    function applyBehavior() {
    addAIRAliases();
    return
    "AIR_exec('trace',"+document.theForm.traceMessage.value+")";

  • Exporting to word from crystal without frames

    good afternoon, I have problems with the export from a word crystal, because everything is generated on me frameworks. pc sell any component or provide some advice for me to export a word without frames?.
    thank you very much for your attention and hopefully prompt responses.
    Fredy Castellanos
    Development Engineer
    LEGIS SA

    Ludek good morning, thanks for addressing my request.
    It turns out that I worked with Visual Studio. NET 2003 and use a component called CrystalReportViewer.
    When exporting to Microsoft Office Word, all I was generated in frames or text boxes, I want to pass the text into Microsoft Word without putting the content in text boxes or frames.
    This is the code I'm using
    MemoryStream oStream=new MemoryStream ();
    oStream = (MemoryStream)oRpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.WordForWindows);
    Response.Clear();
    Response.Buffer= true;
    Response.ContentType = "application/msword";
    Response.AddHeader("Content-Disposition", "attachment;filename=" + NombreActa + ".doc");
    Response.BinaryWrite(oStream.ToArray());
    Response.End();

  • [svn:osmf:] 15950: Fix broken resize behavior in HelloWorld sample.

    Revision: 15950
    Revision: 15950
    Author:   [email protected]
    Date:     2010-05-07 09:54:21 -0700 (Fri, 07 May 2010)
    Log Message:
    Fix broken resize behavior in HelloWorld sample.
    Modified Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld7.as

  • How to resize JTextArea when frame has been resized

    Hi!
    At first, I have to complain, that these Layout Managers drive me crazy. Even as an experienced developer, very often, I am frustrated and I am never 100% sure which layout manager I should choose (according to the Sun How Tos) and once I have decided, the never do what I'd expect them to do. I'm not sure if I am just too dumb or if there might be an unreasonable API architecture/design...
    OK, here again is a problem with layouts. And it's basically like this (See code for details):
    Row one: Text Area 1, Button 1; Row two: Text Area 2, Button 2.
    I just want to have the buttons aligned, the text areas should be same sized. Moreover, I want to disable vertical resizing and on horizontal resizing, I want the TextArea to be resized as well.
    But it doesn't. I could partly solve the vertical resizing by setting the minimum size, but the maximum size dosen't seem to work. I can still enlarge the window. The horizontal resizing doesn't work at all. I tried border layout before and set the Text area as center, but it also doesn't work. I read that some layout managers use only preferred size, some also use min and max size and this is very confusing.
    And I saw that component resizing should work for box layout as well (see Sun box layout how to). If this problem is easy to solve, please excuse my question, but I couldn't find it in the forum.
    OK, here is an SSCCE:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.ettex.componentresizetest;
    import java.awt.ComponentOrientation;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    * @author Jan Wedel
    public class ComponentResizeTest extends JFrame{
         static ComponentResizeTest frame;
         JPanel mainPanel;
         JPanel firstPanel;
         JPanel secondPanel;
         JPanel statusPanel;
         JButton firstButton;
         JButton secondButton;
         JTextField firstField;
         JTextField secondField;
         JLabel statusText;
         public ComponentResizeTest(String name) {
              super(name);
         public void addComponentsToPane() {
              Container pane = this.getContentPane();
              mainPanel = new JPanel();
              firstPanel = new JPanel();
              secondPanel = new JPanel();
              statusPanel = new JPanel();
              pane.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));
              firstField = new JTextField();
              secondField = new JTextField();
              statusText = new JLabel("Status Bar");
              firstField.setPreferredSize(new Dimension(500, 25));
              secondField.setPreferredSize(new Dimension(500, 25));
              secondButton = new JButton("A Button");
              firstButton = new JButton("Another Button");
              firstPanel.add(firstField);
              firstPanel.add(secondButton);
              firstPanel.setLayout(new BoxLayout(firstPanel, BoxLayout.X_AXIS));
              secondPanel.add(secondField);
              secondPanel.add(firstButton);
              secondPanel.setLayout(new BoxLayout(secondPanel, BoxLayout.X_AXIS));
              mainPanel.add(firstPanel);
              mainPanel.add(secondPanel);
              mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));
              statusPanel.add(statusText);
              FlowLayout tabLayout = new FlowLayout();
              tabLayout.setAlignment(FlowLayout.LEFT);
              firstPanel.setLayout(tabLayout);
              firstPanel.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
              secondPanel.setLayout(tabLayout);
              secondPanel.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
              statusPanel.setLayout(tabLayout);
              statusPanel.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
              pane.add(mainPanel);
              pane.add(statusPanel);
          * Create the GUI and show it.  For thread safety,
          * this method should be invoked from the
          * event dispatch thread.
         private static void createAndShowGUI() {
              //Create and set up the window.
              frame = new ComponentResizeTest("Component Resize Test");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              //Set up the content pane.
              frame.addComponentsToPane();
              /* Layout componets */
              frame.pack();
              /* Prevent vertical resize */
              Dimension cur = frame.getSize();
              Dimension max = frame.getMaximumSize();
              frame.setMinimumSize(new Dimension(cur.width, cur.height));
              frame.setMaximumSize(new Dimension(max.width, cur.height));
              frame.invalidate();
              /* show frame */
              frame.setVisible(true);
          * @param args the command line arguments
         public static void main(String[] args) {
              //Schedule a job for the event dispatchi thread:
              //creating and showing this application's GUI.
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
    }Thanks, Jan
    Edited by: stelzbock on Nov 9, 2009 6:54 AM

    This is what I get using TableLayout:
    The maximum horizontal size of the text area is achieved by specifying the columns in the constructor,
    although I think it's bad since resizing smaller does reduce the text area. I would use FILL constraint for the text area column and remove the 'filler' column at the end.
    import info.clearthought.layout.TableLayout;
    import java.awt.EventQueue;
    import javax.swing.*;
    public class TestLayout {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    TableLayout layout = new TableLayout(new double[][] {
                            // columns
                            { TableLayout.PREFERRED, TableLayout.PREFERRED,
                               TableLayout.FILL },
                            // rows
                            { TableLayout.PREFERRED, TableLayout.FILL,
                              TableLayout.PREFERRED, TableLayout.FILL },
                    JPanel panel = new JPanel(layout);
                    panel.add(new JScrollPane(new JTextArea(3, 30)), "0,0,0,1");
                    panel.add(new JButton("One"), "1,0");
                    panel.add(new JScrollPane(new JTextArea(3, 30)), "0,2,0,3");
                    panel.add(new JButton("Two"), "1,2");
                    JFrame frame = new JFrame("Test");
                    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                    frame.getContentPane().add(panel);
                    frame.pack();
                    frame.setLocationRelativeTo(null);
                    frame.setVisible(true);
    }Ah, in your code you have text fields, not area and want to restrict vertical resize. Then I get this:
    TableLayout layout = new TableLayout(new double[][] {
                            // columns
                            { TableLayout.FILL, TableLayout.PREFERRED },
                            // rows
                            { TableLayout.PREFERRED, TableLayout.PREFERRED,
                                TableLayout.FILL, TableLayout.PREFERRED },
                    layout.setVGap(5);
                    layout.setHGap(5);
                    JPanel panel = new JPanel(layout);
                    panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
                    panel.add(new JTextField(30), "0,0");
                    panel.add(new JButton("One"), "1,0");
                    panel.add(new JTextField(30), "0,1");
                    panel.add(new JButton("Two"), "1,1");
                    panel.add(new JLabel("Status"), "0,3,1,3");Another more advanced layout to look at is MigLayout.
    Edited by: WalterLaan on Nov 9, 2009 8:23 AM

  • Resize partitions without erasing existing data

    I have one drive (internal), dual partition (OS X 10.5.2 and Vista) and I want to split the volume OS X 10.5.2 in two. I try this using Disk Utility, but one warning was showed: ..changing the partition map may make this disk unbootable using windows"
    Is it warning true? What do I expect to happen in case of resizing?
    If someone had have any related experience about that, I will appreciate Your advice.

    You can resize partitions without losing data but you won't be able to boot into Windows after that. That was a bad experience I had. My first bad experience was to repartition a dual-partition (Tiger+Windows) drive, ignoring the warning. Guess what? Lost everything and had to reinstall both OS.
    Mac OS X Extended (journalled) drives can be repartitioned without losing data using the "diskutil" command in the Terminal window. Type "diskutil" and you get a list of available commands.

  • Is it possible to link a resized picture without having it fit automatically to the original frame?

    I have two Adobe illustrator images that are very similar, the first is 5 inches wide the second to replace it is 3 inches. I would just place and scale the image in InDesign, but I had to change line weights and shapes because some proportions of the image would just be too small.
    When I relink the file it scales the image to fit the existing larger frame. Is there any way the relink file with keeping content of the new file at 100%. I know I can use the content grabber to see how much the content was scaled and fix it, but it is annoying step where you still have to select "fit frame to content afterwards". InDesign, as far as I can tell, gives no warnings to let you know that an image when relinked was  stretched to fit the frame.
    -Thanks

    It's in the application prefs, under File Handling. Check or uncheck the box to Preserve Image Dimensions When Relinking. When checked, the relinked image will be scaled to the same dimensions as the old version (possibly distorted). When unchecked, the new image will come in with the same scale factor as the original, which sounds to me like what you want in this case, but I'm not certain  (this is often true for .ai files where an edit is made that moves an element, affecting the art bounding box and you've cropped to art or bounding box rather than media).
    Sometimes, if what you want is a 100% zoom it's just easier to place the new image on the pasteboard and move it into position, deleting the old one.

  • In Design CS 6 crashing on resizing a text frame

    Some specifics:
    2 MACs networked via cable directly connecting the two.
    one MAC Pro 12GB RAM 10.6 OS
    one Imac 16GB RAM 10.8 OS (this replaced another MAC Pro that we were told had a bad RAM controller when we started experiencing this odd crashing)
    I have built a 10 page document that is part of a book. This document has been working fine until today. I saved the file yesterday and came back to it today to do some more work. Everything was going along as expected until I came to a particular text frame. Every time I try to resize or delete this text frame ID crashes. I've also noticed that if I add a text frame after (next page) the problematic text frame ID crashes. Recovery says it's recovering but the file crashes in the same way after the file is reopened. I can move all the other text frames around and do other things, but when I adjust that text frame ... crash.
    If I move the problem text frame off the page, onto the workspace I can do anything I want to the frame, but, if I move it back to the page where it came and adjust it ID crashes.
    This (mysterious corruption) has happened many times over the last year or two. Not always a text frame, deleting something, moving something, small things you wouldn't think would crash the app. I think the problems started with either 5 or 5.5 ... or possibly an OS update ... or both. We've used ID for five / six years now and this issue wasn't happening before 5 or 5.5.
    Exporting to IDML results in the same problem. (clarification: I can make the adjustments to the text frame in 5.5 to the IDML file. Saved back to an INDD file, open in 6, and the problem returns.)
    Resetting prefs doesn't change this behavior with the corrupt file.
    Problem file crashes ID on both computers.
    Thoughts? Questions?

    Is the 8.0.1 patch for ID installed?
    Have you tried Remove minor corruption by exporting?
    If that doesn't work (and I suspect it won't, but do try it), you mentioned you can move the frame to the pasteboard. Can you delete it from there? How about if you unlink it from the text thread (click the outport of the frame before it, then clikc inside that same frame to break the thread at that point). If you can delete the frame you should be able to add a new frame and relink if the frame iteslf is corrupt. If that doesn't work, try exporting the story to InDesign Tagged Text, then re-import it replacing what's there.

  • Resize JFrame without flickering

    When I try to resize my frame with the setSize() methode it starts
    flickering but if i resize with the mouse it works fine.
    Is there an other solution to resize a JFrame without flickering?
    import java.awt.*;
    import javax.swing.*;
    public class TestFrame extends JFrame  {
        JPanel panel = new JPanel();
        JButton button = new JButton("Resize");
        public TestFrame() {
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setSize(200,200);
            setLayout(new GridLayout());
            panel.setBackground(Color.red);
            button.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    setSize(getSize().width + 1, getSize().height + 1);
            this.add(button);
            this.add(panel);
        public static void main(String[] args) {
            TestFrame frame = new TestFrame();
            frame.setVisible(true);
    }

    frame.setUndecorated(true);and implement MouseListener and MouseMotionListener for resizing by mouse dragging on the edge

  • How to resize margins / text frames for a whole book?

    Hello, I am new to InDesign, but not Adobe software. I am trying to use InDesign to produce a book I have written for a university course I teach. I have 33 documents all together as an InDesign book. After I printed out some test pages I thought there should be more white space on all sides. I changed the margins by 5mm in the master page on the master document and then synced the book. Now the MARGINS have changed on all the documents, but the TEXT FRAMES remain unchanged. I know that I can change text frame sizes, by hand, but that would take forever. I can't find how I can automatically resize a whole book. Is this not possible?
    Craig

    Before synching, you need to enable layout adjustment in each document (Layout > Layout adjustment). Since you have 33 documents, you might want to run this little script to do it for you:
    for (i = 0; i < app.documents.length; i++)
    app.documents[i].layoutAdjustmentPreferences.enableLayoutAdjustment = true;
    Open all the documents where Layout adjustment should be enabled and run the script.
    Peter

  • Can't resize Photoshop application frame

    I have iMac OS X 10.6.8 and have been running Photoshop CS5 for two years. Recently the photoshop application frame extended below the bottom of my screen so I can't grab the lower corner and manually resize it. Also, I can't change the screen mode in the drop down menu. I think messed up the settings when I resized the type on different applications as a test for a friend of mine. Is there a way to reset the display in both photoshop and in the apple drop down menu that will enable the photoshop application frame to fit back on the screen?

    Try hitting the "Green Dot" up in the top left of the Application Frame window. Then hitting it again.
    Likewise, you can try turning off the application frame feature and turning it back on under the "Window" menu.

  • Resize jdialog without flicker effect

    I made a vertical tool palette with a JDialog : I have "setcontentpane" a JPanel with vertical boxlayout.
    This JPanel contains other JPanels (class PaletteZone extends JPanel) that act like tool zones : they can be collapse or expand. If you want to have look of what i'm talking about, there is an image here of the palette :
    http://db-maths.nuxit.net/im1.png
    Here is my problem... I have a PaletteZone method used to collapse the tool zone :
    public void collapse(){
            ContentVisible=false;
            ZoneTitle.title.setIcon(rightTriangle);
    // component 0 is the zone title bar, component 1 an icon set (within a JPanel) :
            this.remove(1);
            JP.validate();
    }******* 1) When I use JP.validate, there is no flickering at all and the zone collapse nicely. BUT the JDialog isn't set to the good size. If you want to have a look on what you get when you clic on "Construction" :
    http://db-maths.nuxit.net/im2.png
    ******* 2) If I use JP.pack(), of course the dialog is correctly resized and redrawn. BUT there is a flickering effect : I've made some tries on JFrames and JDialogs and I saw that a pack() call clear immediatly the background and then send a paint call : this "clear/paint" sequence makes a bad flickering effect. I have a quite recent computer (G5 and OS X), and I use java 1.4.2 so I don't think the fact that I see this flicker is caused by hardware or software...
    ******* 3) If I use JP.setSize(), things behave exactly like if I do a pack() call...
    Do you know what I could do to avoid this flicker ? to set the size to the JDialog without this "clear/paint" sequence ?

    you will have to create a jpanel and place this in the dialog's NORTH.
    add a mouseListener to the panel and provide your own moving-handling.
    this.setLocation((int) (this.getX() + e.getX() - m_iOffset.getX()) ...
    this.repaint();you'll have to set m_iOffset wehen mousePressend, and call the moving method when mouseDragged.

Maybe you are looking for

  • Mini DisplayPort to HDMI Adapter... no audio

    i just purchased a Mini DisplayPort to HDMI Adapter for my MacBook Pro 2012 and have connected to my TV. I have video, but no audio. Does anyone know how to get the audio to work?

  • What's wrong with AdfPage.PAGE.findComonent?

    Hi, In this page I can't find the inputtext with the AdfPage.PAGE.findComonent and I don't know why, anybody see something wrong? If I try to find the component with document.getElementById works ok but I don't want to put ::content to find a compone

  • STO - Delivery Qty

    Hi In STO process, when i do Delivery w.r.t PO (VL10b), i want the system to pick up complete PO Quantity. But now it is only picking up the quantity (partial qty.), as much as available stock. In my STO PO, under Delivery tab, i have given 'A' again

  • How to extend same material into different plants?

    Hi all, how to extend the same material into different plants anybody please tell me. thanks s.muthu

  • Using cFP-AI-110 to measure rpm:capacitance in the card?

    I am attempting to measure the rpm of a number of different augers. The augers have a magnet on them that closes a magnetic switch when the magnet passes the switch. I have built a circuit with a very small amount of power traveling through a resisto