[JS IDCS5] Proportionally resize Tables

Hey,.

When I use:

myTable.width = "200mm"; 

table sizes to 200mm wide, but resets all the column for the same widths including widths.

How to resize a table so keep the proportional width columns hers?

Best regards, Sjoerd

Strange, somehow it happened to me that this could 've/should 've/would have worked! I'm even sure that I used, in the past. But I can't make it work on my CS4 is!

You will have to use this workaround:

myTable = app.selection[0].parent;
factor = 115/myTable.width;
for (col=0; col

(Edit: you need to replace the "115" in ln 2 the width of your own objective, of course)

Tags: InDesign

Similar Questions

  • Re proportionally resizing of images

    On my web pages I often show pictures of products and to keep the clean appearance, I often type in a width of each image and make all the same. In Golive, you could simply tell the other dimension is proportional. In DW I don't see an option for this. I know that I can < shift > drag size to proportionally resize them but I want to be able to simply type in a dimension. If I enter the width the height remains the same and I do the match (not fun) to determine the size to type to make it proportional again.

    Am I missing a setting or a function somewhere that allows for proportional scaling using the type of box?

    Thank you!

    You need to remove the 130.

    But see your code, please.

  • Proportional resizing

    I'm doing a proportional resizing of an image. I know that the original size of the image (which vary from image to image) and then I know its height in pixels. How do I scale it down to adjust the height again while keeping in proportion? There is a simple equation to do this?

    Once loading is completed (in an empty movieclip), you can access its size original (so that should not be hard-coded).  and when the loading is complete, you can assign your resizing:

    target.aspectRatio = target._width/target._height;

    Target._height = newHeight;

    Target._width = target.aspectRatio * target._height;

  • Automatically resize Tables

    I'm tired of always having to resize my window to get tables to resize. A small example

    If I do a table 2 x 2, put a dozen back in a cell, the table expands to reflect this large cell is filled back. Now, if I select and remove all these returns, the table will remain large. To get it to resize, I can resize my window at the bottom right. Or, I can use the clear column height and width buttons to take the new kid.

    What I really want time real table resizes. I am certain that in earlier versions, there was a preference that says 'automatically resize tables. I can't find it. Y at - it a shortcut keyboard, or automatically to get there?

    I use DW 8 on a mac.

    brand

    > If I make a table 2 x 2, put a dozen back in a cell, the table expands
    > to
    > reflect this large cell is filled back. Now, if I select and delete all these
    > returns, the table will remain large. To get it to resize, I can resize my
    > window
    > bottom right. Or, I can use the height and width of clear column
    > keys in order to
    > Get it new.

    To update cell of table in Design view rendering, just click in one
    adjacent table cell or table, or another part of the page.

    Or press F5.

    > I really want time real table resizes. I am sure in past
    > versions,.
    > There was a preference that says 'automatically resize tables. I can't
    > find
    > this. Y at - it a shortcut keyboard, or automatically to get there?

    Used to be called faster preference editing Table (postponed the update)
    which you can untick to get an update in real time.

    They have now compromised by not offering is not an update in real time of the table cell
    (too memory intensive, as I understand it) that you are editing, but he is going to update
    Once you click anywhere on the page outside this (even just by clicking on a cell
    an adjacent cell) or manually refresh (F5).

    --
    Concerning

    John Waller

  • Loss of data when resizing table 2D

    I data collection and insert in a table I did great I know will be used.  I then resize the table using SetArrayBounds, because I now know the number of iterations that have been executed.  I find myself with an array of correct size, but the data consist of the first line with only the first column is missing.  All other elements are 0 (matrix of numbers).  Any idea what's going on?

    I wanted to start with an empty array, resize to any line and the number of columns before you start the iterations, then add a line at the beginning of each iteration.  I was shot on this, but it seems that it works better.

    Kelly Bersch

    Hi Kelly,

    Could you show us the code you used to implement? Specifically, the resizing of the table? http://forums.NI.com/T5/NI-TestStand/what-is-the-syntax-for-SetArrayBounds-for-a-multi-dimensional/t... This thread shows the correct syntax for the command and its implementation.

    If I understand correctly that you slowly fill this table which has been initialized to 100 x 100. The first thing we should do is to initialize the array to 100xthe number of columns if at least we can stop worrying about the columns since you already know how many settings you are testing. Then at the end of the sequence, you can resize the lines using the above command.

  • Resizing tables

    Hello!

    Im working in a sensitive site for a conference and Im having problem of resizing a table inside one of my html pages. I'm not an expert in DW or web development but Im a little more each day, I tried to solve the problem but I didn't how = (...

    Is the Web site: http://www.plea2016.org and the html page is named tournee.html (depending on the option of meeting place). I hope someone can give some tips.

    Thank you very much

    Maria

    Add a selector for the images you want to target as in

    class = "reactive" src = "images/Mayne1.jpg" alt ="Caltrans District 7" > ""

    and to add a rule

    IMG.responsive {}

    Width: 100%;

    }

  • Resizing table lift error


    Dear all,

    We use jdeveloper 11.1.1.4.0 and have a behavior strange table recognized in our application. Not on all pages, but on some, we have the following scenario:

    -adf table with toolbar + the edit button

    -selection of a line and pressing the edit button-> works very well

    -RESIZE a column and pressing the button edit-> exception.

    does anyone have a tip?

    < 4 March 2014 13:46:54 THIS > < opinion > < Stdout > < BEA-000000 > < < 4 March 2014 13:46:54 THIS > < error > < oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator > < BEA-000000 > < ADF_FACES - 60096:Server Exception during the PPR, #59

    java.lang.IllegalArgumentException: t1

    at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:615)

    at org.apache.myfaces.trinidad.change.SessionChangeManager._applyComponentChanges(SessionChangeManager.java:386)

    at org.apache.myfaces.trinidad.change.SessionChangeManager.applyComponentChangesForCurrentView(SessionChangeManager.java:73)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.buildView (ViewDeclarationLanguageFactoryImpl.java:343)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:990)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    and

    < 4 March 2014 13:49:34 THIS > < opinion > < Stdout > < BEA-000000 > < < 4 March 2014 13:49:34 THIS > < WARNING > < oracle.adf.view.rich.component.fragment.UIXRegion > < ADF_FACES-00009 > < error treatment viewId: / manage URI: /TaskFlows/manage/edit.jsff real-URI: TaskFlows/manage/overview.jsff.

    javax.el.PropertyNotFoundException: inaccessible target identifier 'vs' resolved to null

    at com.sun.el.parser.AstValue.getTarget(AstValue.java:84)

    at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:149)

    at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:248)

    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)

    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer._hasPopupChooser(SimpleInputDateRenderer.java:862)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer._setupPopupChooser(SimpleInputDateRenderer.java:1394)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.decodeInternal(SimpleInputDateRenderer.java:75)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)

    at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)

    at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:292)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1334)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:865)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:965)

    at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper.processDecodes (BaseColumnRenderer.java:2162)

    at org.apache.myfaces.trinidad.component.UIXCollection.processComponent(UIXCollection.java:1087)

    to org.apache.myfaces.trinidad.component.TableUtils$ 1.process(TableUtils.java:238)

    at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)

    at org.apache.myfaces.trinidad.component.TableUtils.processFacets(TableUtils.java:232)

    to org.apache.myfaces.trinidad.component.TableUtils$ 2.process(TableUtils.java:261)

    at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)

    After some research deep I found the error, the following edit.jsff contains a component named as t1 but wasn't an array element. I changed the ID of the element to something else and the error has been corrected. Seems to be a bug of the ADF (or at least some sort of bug that has appeared since our last migration)

  • Problem with resizing table InDesign CS5

    I have problems with resizing of tables in InDesign CS5.

    The width can be entered and a decrease, but the right height do move up nor down when you pull in the lower right corner or anywhere else on the base of the columns.

    Does anyone else have this problem?

    Is it a bug or maybe just me not understanding things correctly in the help...?

    Any contribution is appreciated if you knock out. :-)

    Document corruption is sometimes disabled by exporting for Exchange. See remove minor corruption by exporting

  • Resizing tables "dynamically".

    Hello

    I have a test taken that step of an array of containers.

    Suppose I have an array passed to me as a sequence of local variable:

    Locals.NumericalMappings

    And let's say that I have create an empty array.

    If I want to create a 1 d table tell the size of 3 elements

    I came up with a way to do it in an expression:

    Locals.NumericalMappings.GetPropertyObject("",0). Type.ArrayDimensions.SetBoundsByStrings("[0]","[2]")

    Is there a more elegant way?

    Maciej

    I guess you wrote this form the top of your head, as the signature of the method, I found SetNumElements (digital, digital).

    The actuall call is:

    Locals.NumericalMappings.SetNumElements (3.1)

    And me where I wanted thansks for poinitng me in the right direction!

    See you soon,.

    Mac

  • Resize tables

    I have a document, intended to be html

    use of e-mail. I have (two cells big) side-by-side and in each of those cells, independent tables. I have all the dimensions determined by 100% or specific values. Unfortunately, they continue to shiftin their widths.

    http://168.143.6.114/HTML-email/InfoLink-Test5.html

    Can someone help me find the cause of this?

    Thank you

    Rob

    100% = width of the screen (liquid)

    Use fixed widths, not over on 500px for HTML e-mail messages.

    On the Tables that explosions

    http://apptools.com/rants/spans.php

    Management of arrays of length sets with shims (spacer.gifs)

    http://www.DWfaq.com/tutorials/tables/managing_tables.asp

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Proportionally resize paths is not proportional

    Hi all

    I'm designing a logo for the moment. I created all the letters of my logo by myself, by joining forms using the path finder etc. The version I created is quite important in terms of scale.

    Issues lies with the what I resize the logo to a smaller size and zoom in on it, I see that the paths are distorted. The distortion seems to happen to every letter of my logo. I've went and cleaned the paths, removed some useless anchor points to make it better, but it always seems to be a big problem.

    Does anyone have directions on how to solve this problem, instead of having to recreate the logo on a smaller scale?

    I'm in Illustrator CS5 Windows 7 64 bit with all updates more recent adobe.

    Thank you

    GD,

    It seems that you might have to align on the pixel grid is TICKING; If so, you can uncheck in the transformation Panel.

  • Images in the tables not resizing using reagents HTML5

    With the help of RH11.9.4.291

    I do a few exits Responsive HTML5 test results for Desktop/Tablet/phone by resizing the browser window and I noticed that;

    • Images resizing correct (yay!)
    • Correct resizing tables (also yay!)
    • Images in the tables don't resize at all (boo to that!)

    Any ideas?

    I solved in fact just that, both for reasons of post the solution...

    The culprit was the underlying html language associated with text in italics in the table. On the surface, the text went well. But in the HTML code, it looked like this:

    "font style: =" ' italic;' = ""

    I have no idea how it happened, or why only preventing image resizing, but cleaning, upward, solved the problem.

  • text and tables move when the browser is resized

    Hello

    IM fairly new to using dreamweaver, but im having this problem because I use photoshop as sort of my background (before saving for the web - where it converts to HTML) before you create layers on dreamweaver to enter text.

    Here is the problem im seen, when I resize the browser (firefox or IE), the text is moved along horizontally instead of being "fixed" in the background.

    Ive attached some screenshots for you guys to understand what im say better.

    (1) the gif file called "enlarged browser" shows how the site looks like when brower is enlarged,

    (2) gif file titled "resized browser" shows how the site looks like after that I have resize the browser. (same thing for IE and Firefox).

    Please let me know what im doing wrong. Greatly appreciated, thanks in advance!

    -Andrew

    What you're doing wrong is unable to understand how to work the "layers". Older versions of Dreamweaver call a layer is a div absolute positioning of elements that are positioned in absolute terms are removed from the normal flow of the web page and placed in the window of the browser in determined points. Everything that is not in a 'sex' is still fluid. So what you see is your resizing tables being reorganized as the size of the browser window is changed, the "layers" are still at their fixed location. Although it seems that the 'layer' is moving, it's the other way around. Everything else is moving, but the layer remains in place.

    Read about the issues of working with absolute positioning here: http://apptools.com/examples/pagelayout101.php.

  • Linked excel tables in InDesign CS5 update problems and keep the formatting: need help

    I've been using excel to place several tables in my InDesign CS5 document which will require the update on a regular basis. The tables are already formatted in excel, so I will place in InDesign with formatting and you will usually have to reduce proportionally the tables as soon as they are in InDesign CS5. When I'll update the links, it is important the content of the tables as part of current text with larger text and I am unable to "Insert the picture content" or "shrink content proportionally." Nobody knows how to solve this problem or know of another way to link excel with formatting tables and update without having to reformat the table (i.e. to resize the image and text) every time that happens an update? Thank you!!

    Can't do it, sorry. Tables only.

    Bob

  • I try to get the average of every 10 points at my table...

    I have a table of data and wish to get an output of the average of every 10 points. For example, the average of the points from 1 to 10, then the average points 11-20, then 21-30, etc.

    The challenge is that I don't know in advance how many points the sensor will collect executed because it depends on some external factors. I've attached a picture with some data made to illustrate what looks like at my table. In the example I tied, would be medium-sized (11 + 34 + 125 + 77 + 44 + 232 + 25 + 213 + 22 + 89) / 10 and (90 + 45 + 77 + 26 + 1 + 22 + 57 + 67 + 360 + 33) / 10.

    My first attempt used a structure case which found an average running and then reset whenever a multiple of 10 has been reached. However, this method is not very effective. Does anyone have ideas better?

    JarleEkanger wrote:

    How about this? Subset of the Delete table to retrieve pieces for an average and a registry change to keep the table remaining.

    It is generally not advisable to use 'delete from table' in a tight loop. Constant memory due to resizing table reallocations are probably ineffective.

    Here is a simple way to do...

    (If the number of points is not divisible by 10, the tail in excess is eliminated. You can easily change this behavior if you want.)

