Cs4 problem with link text changing size when clicked

designing in cs4, the actual text of my text links become huge for a split second when clicked, and then they go back to normal size.  I don't know what is causing this.  I don't want them to change when clicked.  Any ideas?  thanks in advance.

John,
If you need all the CSS code, I will attach it below:
@charset "utf-8";
body  {
    text-align: left; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    background-color: #333;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14pt;
.twoColFixLtHdr #container {
    width: 950px; /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
    background-color: #E0D2A3;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding-top: 0px;
    height: auto;
.twoColFixLtHdr #header {
    padding: 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    background-color: #000;
    border: 5px ridge #333;
    margin: 10px;
    background-image: url(../website%20stuff/stepping%20on%20constitution--crop%20text.jpg);
    text-align: left;
.twoColFixLtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    font-size: 18pt;
    color: #FFF;
.twoColFixLtHdr #sidebar1 {
    float: left; /* since this element is floated, a width must be given */
    width: 200px; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 10px;
    background-color: #E0D2A3;
    margin-left: 20px;
    text-decoration: none;
    color: #000;
    font-style: normal;
    font-size: 16px;
.twoColFixLtHdr #mainContent {
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 250px;
    padding-top: 0;
    padding-right: 20px;
    padding-bottom: 0;
    padding-left: 20px;
    text-align: left;
    font-size: 14px;
.twoColFixLtHdr #footer {
    padding: 0 10px 0 20px;
    text-decoration: none;
    background-color: #E0D2A3;
.twoColFixLtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    margin-left: 8px;
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
    height:auto;
    font-size: 16px;
    line-height: normal;
    text-decoration: none;
    font-style: normal;
    text-align: center;
    color: #00F;
.mainarea {
    background-color: #FFF;
    border: 5px ridge #333;
    font-size: 14pt;
.twoColFixLtHdr #container #footer {
    font-size: 14px;
    color: #000;
.twoColFixLtHdr #container #header table {
    text-align: center;
.twoColFixLtHdr #container #footer .clearfloat table {
    font-size: 14px;
    font-weight: bold;
    color: #F00;
.twoColFixLtHdr #container #footer .clearfloat {
.twoColFixLtHdr #container #header table tr td {
    font-size: 24pt;
    font-style: normal;
    font-variant: normal;
    font-weight: bolder;
    color: #000;
    background-image: url(Images/stepping%20on%20constitution--crop%20text.jpg);
no link underline {
    text-decoration: none;
.twoColFixLtHdr #container p {
    font-size: 14px;
    font-style: normal;
    color: #000;
small text {
    font-size: 10px;
.twoColFixLtHdr #container #header table {
    font-size: 16pt;
.twoColFixLtHdr #container #header table {
    font-size: 16pt;
.twoColFixLtHdr #container #header table tr td h2 {
    font-size: 22pt;
    color: #000;
.twoColFixLtHdr #container #mainContent .twoColFixLtHdr {
    text-align: left;
    font-size: 14px;
.twoColFixLtHdr #container #mainContent .twoColFixLtHdr h2 {
    color: #009;
    font-style: normal;
    text-align: left;
.twoColFixLtHdr #container #mainContent .mainarea table tr td strong {
    font-style: normal;
.twoColFixLtHdr #container #mainContent .mainarea table tr td p {
    font-style: normal;
    font-weight: normal;
.twoColFixLtHdr #container #sidebar1 {
    color: #00F;
.twoColFixLtHdr #container #mainContent .twoColFixLtHdr h2 em {
    text-align: center;
.italics {
    font-style: italic;
.italics {
.font-color {
    color: #003;
.italics {
    font-style: italic;
.twoColFixLtHdr #container #mainContent .mainarea table tr .twoColFixLtHdr .blue a {
    color: #009;
.twoColFixLtHdr #container #mainContent .mainarea table tr td .link-font-color {
    color: #00C;
.align-center {
    text-align: center;
.twoColFixLtHdr #container #mainContent .mainarea table tr .align-center {
    text-align: center;
.center-align {
    text-align: center;
Thanks,
Craig

Similar Messages

  • Links change size when clicked

    I have a site done in Dreamweaver CS5 that the links in the navbar change size when clicked.  The bar is set to 95% but the links look like they are abound 50% when the mouse button is pressed.  All references to the size of the links in the HTML and CSS Page Properties are set to 95%. None of the other links properties; a, a:visited, a:hover, a:active, a:link, a:focus change the size.
    I've looked for several hours for solutions.  Anybody got any ideas?  BTW, this is my first site in Dreamweaver.

    I don't see any change in font-size in Firefox 3.6 on Win.  But your code is a bit confusing.
    Change this:
    a {
        font-size: 95%;
    a {
        font-size: 95%;
    a:visited {
        text-decoration: none;
        color: #960;
    a:hover {
        color: #2A3FFF;
        text-decoration: none;
    a:link {
        text-decoration: none;
        color: #626262;
    a:active {
        text-decoration: none;
        color: #626262;
        font-size: 95%;
    To this:
    a {font-size: 95%; text-decoration: none}
    a:link {color: #626262;}
    a:visited {color: #960;}
    a:hover {color: #2A3FFF;}
    a:active, a:focus {color: #626262;}
    The order in which link styles are defined matters in some browsers.  LiVHA is an easy memory device for link, visited, hover, active.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Why do windows change size when clicked?

    I have created a PDF file with links and some windows change size when I click the link.

    What is the version of PDF viewer application, if you this is the issue with few links, please try to manually edit them. Here the link to refer : http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7cb3.w.h tml
    It would also be interesting to have a look at your file.
    Regards,
    Deepak

  • Problem with "links" text browser

    I cant access web applications especially servlet through "links" text browser. Can anybody knows more about "links"?. Initially I can able to see the index page of my webapps , but its throwing 'NullPointerException' after posting the request to the servlet. I dont know why I can't access through "links" what i can through normal browsers.
    Any answers would be appreciated
    Thanks

    Thank Balus,
    Sorry!
    I'm not using JS anywhere. I think the following error message might helpful to you.
    I couldnt trace out anything from this, Can you please try your best?
    java.lang.NullPointerException
    at org.apache.jsp.view.index_jsp._jspService(index_jsp.java:110)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
    at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
    at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:171)
    at org.mortbay.jetty.servlet.Default.handleGet(Default.java:302)
    at org.mortbay.jetty.servlet.Default.service(Default.java:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
    at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)
    at org.mortbay.http.HttpServer.service(HttpServer.java:909)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

  • Problems with increasing/decreasing cache size when live

    Hello,
    I have configured multiple environments which I'm compacting sequentially and to achieve this I allocate a bigger cache to the env currently being compacted as follows:
    Initialization:
    DB_ENV->set_cachesize(gbytes, bytes, 1); // Initial cache size.
    DB_ENV->set_cache_max(gbytes, bytes); // Maximum size.
    While live, application decreases cache of current env when finished and then increases cache of next env using:
    DB_ENV->set_cachesize(gbytes, obytes, 0); // Decrease cache size of current env to initial size
    DB_ENV->set_cachesize(gbytes, obytes, 0); // Increase cache size of next env to max size.
    When I print statistics about the memory pool using DB_ENV->memp_stat I can see that everyting is going normally:
    memp_stat: env1 ncache= 8 cache_size=20973592 // env1 is current env
    memp_stat: env2 ncache= 1 cache_size=20973592
    and then after changing current env:
    memp_stat: env1 ncache= 1 cache_size=20973592
    memp_stat: env2 ncache= 8 cache_size=20973592 // env2 is now current env
    But the problem is that over time memory is leaked (as if the extra memory of each env was not freed) and I'm totally sure that the problem comes from this code.
    I'm running Berkeley DB 4.7.25 on FreeBSD.
    Maybe some leak was fixed in newer versions and you could suggest to me a patch? or I don't use the API correctly?
    Thanks!
    Edited by: 894962 on Jan 23, 2012 6:40 AM

    Hi,
    Thanks for providing the information.
    Unfortunately, I don't remember exact test case I was doing, so I did a new one with 32 env.
    I set the following for each env:
    - Initial cache=512MB/32
    - Max=1GB
    Before open, I do:
    DBEnvironment->set_cachesize((u_int32_t)0, (u_int32_t)512*1024*1024/32, 1);
    DBEnvironment->set_cache_max(1*1024*1024*1024, 0);
    DBEnvironment->get_cache_max(&gbytes, &obytes); // gives gbytes=1 and obytes=0
    After open, I have the following:
    DBEnvironment->get_cache_max(&gbytes, &obytes); // gives gbytes=0 and obytes=9502720
    memp_stat: cache_size=18644992 cache_ncache=1
    So here, the values returned by memp_stat are normal but get_cache_max is strange. Then after increasing the cache to the strange value returned by get_cache_max (gbytes=0, obytes=9502720), I have the following:
    DBEnvironment->get_cache_max(&gbytes, &obytes); // gives gbytes=0 and obytes=9502720
    memp_stat: outlinks cache_size=27328512 cache_ncache=54
    with cache_size being: ((ui64)sp->st_gbytes * GIGA + sp->st_bytes);.
    So cache is actually increased...
    I try to reproduce this case by opening 1 env as follows.
    //Before open
    DbEnv->set_cachesize(); 512MB, 1 cache
    DbEnv->set_cache_max; 1GB
    //After open
    DbEnv->get_cachesize; 512MB, 1cache
    DbEnv->get_caceh_max; 1GB
    memp_stat: cache:512MB, ncache:1, cache_max:1GB
    //Decrease the cache size
    DbEnv->set_cachesize(); 9MB(9502720B), 1 cache
    DbEnv->get_cachesize; 512MB, 1cache
    DbEnv->get_caceh_max; 1GB
    memp_stat: cache:512MB, ncache:1, cache_max:1GB
    All the result is expected. Since when resizing the cache after DbEnv is open, it is rounded to the nearest multiple of the region size. Region size means the size of each region specified initially. Please refer to BDB doc: [http://docs.oracle.com/cd/E17076_02/html/api_reference/C/envset_cachesize.html|http://docs.oracle.com/cd/E17076_02/html/api_reference/C/envset_cachesize.html]. Here region size is 512MB/1cache = 512MB. And I don't think you can resize the cache smaller than 1 region.
    Since you are opening 32 env at the same time with 512MB cache and 1GB maximum for each, when the env is open, whether it can allocate as much as that specified for the cache, is dependent on the system. I am guess the number 9502720 got from get_cache_max after opening the env is probably based on the system and app request, the cache size you can get when opening the env.
    And for the case listed in the beginning of the post
    While live, application decreases cache of current env when finished and then increases cache of next env using:
    DB_ENV->set_cachesize(gbytes, obytes, 0); // Decrease cache size of current env to initial size
    DB_ENV->set_cachesize(gbytes, obytes, 0); // Increase cache size of next env to max size.
    When I print statistics about the memory pool using DB_ENV->memp_stat I can see that everyting is going normally:
    memp_stat: env1 ncache= 8 cache_size=20973592 // env1 is current env
    memp_stat: env2 ncache= 1 cache_size=20973592
    and then after changing current env:
    memp_stat: env1 ncache= 1 cache_size=20973592
    memp_stat: env2 ncache= 8 cache_size=20973592 // env2 is now current envWhen env1 is finishing soon, what numbers do you set in set_cachesize to decrease the cache, including the number of caches and cache size?
    When decreasing the cache, I do:
    env->GetDbEnv()->set_cachesize((u_int32_t)0, (u_int32_t)20973592, 0);
    I mean, in all cases I simply set cachesize to its original value (obtained after open through get_cachesize) when decreasing and set cachesize to its max value when increasing (obtained though get_cache_max; plus I do something like cacheMaxSize * 0.75 if < 500MB).I can reproduce this case. And I think the result is expected. When using DBEnv->set_cachesize() to resize the cache after env is opened, the ncache para is ignored. Please refer to BDB doc here: [http://docs.oracle.com/cd/E17076_02/html/api_reference/C/envset_cachesize.html|http://docs.oracle.com/cd/E17076_02/html/api_reference/C/envset_cachesize.html] . Hence I don't think you can decrease the cache size by setting the number of cache to 0.
    Hope it helps.

  • Problem with openning a new window when click news tiltle link

    After create a news item using News form created by XML form builder, i try to click title link, It always opens a new window, what i want is keep it in same window when i click the title link, not open a new one. Is there anyone know how to do that? thanks

    Hi,
       I think its not possible in case of XML Form Builder. Bcoz,
    <b>Edit Form</b>:it is for authoring like creating News
    <b>Render list Form</b>:It is for Publishing the News
    <b>Show Form</b>:It is for showing the whole content of the News
    In XML Form Builder, by default when you create a new form these forms ie. Edit Form (You will design the Form here, only authorised person or the owner only view this).
    The Second Form(Render List Item) is the one will be shown to everyone with brief information.
    The Third Form(Show Form) is the one when you click on the News page, it will show you one more screen, there you can see the detailed description about the News.
    So, when you click on the Rendered List Item Title, it will open only in the separate window.
    Regards,
    Venkatesh. K

  • JPanel, GridbagLayout - change size when click event

    Hello
    i have a problem. I using a JPanel with different components, which are ordered with a gridbag layout.
    So, when i click on the panel the size the textarea change the size.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.Border;
    public class FileTypesTab extends JPanel {
    Constants_SIZE SIZE = new Constants_SIZE();
    Constants_DE TEXT = new Constants_DE();
    JPanel jFileTypePanelCenter = new JPanel();
    JButton jFileTypeButtonAdd = new JButton(TEXT.BUTTON_ADD);
    JButton jFileTypeButtonChange = new JButton(TEXT.BUTTON_CHANGE);
    JButton jFileTypeButtonRemove = new JButton(TEXT.BUTTON_REMOVE);
    JScrollPane jScrollPane1 = new JScrollPane();
    JScrollPane jScrollPane2 = new JScrollPane();
    JTextArea jFileTypesText = new JTextArea(TEXT.DESC_FILE_TYPES_TEXT);
    DefaultListModel listModel = new DefaultListModel();
    JList jFileTypes = new JList(listModel);
    BorderLayout bl1 = new BorderLayout();
    GridBagLayout gbl = new GridBagLayout();
    public FileTypesTab() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    this.setRequestFocusEnabled(false);
    this.setLayout(bl1);
    jFileTypeButtonAdd.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jFileTypeButtonAdd_actionPerformed(e);
    jFileTypeButtonRemove.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jFileTypeButtonRemove_actionPerformed(e);
    jFileTypes.setAutoscrolls(false);
    this.add(jFileTypePanelCenter, BorderLayout.CENTER);
    //Layout setzen und Komponenten hinzuf�gen
    jFileTypePanelCenter.setLayout(gbl);
    jFileTypePanelCenter.setBorder(BorderFactory.createEtchedBorder());
    // FileType Text initialisieren und hinzuf�gen
    jFileTypesText.setLineWrap(true);
    jFileTypesText.setEditable(false);
    jFileTypesText.setCaretPosition(0);
    jFileTypesText.setBackground(Color.lightGray);
    jFileTypePanelCenter.add(jScrollPane1, new GridBagConstraints(0, 0, 1, 4, 1.0, 1.0
    ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0));
    jScrollPane1.setRequestFocusEnabled(false);
    jScrollPane1.getViewport().add(jFileTypesText, null);
    // FileType Liste initialisieren und hinzuf�gen
    jScrollPane2.setVerticalScrollBarPolicy(jScrollPane2.VERTICAL_SCROLLBAR_ALWAYS);
    jScrollPane2.setHorizontalScrollBarPolicy(jScrollPane2.HORIZONTAL_SCROLLBAR_ALWAYS);
    jFileTypes.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    jFileTypes.setVisibleRowCount(15);
    jScrollPane2.setPreferredSize( new Dimension(
    SIZE.FILETYPE_LIST_WEIGHT,SIZE.FILETYPE_LIST_HEIGHT));
    jFileTypePanelCenter.add(jScrollPane2, new GridBagConstraints(1, 0, 1, 4, 1.0, 1.0
    ,GridBagConstraints.NORTH, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0));
    jScrollPane2.getViewport().add(jFileTypes, null);
    // Buttons Add,Change,Remove hinzuf�gen
    jFileTypePanelCenter.add(jFileTypeButtonAdd, new GridBagConstraints(2, 0, 1, 1, 1.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0));
    jFileTypePanelCenter.add(jFileTypeButtonChange, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0));
    jFileTypePanelCenter.add(jFileTypeButtonRemove, new GridBagConstraints(2, 2, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0));
    void jFileTypeButtonAdd_actionPerformed(ActionEvent e) {
    for(int i=0; i < 15; i++) {
    listModel.addElement("Element" + i);
    jFileTypes.validate();
    jFileTypes.repaint();
    void jFileTypeButtonRemove_actionPerformed(ActionEvent e) {
    listModel.removeElementAt(jFileTypes.getSelectedIndex());
    THX Tom

    Do one thing
    set minimumSize and maximum size of the component as your preferred size of the component.
    component.setMaximumSize(100,20);
    component.setMinimumSize(100,20);
    component.setPreferredSize(100,20);
    Also set fill to NONE.
    constraintsb .fill = java.awt.GridBagConstraints.NONE;
    This will solve your problem

  • Change window size when clicking link?

    I recently converted a WinHelp project in RH5 that used
    secondary windows and I'm trying to stick with one window in
    HTMLHelp (and still learning a bit).
    In some parts of our app, pressing F1 opens a small window
    (not a popup) with a short description of a feature. There's a link
    at the bottom of the topic that will open a longer overview
    description. When clicking the link, I'd like to use the same
    window, but resize (make it wider) it to accomodate the bigger
    topic. In other words, I want the window to be narrow initially (so
    I don't cover the app) but change size when the link is clicked, so
    I can show the longer text without scrolling multiple pages.
    Do you folks do anything like this?
    Thanks in advance for any help,
    - Tom

    Tom -
    You could always use the ResizeTo function in your larger
    topic, something like this:
    <body onLoad="window.resizeTo(400, 500);">
    Or, something like that....

  • Problem with this new version is when i open firefox something change my home page to mozila defalut page and in the new tab open mozila firefox first run page.Sorry for my bad English

    Problem with this new version is when i open firefox something change my home page to mozila defalut page and in the new tab open mozila firefox first run page.Sorry for my bad English

    Sounds like this issue:
    * http://kb.mozillazine.org/Preferences_not_saved
    * [[Preferences are not saved]]

  • Problems with email account on ipad2 when changing from mobileme to icloud

    Problems with email account on ipad2 when changing from mobileme to icloud

    Would you please give us some more information about your problems.

  • I'm having an unusual problem with my iphone 4S. When I'm making a call, it suddenly sounds like my call has been invaded by aliens! Why is it doing this? I'm also having problems sending texts. Sometimes it sends sometimes it doesn't.

    I'm having an unusual problem with my iphone 4S. When I'm making a call, it suddenly sounds like my call has been invaded by aliens! Why is it doing this? I'm also having problems sending texts. Sometimes it sends sometimes it doesn't. What is going on? Can it be fixed? I'm really not liking this new phone!!!!

    Could be an issue with your Carrier and/or location...
    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore from Backup...  Restore as New...
    Try a Reset...
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release the buttons...
    http://support.apple.com/kb/ht1430

  • Problem with append += text in Text Field

    Hi guys
    i have a problem with append text.
    I have one array which contain some city names, like CityArea=["NAME 1", "NAME2" ...etc];
    Then i have one String and one Text Field.
    Using for loop im getting right results. But when im running script again then im getting  same text again.
    F.ex.
    First time:
    City name: Name 1
    City name: Name 2
    Second time:
    City name: Name 1
    City name: Name 2
    City name: Name 1
    City name: Name 2
    I have tried to make TextField to and String to Null and delete it, but it's appearing again.. :/
    How to avoid this?
    Here is script:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    _CityAreaTF1 = new TextField();
      _CityAreaTF1.border = true;
      _CityAreaTF1.wordWrap = true;
      _CityAreaTF1.multiline = true;
      _CityAreaTF1.selectable = false;
      _CityAreaTF1.antiAliasType = AntiAliasType.ADVANCED;
      _CityAreaTF1.name = "CityAreaTF1";
      _CityAreaTF1.embedFonts = true;
      _CityAreaTF1.htmlText = _CityAreaString1.toUpperCase();

    I think i found why.
    There was no problem with TextField.
    There was a problem with Array. "CityArea"
    So each time I executed script it added new string in Array. And that is because i got like:
    TextField
    City 1
    City 2
    City 1
    City 2
    Running this script is Ok:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    But outside of this for loop there is another for loop for adding Cities in CityArray.
    I fixed it by adding empty array at the start of function
    function myFunc():void
    CityArea = [ ]; // Empty array fixed this issue
    // LOOP FOR ADDING SHOPS IN CITY AREA
    for (var j:int = 0; j < _Shops; j++)
    CityArea.push(_Shop);
    // FOR LOOP TO ADDING SHOPS IN STRING
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    Thank you for your help kglad

  • Indesign CS6 on MACs with OS 10.8 are having problems with links

    Hi
    Indesign CS6 on MACs with 10.8 are having problems with links. All links to other files have to be updated when opening a file although definitely nothing has changed to the linked files.
    We can rule out our company's networking and the system hosting the files (HELIOS software on RedHat Linux VM). This happens with newly created Indesign files and with old ones. E.g. we create a file on Tuesday, save it and open it again on the exact same MAC on Wednesday and all links to other fiels (.indd, .png, .bmp, etc. nothing uncommon) have to be updated as they all show the yellow triangle + black exclamation mark symbol next to them. Has anybody else experienced this, What can we do? We have tried absolutley everything and updated all software from MAC OS to CS6 itself but nothing seems to help on the long run.
    Any further information required?
    M. Miller

    Thanks for your quick reply.
    We actually noticed that there also seems to be something wrong with the timestamps:
    If we open the infos via the MAC finder to a file (.psd e.g.) which is linked in one of our indesign files, it states a certain date of creation.
    If we then switch to the Indesign file we just opened in which we had to update all links and open the infos to exactly the same file we looked at in the finder, a different date of creation is stated. So there also seems to be a mistake here (hope it's clear what I mean).
    We are ruling out our network as the error cannot be "re-enacted". We have created numerous test files in Indesign (simple white page containing one link to a .psd file which is also used in one of the supposedly defective files) and have opened them on various MACs with various OS versions over the past days/weeks but unfortunately the files open without any notifications or errors.
    Just as a background: a few months ago, the problem seemed to occur between MACs with differing OS, 10.6 - 10.8 at first. A file which was created on a 10.6 MAC could not be opened without updating all links on a 10.8 MAC. That is why we updated everything to 10.8. The error did not occur for about 2-3 weeks but then reoccured again.?
    Have you heard anything similar?

  • Strange problem with linking to external vob-file

    I have a strange problem with linking to external vob-file. I
    have created a link using BudApi:
    on mouseup
    set OK = baOpenFile ( the pathname &
    "Files\General\Video\VTS_01_1.VOB", "normal")
    end
    This code opens mpg-videos correctly, but nothing happens
    when I try to open vob-files with the same code. The strangest
    thing is that when I change the default program for vob-files to
    WinDVD this code works and the file opens, but when I change the
    default program to Nero Showtime this code doesn't do anything
    (when I open the file 'manually' from the folder, it opens
    correctly on Nero Showtime). My client uses Nero Showtime, so I
    really would appreciate any help on this one.

    temes wrote:
    >
    quote:
    Originally posted by:
    Newsgroup User
    >> When using Nero Showtime as a default program, the
    error code is 31,
    >> "There is no application associated with the given
    filename".
    >
    > Which suggests that something has gone wrong with file
    associations.
    > If
    > you double-click one of these files in an Explorer
    window does it fire
    > up Showtime and open the file?
    >
    >
    > Yes, the file opens correctly in Nero Showtime when
    double-clicking
    > it in an Explorer. I tried the file associations and
    created a
    > html-page with a link to the vob-file, and the html-link
    opens the
    > vob-file correcly with Nero Showtime. My client reported
    this
    > problem, so it's not just my computer which is having
    this problem.
    If you open a command prompt, do you get an association
    listed like this
    example for .txt files:
    C:\>assoc .txt
    .txt=txtfile
    C:\>ftype txtfile
    txtfile="D:\Program Files\JGsoft\EditPadLite\EditPadLite.exe"
    "%1"
    Andrew

  • Dinamic text changes sizes on different computers!!!!!

    I am using flash 8, with dinamic text boxes so I don't have
    antialias on my texts but I'm having trouble with different
    computers because the text changes sizes depening on the computer
    that I see my swf movie. I want my texts to always look the same
    but in some computers it displays smaller and the text can't be
    read. How can I aviod this! I didn't embed the the text boxes
    because I don't want any antialias. How can I force the text to
    stay a certain size!!!!
    Thanks a lot for any help,
    Brenda.

    Yes.
    Some will tell you how large the file actually is, some will tell you how many drive blocks it occupies.
    Some computers use 1024 bytes to the the MB, some use 1000 bytes when measuring size/capacity.
    x

Maybe you are looking for

  • Something's wrong with the code on my "educard".

    I recently bought one of those membership cards. I've entered my information, and I know the code I entered is right, but it keeps saying "The code you entered is invalid. Please try again."

  • How to integrate SQL table with the cahce

    Hi, In normal ASP.net application we use the sqlCacheDependency to integrate the SQL server with the cache in ASP.NET, so that any change in the SQL table row will replace the cache with the latest data. How to achieve the same in the Azure cache. We

  • HT204053 How to change the mobile # in facetime?thanks

    Please i need to know,i change mobile number and i do not know how to change the mobile number in facetime..thanks!.

  • Log files/troubleshooting performance data collection

    Hello:  Trying to use MAP 9.0,  When doing performance data collection, getting errors.  Is there a log file or event log that captures why the errors are occurring? One posting said to look in bin\log - but there is no log directory under BIN for th

  • Hard drive crash, save mp3's on ipod

    Ok, so I guess the title pretty much say's what is going on. I had all my mp3's on a hard drive that died. How do I get the mp3's off of my ipod and back onto my computer again without loosing the mp3's? I had iTunes directory set up on that hard dri