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

Similar Messages

  • 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

  • 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

  • All links change color when click 1

    HI, I've tried searching for this as many ways as I can think
    of - so forgive me if this has been covered before.
    I've made a template file and have a series of links to
    various pages (I'm in the VERY beginning stages here). On my pages
    that have this template applied, the links go to where they are
    supposed to go BUT when I click on 1, all the links change to the
    "visited" color.
    Also, the "hover over" color appears only after at least 1 of
    the links has been clicked, not before, and no color changes occur
    on the home page.
    I know this is very elementary but we all have to start
    somewhere!
    My newbie site is at
    http://pages.suddenlink.net/dancingleaf/
    p.s. If you look at the site and you notice "Web Design", I
    don't really do web designing (duh). I'm making all this up just to
    learn!

    The link to the stylesheet on the page is broken -
    <link href="file:///C|/Documents and Settings/Pam/My
    Documents/My
    Webs/css/dancingleaf.css" rel="stylesheet" type="text/css"
    />
    That usually happens when you link to a file that is OUTSIDE
    the root folder
    for the site. Is this one?
    The reason you get the visited color is here -
    <!--
    a:visited {
    color: #000099;
    -->
    </style><!-- InstanceEndEditable -->
    <style type="text/css">
    <!--
    a:link {
    color: #000099;
    -->
    </style></head>
    That's what you told it to do - in fact, the link color and
    the visited
    color are the same.
    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
    ==================
    "wooconley" <[email protected]> wrote in
    message
    news:eprg0g$huq$[email protected]..
    > Me again -- I deleted my site and am going to start over
    from scratch -
    > maybe this time whatever I did won't happen again.
    Anyone know what MIGHT
    > have happened?

  • 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....

  • Trigger change badi when click a custom button

    hello guys i want to trigger the change badi when a user clicks on a button.  Any help would be create?
    I am using the set change by client setting it to true and then firing the refresh but it is not working?  Any clues?  Thank you.

    As I told you in that linked thread, I'd suggest trying to use SET_CHANGED_BY_CLIENT method on the context of your webdynpro. This is sufficient to make the system aware of a change and trigger the CHANGE badi.
    As far as I've observed doing my tests, the CHANGE badi is then triggered after an event that will follow the SET_CHANGED_BY_CLIENT execution.
    So I'd suggest two test:
    - pre-exit of the method you trigger when the user press your custom buttom: set_changed_by_client and then execute your code. See if the badi is then triggered;
    - if not: you could "force" a subsequent action after the button press, for example, a simple REFRESH of the view. Then I'm sure that, after the set_changed_by_client method, the badi will surely be triggered.
    Please be aware that I'm absolutely NOT a guru on these arguments, so I'm trying to give you some workarounds I implemented on an SRM 7 system. Probably some guru will have better and cleaner solution for your task, but as far as I've seen, these ones should meet your needs.

  • Photos and layouts change size when adding photos in book layout

    I am using the Classic layout to create books.
    Sometimes, when I move a photo down into the layout, unpredictable things happen. For example, when I drag a photo down onto the page layout, sometimes the photo will change sizes, and sometimes the layout will move around (esp. with 3 or 4 images on a page). On a page with a single image, sometimes the photo comes in large, and sometimes it shrinks. On a 3 photo per page layout, sometimes the layout starts with 3 photo boxes in a row. I can add one or two, and then I add another (could be the 1st, 2nd or 3rd - it's the image file that I think triggers the change) and all the boxes scramble and instead of a row of 3 equal-sized boxes, now I have a page with 1 big and 2 small boxes. Totally unpredictable!
    Is there any way to control this?
    All the photo files I'm starting with are high resolution tiffs, around 8 inches square (most are squares, not 4x6 snapshots) at 300 dpi.
    I have had this issue on 3 computers (and probably 2 different versions of iPhoto): a 2-year-old G5, and two brand new iMacs.
    Any help or advice is welcome. Thanks.
    iMac   Mac OS X (10.4.8)  

    If you Control-click on the square photo in a book frame you can select the "Fit photo to frame size" option and the entire image will be contained in the frame. there will be some white space on the short side.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Desktop icons change size when I move the cursor

    Intermittently, when I move the cursor with my trackpad, the desktop icons change size—minimize going from 44 to 16 icon size. This happens with the Finder in the foreground or background.
    I think there's a fix, but I cannot find it.
    All help appreciated,
    Bill

    Press Command-Option-8. Someone apparently turned on Zoom. (See System Preferences > Universal Access and click the Options button next to Zoom for more information.)

  • Links not working when clicking (code included)

    Ok im totally new to AS so i will do best to describe issue i am running into.....
    Have a cover photo created in PS,and on photo, there is text, which when click should open pdf file specified.....well when i hover over, and click....it doesnt go anywhere....(example below)  THX for any responses and assistance.
        EX:        this would be the cover photo
                      REPORT
      Analysis  (this should have a sub menu of PDF's which it does, but when click on the pdf's refrenced, it doesnt go anywhere)
      Link 2     (PDF)
      Link 3     (PDF)
      Link 4     (PDF)
      Link 5     (same as Analysis)
      Link 6     (PDF)
       ect ect...
    CODE BELOW....
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    import flash.events.Event;
    //init menu links
    var link_1:Object = this.getChildByName( 'MenuLinkMC_1' );
    var link_2:Object = this.getChildByName( 'MenuLinkMC_2' );
    var link_3:Object = this.getChildByName( 'MenuLinkMC_3' );
    var link_4:Object = this.getChildByName( 'MenuLinkMC_4' );
    var link_5:Object = this.getChildByName( 'MenuLinkMC_5' );
    var link_6:Object = this.getChildByName( 'MenuLinkMC_6' );
    var link_7:Object = this.getChildByName( 'MenuLinkMC_7' );
    var link_8:Object = this.getChildByName( 'MenuLinkMC_8' );
    var link_9:Object = this.getChildByName( 'MenuLinkMC_9' );
    var _close:Object = this.getChildByName( 'closeMC' );
    this._close.addEventListener( MouseEvent.CLICK, quit );
    var sub_menu_notes_slide:Object = this.getChildByName( 'SubMenu_NotesSlideMC' );
    var sub_menu_discussion_slide:Object = this.getChildByName( 'SubMenu_DiscussionSlideMC' );
    //set url addresses
    var url_link_1:URLRequest = new URLRequest( 'PDF_FILES/1.  MD&A Introduction.pdf' );
    var url_link_2:URLRequest = new URLRequest( 'PDF_FILES/9.  Independent Auditors\' Report.pdf' );
    var url_link_3:URLRequest = new URLRequest( 'PDF_FILES/10.  Balance Sheets.pdf' );
    var url_link_4:URLRequest = new URLRequest( 'PDF_FILES/11.  Statements of Revenues, Expenses and Changes in Fund Net Assets.pdf' );
    var url_link_5:URLRequest = new URLRequest( 'PDF_FILES/12.  Statements of Cash Flows.pdf' );
    var url_link_6:URLRequest = new URLRequest( 'PDF_FILES/13.  Note 1 - Summary of Significant Accounting Policies.pdf' );
    var url_link_7:URLRequest = new URLRequest( 'PDF_FILES/31.  Glossary of Terms.pdf' );
    var url_link_8:URLRequest = new URLRequest( 'PDF_FILES/EOY Audited Financials - FY2011 with blue links.pdf' );
    var url_link_9:URLRequest = new URLRequest( 'http://www.cpsenergy.com' );
    //run subroutines
    noMenu();
    set_link( link_1, url_link_1, sub_menu_discussion_slide );
    set_link( link_2, url_link_2, null );
    set_link( link_3, url_link_3, null );
    set_link( link_4, url_link_4, null );
    set_link( link_5, url_link_5, null );
    set_link( link_6, url_link_6, sub_menu_notes_slide );
    set_link( link_7, url_link_7, null );
    set_link( link_8, url_link_8, null );
    set_link( link_9, url_link_9, null );
    //subroutines
    function set_link( linkObject:Object, linkURL:URLRequest, optMenu:Object ):void {
        linkObject.addEventListener( MouseEvent.CLICK, click_link );
        linkObject.addEventListener( MouseEvent.MOUSE_OVER, mouse_over_link );
        if ( optMenu != null ){
            this.setChildIndex( MovieClip( optMenu ), 9 );
            linkObject.addEventListener( Event.ENTER_FRAME, slide_sub_menu );
        function click_link( evt:MouseEvent):void {
            navigateToURL( linkURL, 'File.browseForOpen()' );    <-----(note: should this be set to "_blank"  ?)
        function mouse_over_link( evt:MouseEvent ):void {
            linkObject.mouseChildren = false;
            linkObject.buttonMode = true;
            linkObject.useHandCursor = true;
        function slide_sub_menu( evt:Event ):void {
            if ( optMenu.hitTestPoint( mouseX, mouseY, true )) {
                optMenu.nextFrame();
            } else {
                optMenu.prevFrame();
    function quit( evt:MouseEvent ):void {
        fscommand("quit", "");
    function noMenu():void {
        var NoMenu:ContextMenu = new ContextMenu();
        NoMenu.hideBuiltInItems();
        this.contextMenu = NoMenu;
    ------------------------------------------------------------------------------------------ -------------------------------AND
    import flash.events.MouseEvent;
    //init sublinks
    var sublink_1:Object = this.getChildByName( 'SublinkMC_1' );
    var sublink_2:Object = this.getChildByName( 'SublinkMC_2' );
    var sublink_3:Object = this.getChildByName( 'SublinkMC_3' );
    var sublink_4:Object = this.getChildByName( 'SublinkMC_4' );
    var sublink_5:Object = this.getChildByName( 'SublinkMC_5' );
    var sublink_6:Object = this.getChildByName( 'SublinkMC_6' );
    var sublink_7:Object = this.getChildByName( 'SublinkMC_7' );
    var sublink_8:Object = this.getChildByName( 'SublinkMC_8' );
    var sublink_9:Object = this.getChildByName( 'SublinkMC_9' );
    var sublink_10:Object = this.getChildByName( 'SublinkMC_10' );
    var sublink_11:Object = this.getChildByName( 'SublinkMC_11' );
    var sublink_12:Object = this.getChildByName( 'SublinkMC_12' );
    var sublink_13:Object = this.getChildByName( 'SublinkMC_13' );
    var sublink_14:Object = this.getChildByName( 'SublinkMC_14' );
    var sublink_15:Object = this.getChildByName( 'SublinkMC_15' );
    var sublink_16:Object = this.getChildByName( 'SublinkMC_16' );
    var sublink_17:Object = this.getChildByName( 'SublinkMC_17' );
    var sublink_18:Object = this.getChildByName( 'SublinkMC_18' );
    //set link names dynamic text
    sublink_1.SublinkNameDT.text = 'Note 1 - Summary of Significant Accounting Policies';
    sublink_2.SublinkNameDT.text = 'Note 2 - Cash, Cash Equivalents and Investments';
    sublink_3.SublinkNameDT.text = 'Note 3 - Disaggregation of Current Receivables and Payables';
    sublink_4.SublinkNameDT.text = 'Note 4 - Capital Assets';
    sublink_5.SublinkNameDT.text = 'Note 5 - Revenue Bond and Commercial Paper Ordinances Requirements';
    sublink_6.SublinkNameDT.text = 'Note 6 - Revenue Bonds';
    sublink_7.SublinkNameDT.text = 'Note 7 - Commercial Paper and Related Revolving Credit Agreement';
    sublink_8.SublinkNameDT.text = 'Note 8 - Flexible Rate Revolving Note';
    sublink_9.SublinkNameDT.text = 'Note 9 - Employee Pension Plan';
    sublink_10.SublinkNameDT.text = 'Note 10 - Other Postemployment Benefits';
    sublink_11.SublinkNameDT.text = 'Note 11 - Other Obligations and Risk Management';
    sublink_12.SublinkNameDT.text = 'Note 12 - Other Financial Instruments';
    sublink_13.SublinkNameDT.text = 'Note 13 - Lease-Leaseback';
    sublink_14.SublinkNameDT.text = 'Note 14 - South Texas Project';
    sublink_15.SublinkNameDT.text = 'Note 15 - Commitments and Contingencies';
    sublink_16.SublinkNameDT.text = 'Note 16 - Leases';
    sublink_17.SublinkNameDT.text = 'Note 17 - Pollution Remediation Obligation';
    sublink_18.SublinkNameDT.text = 'Note 18 - Subsequent Events';
    //set url addresses
    var url_sublink_1:URLRequest = new URLRequest( 'PDF_FILES/13.  Note 1 - Summary of Significant Accounting Policies.pdf' );
    var url_sublink_2:URLRequest = new URLRequest( 'PDF_FILES/14.  Note 2 - Cash, Cash Equivalents and Investments.pdf' );
    var url_sublink_3:URLRequest = new URLRequest( 'PDF_FILES/15.  Note 3 - Disaggregation of Current Receivables and Payables.pdf' );
    var url_sublink_4:URLRequest = new URLRequest( 'PDF_FILES/16.  Note 4 - Capital Assets.pdf' );
    var url_sublink_5:URLRequest = new URLRequest( 'PDF_FILES/17.  Note 5 - Revenue Bond and Commercial Paper Ordinances Requirements.pdf' );
    var url_sublink_6:URLRequest = new URLRequest( 'PDF_FILES/18.  Note 6 - Revenue Bonds.pdf' );
    var url_sublink_7:URLRequest = new URLRequest( 'PDF_FILES/19.  Note 7 - Commercial Paper.pdf' );
    var url_sublink_8:URLRequest = new URLRequest( 'PDF_FILES/20.  Note 8 - Flexible Rate Revolving Note.pdf' );
    var url_sublink_9:URLRequest = new URLRequest( 'PDF_FILES/21.  Note 9 - Employee Pension Plan.pdf' );
    var url_sublink_10:URLRequest = new URLRequest( 'PDF_FILES/22.  Note 10 - Other Postemployment Benefits.pdf' );
    var url_sublink_11:URLRequest = new URLRequest( 'PDF_FILES/23.  Note 11 - Other Obligations and Risk Management.pdf' );
    var url_sublink_12:URLRequest = new URLRequest( 'PDF_FILES/24.  Note 12 - Other Financial Instruments.pdf' );
    var url_sublink_13:URLRequest = new URLRequest( 'PDF_FILES/25.  Note 13 - Lease-Leaseback.pdf' );
    var url_sublink_14:URLRequest = new URLRequest( 'PDF_FILES/26.  Note 14 - South Texas Project.pdf' );
    var url_sublink_15:URLRequest = new URLRequest( 'PDF_FILES/27.  Note 15 - Commitments and Contingencies.pdf' );
    var url_sublink_16:URLRequest = new URLRequest( 'PDF_FILES/28.  Note 16 - Leases.pdf' );
    var url_sublink_17:URLRequest = new URLRequest( 'PDF_FILES/29.  Note 17 - Pollution Remediation Obligation.pdf' );
    var url_sublink_18:URLRequest = new URLRequest( 'PDF_FILES/30.  Note 18 - Subsequent Events.pdf' );
    //run subroutines
    set_sublink( sublink_1, url_sublink_1 );
    set_sublink( sublink_2, url_sublink_2 );
    set_sublink( sublink_3, url_sublink_3 );
    set_sublink( sublink_4, url_sublink_4 );
    set_sublink( sublink_5, url_sublink_5 );
    set_sublink( sublink_6, url_sublink_6 );
    set_sublink( sublink_7, url_sublink_7 );
    set_sublink( sublink_8, url_sublink_8 );
    set_sublink( sublink_9, url_sublink_9 );
    set_sublink( sublink_10, url_sublink_10 );
    set_sublink( sublink_11, url_sublink_11 );
    set_sublink( sublink_12, url_sublink_12 );
    set_sublink( sublink_13, url_sublink_13 );
    set_sublink( sublink_14, url_sublink_14 );
    set_sublink( sublink_15, url_sublink_15 );
    set_sublink( sublink_16, url_sublink_16 );
    set_sublink( sublink_17, url_sublink_17 );
    set_sublink( sublink_18, url_sublink_18 );
    //subroutines
    function set_sublink( sublinkObject:Object, sublinkURL ):void {
        sublinkObject.addEventListener( MouseEvent.CLICK, click_sublink );
        sublinkObject.addEventListener( MouseEvent.MOUSE_OVER, mouse_over_sublink );
        sublinkObject.addEventListener( MouseEvent.MOUSE_OUT, mouse_out_sublink );
        function click_sublink( evt:MouseEvent):void {
            navigateToURL( sublinkURL, '_blank' );
        function mouse_over_sublink( evt:MouseEvent ):void {
            sublinkObject.mouseChildren = false;
            sublinkObject.buttonMode = true;
            sublinkObject.useHandCursor = true;
            sublinkObject.gotoAndStop( 'On' );
        function mouse_out_sublink( evt:MouseEvent ):void {
            sublinkObject.gotoAndStop( 'Off' );

    I think you need double quotes rather than single.. as in
    new URLRequest( 'PDF_FILES/1.  MD&A Introduction.pdf' );
    try
    new URLRequest( "PDF_FILES/1.  MD&A Introduction.pdf" );
    also the file names are a little odd.... there is a space after the period 1. (space here) MD...this will present problems once on server.
    And then you have an ampersand in the file name..... while that may work, sometimes servers are much more particular.... things like spaces and special characters in file names can cause problems.
    One recommended method of naming files and folders is:
    All lower case (no caps)
    No_spaces_use_underscore_instead
    No special characters
    Best wishes,
    Adninjastrator

  • Links change color when Email is Received

    Hi, I have created an html email in Dreamweaver with "pink" links. The problem is after I email it I look at it in my sent email and ithe links are "blue" when they should be pink. So in other words the recipients get the HTML email with blue linkd instead of "pink" links.
    I have checked in my mac "mail" in the settings to see if it is using a blue color for the links but I can't find anything relating to link colors.
    Any ideas what I can do? Also is there somewhere  in DW that gives me the option to change the link color?
    Thanks

    Thanks for the help Murray. I'm not sure why but....
    This code doesn't seem to work in "Design" view
    When I am using an email link and do as you suggest and move the </font> tag behind the word and look at the page in "Design" view in Dreamweaver the link is all black and is barely readable on a dark background.
    <a href="mailto:myEmail?subject=To: Name" title="Home" target="blank"><font color="pink">myLink</font></a>
    These codes both seem to work in "Design" view
    But when I place the closing "font" tag after the </a> (see below) and preview the page in "Design" view in Dreamweaver the link is the Pink color as it should.
    <a href="mailto:myEmail?subject=To: Name" title="Home" target="blank"><font color="pink">myLink</a></font>
    This also works when previewing the page in "Design" view in Dreamweaver the link is the Pink color as it should.
    <a href="mailto:myEmail?subject=To: Name" title="Home" target="blank"><font color="pink"></font>myLink</a>

  • Why are the video player change size when resizing the window a little?

    When I use the video player to show mp4 files, the "player window" changes size if I change the firefox window. Why and how do I do to get the correct size direct (640x480)

    Hi john3,
    This can be the resolution of the screen or the site detecting screensize, do you have a url we can take a look at to determine what's going on?
    Thank you!

  • Making buttons change colour when clicked on, sounds simple......

    hello could somebody please give me the code to make a jbutton change colour when it is clicked on, muuuuuuuuuch appreciated, thanks!!!!!!!!!!!!!!!!!!!!

    w e l l - k e w l !
    I made a few adjustments here. Mainly for myself:- you know when you JUST CANNOT FIND THAT DARN COLOUR !!! - 'Pandavas' sexy little program is right on the button!
    Click on the button and it cycles through colours randomly and tells you the RGB value ...import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ColorChanges extends JFrame implements ActionListener {  
      int red = 0;
      int blue = 0;
      int green = 0;
      java.util.Random rand = new java.util.Random();
      JButton button = new JButton("Colour Me!");
      JLabel label1 = new JLabel("                  The new colours are:                ");
      JLabel label2 = new JLabel("");
      public ColorChanges() {
        super("RGB VALUES:");
        setSize(200,108);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
        button.addActionListener(this);
        getContentPane().setLayout(new FlowLayout() );
        getContentPane().add(button);
        getContentPane().add(label1);
        getContentPane().add(label2);
        setVisible(true);  
      public void actionPerformed(ActionEvent eve) {    
            red = (Math.abs((rand.nextInt())%255));
            blue = (Math.abs((rand.nextInt())%255));
            green = (Math.abs((rand.nextInt())%255));
            cooller();
      public void cooller() {   
          button.setBackground(new Color(red,green,blue));
          label2.setText("RED: "+red+" GREEN: "+green+" BLUE: "+blue);      
      public static void main(String[] args) {
          new ColorChanges();  
    }

  • Links working but changing colour when clicked

    Hi
    All my links in my sidebar are working fine i.e. they open the correct page. However, I want the background colour on hovering to be #999 and the links to be #009 when the page opens. The former is fine but when the page opens in any browser the links show up in a different colour even though they are the correct colour when viewed in Design or Live View.
    The css rule is set to background colour #999 and colour #009 but I can´t figure out where the other colour is coming from. Also, when I click on the links in the live browser on some pages they change and stay changed to the #009 colour even when I change page.
    You´ll see what I mean here www.theonlineenglishclass.com
    Thanks

    Sorry to keep on but I keep going back to your page and looking:
    Add this:
    color:#000099;
    to the rule I mentioned in the previous post.
    Your links will then apply the color you want to the text but I think it will then apply to the link in each state.
    Martin

  • Links changing size and not appearing normally when published to the web

    I can figure out what is happening. No matter what I do I can't get the 'main page' button to appear as it does in iWeb when published. Help!
    http://web.mac.com/andrew.santangelo/iWeb/Site/Booking.html

    http://web.mac.com/andrew.santangelo/iWeb/Site%202/Private%20Lessons.html
    http://web.mac.com/andrew.santangelo/iWeb/Site%202/Home.html
    http://web.mac.com/andrew.santangelo/iWeb/Site%202/Booking.html
    Here are the pages I'm having problems with

Maybe you are looking for