Maybe you are looking for

  • How can I return to the DUTCH language?

    A few months ago, I have an English version to download...I worked with her, but rather as the DUTCH version again.Now, today, I search and came up with your proposal but and the language pack has not helped me and the Language_tool is not what I wan

  • Cost of IPad IPhone charger but not IPad charger

    Hello I have a mini IPad 2 with retina display and a 6 IPhone, suddenly, my IPad not charging charger, but it can normally charge using the charger for the IPhone - which normally takes much longer to load - however when I try to charge my IPhone usi

  • problem with Fallout 3 d3dx9_38.dll

    Hello, I have a problem when you try to run Fallout 3. It is said that the d3dx9_38.dll file is not found and please locate or reinstall the application. I looked on the forum and found a similar problem, and I followed the steps prescribed without r

  • indexOf problems

    In my code, I upload a HTML file, convert to an array of bytes to a string using: String s1 = new String(byteArray); When I view s1, it seems to be an exact replica of the HTML file. When I use indexOf on s1, any search string I use,-1 is returned (e

  • Hi sarah I just can't find the arcsoft webcam companion in my e series sony vaio vpceg38fn model

    Hi, I'm on a win os 7 in sony vaio VPCEG38FN after some problem, I recover the operating system and I install win 7 ultimate but the Visual communication driver sony work fine but cannot open the webcam