Mouse over button actions for newbie

Im a Newbie.  Im creating buttons that when you mouse over show an image. Id like the images to remain up when the cursor leaves the button until the cursor mouses over another button, see http://www.rawnarch.com/featured_williams_college.html
any advice on how to do this simply

The simplest fix is to change the DOCTYPE.
You're using a XHTML Transitional DOCTYPE.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
If you replace it with a HTML5 DOCTYPE
<!DOCTYPE HTML>
you'll eliminate most of those "errors".
http://bit.ly/fEEVZk

Similar Messages

  • InDesign Button Action for PDF – Open File (in new window)

    I am using the 'Open File' action on buttons in a document i am making which will eventually be a PDF, but am wanting to specify the button action to open the file (another PDF) in a new window.
    I have found that I can achieve this and add button actions with this specific behavior in Acrobat, but it seems to be missing in indesign's abilities as far as I can see. Is there a way to do this in indesign so that i do not have to tinker in acrobat after I have made my PDF. As if I have changes to the PDF, all buttons then have to be totally re-done each time, and i will have possibly 900 buttons!!
    Thanks.
    (Using indesign CS4)

    Jeff,
    You are correct. I want to have a DVD with multiple PDFs. The main one almost acting as a table of contents for the rest.
    Problem = the 'main one' is 62 pages long, many hundred buttons and every page has at least a few of these links needed.
    Which means, if you are correct (and I believe you are, hope you aren't) that I need to custom code these buttons in Acrobat.
    The method is easy, but x300 = painful. And then the kicker... Boss says, 'Change slide 30' ... which means: Back to InDesign, Export to PDF, Recode ALL BUTTONS.
    *Note, there are some 'interactive' buttons with roll over states. So I don't think replacing the pages would work.

  • Mouse Over Format Control for Series

    I have a combination chart and would like to display the column portion with no digits after the decimal.  I would like to display the line portion with 1 digit after the decimal.
    Will Xcelsius allow individual formatting of series or only global formatting for a Mouse Over?

    If you want to do individual formatting of Mouse Over effect with combination charts, you should select the format in Excel and choose Mouse-Over format "General" in Xcelsius.
    Keep in mind, to select the "General" format in Xcelsius first, then format your Excel-Data and rebind the chart-component after formatting in Excel.
    Best Regards
    Ulrich
    http://www.xcelsius-insight.com

  • Use DW for mouse over button images but won't validate

    Hi All,
    I've done this three times and give up.  Here's the link http://pooledesignstudio.com/wendysawesomeart/
    I used the Rollover Image icon on the common tool bar and created my nav bar.
    When I try to validate I get 24 errors and they are in the code that DW generates to make the rollover switchout happen. I have no idea how to fix it.
    Please help.
    Thank you,
    KathPoole

    The simplest fix is to change the DOCTYPE.
    You're using a XHTML Transitional DOCTYPE.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    If you replace it with a HTML5 DOCTYPE
    <!DOCTYPE HTML>
    you'll eliminate most of those "errors".
    http://bit.ly/fEEVZk

  • Button Actions for Attached Files with Limitations

    I have a slide with 5 buttons with the action to open up a pdf; one for each button.  Yet it seems that only 3 buttons will work no matter the order I click on them.  Does anyone know if there is a set limit to attached files that can be placed on one slide?

    Hi there
    No set limit I'm aware of. But it might be related to timing and pause points if you didn't properly configure the buttons.
    You should configure each button so it opens in a new window and the project does not continue playing.
    Another thing to check is the naming of the PDFs. When you upload to a web server it may be the case that you perhaps specified SomeFile.pdf in the link but the file is actually named SOMEFILE.PDF or somefile.pdf. (case can factor in here)
    Hope this helps a bit... Rick

  • Mouse over buttons makes submenu

    I'm new to Dreamweaver and I am using a Mac as well.
    I was wondering how to make my menus on my webpage have submenus
    attached to it as the mouse goes over the menu name. My menus are
    just simple words I've typed in. I would rather not make a whole
    new page for every menu click if possible. Thanks.

    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "virtualcomposer" <[email protected]> wrote
    in message
    news:gjat04$4j2$[email protected]..
    >
    I'm new to Dreamweaver and I am using a Mac as well.
    I was
    > wondering how to make my menus on my webpage have
    submenus attached to it
    > as
    > the mouse goes over the menu name. My menus are just
    simple words I've
    > typed
    > in. I would rather not make a whole new page for every
    menu click if
    > possible.
    > Thanks.
    >

  • Losing Mouse "hand" over buttons when publish for Web.

    Hi,
    I'm new to Flash. I'm publishing a web-site and I lose the "Hand" icon for the mouse over buttons after I publish and run the HTML=>Swf files from the Browser. When I "Test the movie" from flash I see the "Hand" over buttons just fine.
    Is there a publish setting that I'm missing which allows the hand to remain?
    Please help.
    Thanks,
    Jeff

    Hi, Had to work yesterday.
    At the moment I'm running/testing locally  (which may be the problem) from a flash secure directory on my desktop. So no link sorry.
    I think I need to look into setting up a test service with Yahoo or something. Any suggestions? I'm not really sure how to upload my completed website (.html and .swf files) to a service. That's a different topic/question. Any help along those lines is greatly appreciated.
    Anyway, I'm using safari 5.1.7 on my IMac. and Safari 6.0.3 on my Mac Pro. and Firefox 21.0 (primarily) or Internel Explorer (rarely) on my "windows" laptop.    The "Hand" works on all of these (files local to the respective computer) except the IMAC Safari 5.1.7 flash player 12.0 combination, which was my first test environment scenerio.
    I'm planning to do two things.
    1) Update my IMAC to Safari 6.0.
    2) Set up a test area with a service provider. This in itself may resolve the issue for the Safari 5.1.7. At least I'll be testing in a "real world" environment.
    So, thank you for your help with this. I think we can call it solved. If my testing on a true server shows the same results then I may shoot out another question. I think it is a nice goal to have our web site creations run on all platforms and browser comibations but is that realistic? If we test on as many combinations of the most recent software releases as we can with reasonable success what more can we do? I'd like to hear you opinion. Feel free to sent me an email.
    Would you like me to open a new question/discussion regarding the help finding and uploading files to a service provider?
    Thanks again,
    Jeff

  • Specific region mouse over effect(Button 1 fades out and Button 2 fades in).

    Dear All -
    I am new to Flash CS5 and building Flash navigation bar with buttons on it.
    Below is my problem description that I want to solve with your help.
    I have a rectangular bar and placed one small button(Button 1) on this bar. Also, I have similar button(Button 2) with some graphics on it which is of similar size as to previous Button 1.
    Button 1 - Without graphic.
    Button 2 - With graphic on it.
    What I want is that, whenever mouse is taken over Button 1 placed on the rectangular bar, it should fade out and simultaneously Button 2 should fade in. I want only button region to be sensitive to this mouse over effect and not the complete rectangular bar.
    Kindly let me know how can I define the specific region(button region only) to be sensitive to mouse over effect in flash, and how to place Button 1 and Button 2 in layers so that both are at the same positition(so that there is no displacement of button detected).
    Thank You,
    Saurabh Khanna.

    Hello -
    Thank you for the reply. Button 1 does not have glowing effect, whereas Button 2 has a glowing effect. So what I wanted is that when initially Button 1 is loaded during page load, when I mouse over Button 1, Button 1 would fade out and Button 2 sitting behind Button 1 would automatically look like fade in(due to gradual fad out of Button 1 on top of Button 2).
    I could do this now, and would like to Thank you for your reply.
    I did this by creating movie clip on "Over" event of Button 1 and changing its Alpha property. But now what I want is how to gradually fade out, means when I remove my mouse from over button, then Button 2 should fade out gradually which will automatically make Button 1 fade in gradually.
    I could not find the "Out" event just like we have "Over" event for Button, so I assume this can only be done using ActionScript somehow.
    Let me know if I am going correct with my assumption, and possibly if you could help me achieve the remaining half(fading out gradually when mouse is removed from the button).
    Thank You once again for your reply.
    Thank You,
    Saurabh Khanna.

  • How to change mouse-over label for a mx:CandleStickChart?

    I have an <mx:CandleStickChart .../> graph and want to change the default
    labels on the mouse-over window.  For example by default, the mouse-over window displays:
      line1: some label
      line2: open: #1
      line3: close: #2
      line4: high:  #3
      line5: low: #4
    I want to change the words "open", "close", "high", "low" to something else.  I optionally want to not show  the "close" line.
    Do you have any suggestions on how to do this?  If you do, please provide a short example.
    Thanks for taking the time to help.

    Hi
    First change the name from kPlusIconPNGIconRsrcID to kPlusIconPNGIconIRsrcID
    so "I" will indicate that your icon is inactive
    Create another resource id like:
    #define kPlusIconPNGIconIRsrcID 15
    #define kPlusIconPNGIconARsrcID 15
    Define paths to the icons
    resource PNGA(kPlusIconPNGIconIRsrcID) "../res/icons/PLUS_ICO_23_I.png" // Inactive icon
    resource PNGR(kPlusIconPNGIconARsrcID) "../res/icons/PLUS_ICO_23_A.png" // Active icon
    Regards
    Bartek

  • Mouse over JButton

    I have an 10 x 10 array of JButtons in my project. I was just wondering how do i find out which button the mouse cursor is over at any given time?
    I was trying to get x y mouse coordinates but how do i know over which JButton I am?
    Thanks for any advice
    Regards

    Could anybody help me with answer: How could I execute below method:
    public void mouseMoved(MouseEvent e) {
              System.out.println("Mouse over Button");
         }without clicking on the button. I have MouseListener on each button. I can exetue this method only when i'm clicking on button. What's wrong with my code? I wanna execute this method when my mouse is over the button :-(. Could help me with my example?
    thanks in advance.
    regards.
    package gui;
    import java.awt.Component;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.util.ArrayList;
    import java.util.EventObject;
    import javax.swing.AbstractCellEditor;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JTree;
    import javax.swing.event.ChangeEvent;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.TreeCellEditor;
    import javax.swing.tree.TreeCellRenderer;
    public class TreeSample {
         JTree tree = null;
         CheckBoxNodeRenderer renderer;
         public void showTree() {
              JFrame frame = new JFrame("Tree");
              ArrayList<Object> ipDevice = new ArrayList<Object>();
            ipDevice.add("IP Device");
            DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Root");
            DefaultMutableTreeNode node = new DefaultMutableTreeNode(new CheckBoxNode("IP Device", false));
            rootNode.add(node);
            tree = new JTree(rootNode);
            renderer = new CheckBoxNodeRenderer();
            tree.setCellRenderer(renderer);
            tree.setCellEditor(new CheckBoxNodeEditor(tree));
            tree.setEditable(true);
            frame.setSize(400,400);
            frame.add(tree);
            frame.setVisible(true);
         public static void main(String args[]) {
              System.out.println("Test");
              TreeSample ts = new TreeSample();
              ts.showTree();
    class CheckBoxNodeRenderer implements TreeCellRenderer {
        private JButton leafRenderer = new ButtonCreator("TEST");
        protected JButton getLeafRenderer(){
            return leafRenderer;
        public CheckBoxNodeRenderer() {
        public Component getTreeCellRendererComponent(JTree tree, Object value,
                boolean selected, boolean expanded, boolean leaf, int row,
                boolean hasFocus) {
            Component returnValue;
            returnValue = leafRenderer;
            return returnValue;
    class CheckBoxNodeEditor extends AbstractCellEditor implements TreeCellEditor, MouseMotionListener {
        CheckBoxNodeRenderer renderer = new CheckBoxNodeRenderer();
        ChangeEvent changeEvent = null;
        JTree tree1;
        DefaultMutableTreeNode editedNode;
        public CheckBoxNodeEditor(JTree tree) {
            this.tree1 = tree;
        public Object getCellEditorValue() {
            JButton checkbox = renderer.getLeafRenderer();
            return checkbox;
        public boolean isCellEditable(EventObject event) {
            return true;
        public boolean shouldSelectCell(EventObject ev) {
             return true;
        public Component getTreeCellEditorComponent(final JTree tree, Object value,
                boolean selected, boolean expanded, boolean leaf, int row) {
            System.out.println("GetTree");
            Component editor = renderer.getTreeCellRendererComponent(tree, value,
                    true, expanded, true, row, true);
            return editor;
         public void mouseDragged(MouseEvent e) {
         public void mouseMoved(MouseEvent arg0) {
    class CheckBoxNode {
        String text;
        boolean selected;
        public CheckBoxNode(String text, boolean selected) {
            this.text = text;
            this.selected = selected;
        public boolean isSelected() {
            return selected;
        public void setSelected(boolean newValue) {
            selected = newValue;
        public String getText() {
            return text;
        public void setText(String newValue) {
            text = newValue;
    class ButtonCreator extends JButton implements MouseMotionListener {
         public ButtonCreator() {
              this.addMouseMotionListener(this);
         public ButtonCreator(String p_name) {
              this.setText(p_name);
              this.addMouseMotionListener(this);
         public void mouseDragged(MouseEvent e) {
         public void mouseMoved(MouseEvent e) {
              System.out.println("Mouse over Button");
    }

  • Mouse over - how to select text

    Hi all,
    I trying to build a function that when the mouse is moved over a text, then that text is selected and some actions are performed. At the moment I am using the g.drawstring() to place the text inside a jPanel, remember the XY coordinate of that text and then, when the mouseMoved event is trigger I compare the mouse position with the original drawing coordinate. It works fine if the string is single character, but it gets very complicated when the string is made up of several words "Hello Java" and I would like to select only the "Hello" or the "Java", as I don't know in advance the XY coordinate of the second word, as the font is not proportional (what I am doing now, is search for the " " and set boundaries of each individual word within the string...a bit cumbersome, but kind of works
    My Question is:
    is there a better way to place the string on the panel, other than the g.drawstring() that can make reading and identifying much easier? perhaps, placing the string inside some kind of other component which the mouse that 'identify' to be over more easily?
    thanks for the help
    P.S. I have read some posts, which address specific questions; mine is more a question on best architecture/availability of Java.components/API that can be used to do my task in the best way.

    thanks for your reply.
    I am basically trying to draw a node and edge pattern, where the nodes are the text strings and the edges are simple lines. posX and posY are the coordinate of where to strings are drawn. Now, what I would like to do is to move the mouse over and highlight (for exampl) the string but only single words, not the whole string (which could be, for exampl, "Hello Java"), so highilighting either Hello or Java, depending on where the mouse is. But I need to place the string (or the JLabel or JText) at specific posX, posY coordinates inside my JPanel.
    protected void paintComponent(Graphics g) {
    super.paintComponent(g);
    /** SOME CODE*/
    Font font = new Font("Arial Unicode MS", Font.PLAIN, 20);
    g.setFont(font);
    g.setColor(Color.black);
    g.drawString(textString panelXSize/2-posX, panelYSize/2-posY);
    g.drawLine(panelXSize/2, panelYSize/2,panelXSize/2-posX, panelYSize/2-posY);
    }

  • Mouse Over Value in Pie Chart

    I have two questions -
    1. How do i restrict the no. of decimals in the Mouse Over values for Percentage in a Pie Chart ? The numeric values i can control but the percentage (which the system calculates) seems to be set at default two decimal places.
    2. While displaying the labels even though i am using the ouside end, inside end etc options - i can't seem to control the overlapping of a few labels. Offsetting is something that i need to do by hit and trial. too slow. and not all need to be offsetted. Can i selectively offset for a data point ?
    Please help....Cheers...

    Hi:
       For question1, do you mean the "Data Label->Percentage" right? I think the "Mouse-Over Values" could be set decimal places easily from  "Appearance->Text->Mouse-Over Values", but for "Data Label->Percentage" there is no direct way to show its decimal places. You can use "Label" component to build your percentage you like manually.
      For question2, if all position setting could not fit your need, you can also use label component to build your custom Data Labels.

  • Mouse-over menu problem in iWeb, 2nd try

    This is a 2nd attempt to ask for help: I want post one more time 'cause I realized – due to the useful feedback of one member of this forum (Cyclosaurus) - I can now explain my mouse-over problem a lot better:
    I’ve got mouse-over menus that mess up in this weird way - but only when the browser is refreshed. And then they work fine again when browser is refreshed yet again. (?!) And it only happens in iWeb.
    I worked with a programmer who wrote html code for me, creating a mouse-over menu system for my (iweb-generated) site: www.petersolon.com As a stand-alone thing (as stand-alone code) the menu system works great-there's nothing wrong with it-as you can see:
    www.petersolon.com/default.html
    But when the code is introduced into iWeb and uploaded, this weird refresh problem occurs. (I didn't do a very good job of describing the problem in my recent post: “MOUSE-OVER MENUS….etc”)
    Anyway, the mouse-over system starts out working fine but then, after refreshing the page (the problem occurs more freq. on some pages vs others), the string of menus jump to a spot they shouldn’t move to. They do this:
    http://www.petersolon.com/MenuProblem.html
    And it only happens in iWeb.
    The whole navigation system then gets totally messed up. I can’t tell you how many hours we spent fiddling with the code, trying to pinpoint the problem.
    What I know for sure is, the problem is related to:
    1. browser refresh
    2. iWeb generated code (mixing with "outside code")
    3. position of my primary navigation menus vis-a-vis a graphic they sit on top of.
    Any help would really be appreciated, thank you much Peter
    MacBook Pro Mac OS X (10.4.9)
    MacBook Pro Mac OS X (10.4.9)
    MacBook Pro Mac OS X (10.4.9)
    MacBook Pro Mac OS X (10.4.9)

    Problem solved...using a very short time-out value in a event structure and a bug solved in my main program.
    Thanks, Thijs

  • Problem w Plug-in Check page: the "Update" button for my outdated version of the WMP plugin does not do anything, and no link is indicated in the status bar when I mouse over the button.

    In Firefox, I select Tools > Add-ons > Find Updates. The Plugin Check page comes up in the browser. The entry for the WMP Plugin indicates it is out of date. I click on the "Update" button and nothing happens. When I mouse over the button, no link is indicated in the status bar (it continues to read "Done").
    The entries for the other plugins indicate they are current. When I mouse over the "Up to date" button for each of those entries, a link is indicated in the status bar.
    I am running Windows XP SP2 on a 2005 Dell Inspiron 6000 (1.6 GHz Pentium M processor, 590 MHz bus, 504 MB RAM). I have Norton Internet Security 2010 installed and running.

    See:
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://windows.microsoft.com/en-US/windows/downloads/windows-media-player (see Firefox)
    * http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx

  • Mouse over effect for Button

    Hi,
        I have a button inside a vbox. I need to give mouse over effect to that button. Please give me the code.
    Regards,
    Jayagopal.

    Pls let me know if you have any issue with solution below:-
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        <![CDATA[
            import mx.effects.effectClasses.ResizeInstance;
            private var resizeInstance:ResizeInstance;
            public function mouseHandler(event:MouseEvent):void
                    if (resizeInstance)
                        resizeInstance.reverse();
                    else
                        resizeEffect.play([event.currentTarget],event.type==MouseEvent.MOUSE_OUT);
    ]]>
    </mx:Script> 
    <mx:Resize id="resizeEffect" heightFrom="22" heightTo="50" 
        effectStart="resizeInstance = ResizeInstance(event.effectInstance);"
        effectEnd="resizeInstance=null"/>
    <mx:VBox width="500" height="500" horizontalAlign="center" verticalAlign="middle">
        <mx:Button label="Sample Button" buttonMode="true"
        useHandCursor="true" mouseOver="mouseHandler(event)" mouseOut="mouseHandler(event)" />   
    </mx:VBox> 
    </mx:Application> 
    with Reagrds,
    Shardul Singh Bartwal

Maybe you are looking for

  • How to get all the data stored on a table?

    Hi. I'm tryng to get all the data stored on a database table but I'm losing in trouble. I've looked for a soloution to my problem in the forums but each post I follow related to this issue gives me a different way to solve the problem and no one work

  • Issue w/ new Laptop and Flash in Windows 8/Firefox 23

    Maybe someone can help me with a similar issue.  I am running Windows 8 64 bit, firefox 23.0.1 on a brand new Asus laptop, 3rd gen Intel I7.  I currently have Flas 11.8.x installed and enabled as well as shockwave.  Some pages that seem to use Flash,

  • How to call Function Module in Selection Screen

    Hi All, I have developed one HR Report (Qualification Overview Report: To display all active employees and their Qualifications along with their Proficiency). Already it has 3 selection fields on selection screen and now I want one more field on sele

  • Java L&F: html on jlabel *always* bold

    I'm trying to use HTML with a JLabel that is serving as a JTable cell editor. The UI default for the table and its cell renderers in the Java L&F (as well as most other L&Fs) is NOT bold. Is there some way to use HTML and not have it rendered as bold

  • Iphone 4 Camera is shooting in purple

    Was taking pictures and then next thing I knew everything was fuzzy purple but and still make out an image in the backround. What can I do?