Assistance needed with hovers

Hi there,
In my project, I have several squares. When the mouse is hovered over these squares, I want them to change colour and when the mouse is taken away, I want them to change back. I managed to achieve this by creating copies of the squares with a different colour, and then showing and hiding appropriately with simple show and hide code, but this caused some problems. Therefore, I am wondering if this can be done via code, perhaps with the :hover CSS selector, or some other means. If so, I would be deeply gratified to know how this could be done.
Many thanks,
Dee Roberts

Hi there, hopefully this will help you out, note that the object who's color we're changing btn.RectangleShape in my example below) has to be a simple shape div in Edge, it can't be a symbol.
Example:
www.timjaramillo.com/code/edge/rollover3_gsap_colorChange
Source:
www.timjaramillo.com/code/edge/_source/rollover3_gsap_colorChange.zip
// code on Stage.document.compositionReady:
// load GSAP anim library
yepnope(
nope:[
          'greensock/TweenMax.min.js',
          'greensock/easing/EasePack.min.js',
          'greensock/plugins/CSSPlugin.min.js',
          'greensock/plugins/ColorPropsPlugin.min.js'
complete: init
//when yepnope has loaded everything execute init();
function init (){
          var coloredSquare = sym.getSymbol("btn").$("RectangleShape");
           sym.$("btn").mouseenter(function(){
                          TweenMax.to(coloredSquare, 1, {backgroundColor:"#938461", ease:Power2.easeIn});
sym.$("btn").mouseleave(function(){
               TweenMax.to(coloredSquare, 1, {backgroundColor:"#000000", ease:Power2.easeIn});

Similar Messages

  • Assistance needed with new monitor and printing from LR3

    I just purchased a new IPS monitor.  I have calibrated it using the HP Display assistant that came with it.  It is an HP ZR 22w.  I saved my calibration as a preset  - however - this is not appearing as a profile when I try to select it in the print module.  the checkbox for "include display profiles" is ticked.  If I allow the printer to manage - the pictures are much warmer than on the IPS display.  My printer is a canon mg6120 and I am running windows 7.  I would appreciate any assistance that anyone can provide.  Thank you

    I think the "HP Display assistant" is a software tool, is that right? 
    Ideally with Lightroom, you should use a hardware calibration/profiling tool (Spyder, Eye One, Color Munki etc).  In particular, you need a monitor profile that contains colour space information.  I had a look through the HP Display Assistant user manual, and it appears the software does calibration but it probably doesn't put colour space info in the profile.  It'll be better than nothing, but a hardware tool is better. 
    However:
    I saved my calibration as a preset  - however - this is not appearing as a profile when I try to select it in the print module.  the checkbox for "include display profiles" is ticked.  If I allow the printer to manage - the pictures are much warmer than on the IPS display.  My printer is a canon mg6120 and I am running windows 7
    This is not what you want to do!  The profile that the HP Display Assistant creates is for the monitor, and only for the monitor.  It gets the right white point and tone curve for the monitor.  What you need in the profile drop-down in LR print module is a printer profile, not a monitor profile (except on very special circumstances). 
    I'm not familiar with the MG6120, but when I googled "profiles for canon mg6120" I got a lot of hits, so I assume profiles are available.  It's quite likely that some came with the printer driver, and were installed with the printer software.  When you select "profile" in LR print module (you may well have to go to "Other..." to see them all) then there should be profiles for the printer - possible lots of them - one or more for each paper type.  If they're not there, see the Canon documentation (or google it) to find out how to load them.   
    If you can't find any profiles for the printer, then try using sRGB (or probably it's "sRGB IEC...").  Without colour management, your printer will probably expect sRGB images, so this should be roughly right, but a specific profile for the printer is better.  This is one of those very special circumstances when something other than a printer profile (and sRGB isn't a printer profile) may be better than nothing.

  • Assistance needed with SG300-10 and QNAP TS-459 Pro II Link Aggregation

    All,
    As the subject specifies, I have a pair of devices on a local network that I would like to play nicely together.
    My problem:
    If the TS-459 is configured for standalone (No Link Aggregation), then I can access the NAS via Ping, web interface, NFS, etc.. however, If I try enabling Link Aggregation, then I lose TCP/IP connectivity to it and must use QNAP's Finder utility to change Link Aggregation mode back to Standalone.
    What I'm asking is - has anyone here configured a QNAP NAS appliance with Link Aggregation enabled with an SG300 or similar?? If so, could you kindly provide a walk-through on the appropriate settings for each?
    My first attempts on the NAS side were to choose the "Balance-alb" (automatic load balance) and "Balance-tlb" (adaptive transmit load balance) - The QNAP_Turbo_NAS_User_manual_V3.4_ENG.pdf states that these two modes are for "General Switches", so I assumed they should work.. unfortunately, no luck for me..
    Next up, I tried the IEEE 802.3ad / Link Aggregation setting on the NAS, while the device was rebooting, I configured the two GB ports on the SG300 to be a LAG with LACP enabled. Unfortunately, this too did not work as I had hoped.
    I called QNAP support and of course they don't have an Sg300-10 to test with, but will test their TS-459 Pro II to confirm the Link Aggregation settings function as advertised. I hope to hear back from them later this evening. In the meantime, if anyone here has insight, it would be very much appreciated. The NAS and SG300 are for a home lab consisting of a pair of Dual-six core systems with 48GB of mem each for vSphere.
    NAS Details:
    Model: QNAP TS-459 Pro II
    Firmware: 3.4.4 (0718T)
    Drives: Seagate 2TB x4
    Switch Details:
    Model: Cisco SG300-10
    Firmware version active image: 1.1.0.73
    Thank you,
    Burke

    Hi Burke,
    You can use link-aggregation 802.3AD with the sg-300. Try to make the trunk in the sg-300 with LACP enabled (before you make the trunk, otherwise LACP is disabled and you will only be able to do so by deleting the trunk and add it again). Flow control is enabled in the sg-300 (altough i'm not sure if this is needed). I've got the sg-300 and the QNAP TS 439 pro II+.

  • Assistance Needed With Creating a Dynamic Query

    I am attempting to rename several of my primary key/foreign key constraints from the default "SYS" names to something actually meaningful. I have several "semi-dynamic" queries that look something like this:
    SELECT 'ALTER TABLE L_ROLE RENAME CONSTRAINT ' || CONSTRAINT_NAME || ' TO NN_ROLE_ID; ' FROM USER_CONSTRAINTS WHERE CONSTRAINT_TYPE ='C' AND TABLE_NAME='L_ROLE' AND search_cond(constraint_name)='"ID" IS NOT NULL';
    Unfortunately, I have to capture the output of this script and run THOSE statements to get anything done.
    I would like to convert this to simply use EXECUTE IMMEDIATE or if necessary a stored procedure. Unfortunately, I'm a bit confused on what the end result would look like. Any assistance would be appreciated.
    Jason
    p.s."search_cond" is a custom function defined as follows:
    create function search_cond( p_cons_name in varchar2 ) return varchar2
    as
    l_search_condition varchar2(4000);
    begin
         select SEARCH_CONDITION into l_search_condition
         from user_constraints
         where constraint_name = p_cons_name;
    return l_search_condition;
    end;
    For some reason, just running the query outside the function doesn't work.

    OK, try this. Please note that I commented out the actual exec immediate line and instead just dbms_output the commands that will get executed. This way you can try this first to make sure it produces what you expect. Then just put the exec immediate back in when you are ready.
    DECLARE
        TYPE cur_typ IS REF CURSOR;
        v_cursor cur_typ;
        v_query VARCHAR2(1000);
        v_exec VARCHAR2(1000);
    BEGIN
        v_query := 'SELECT ''ALTER TABLE ''||uc.table_name||''  RENAME CONSTRAINT '' || uc.constraint_name ||
                          '' TO NN_''||ucc.column_name||'' '' thequery
                    FROM  user_constraints uc,
                          user_cons_columns ucc
                    WHERE uc.constraint_name = ucc.constraint_name
                    AND   uc.constraint_type =''C''
                    AND   search_cond(uc.constraint_name)=''"ID" IS NOT NULL''
                    AND   uc.constraint_name LIKE ''SYS%'' ';
        DBMS_OUTPUT.PUT_LINE(v_query);
        OPEN v_cursor FOR v_query;
        LOOP
            FETCH v_cursor INTO v_exec;
            EXIT WHEN v_cursor%NOTFOUND;
            --EXECUTE IMMEDIATE (v_exec);
            dbms_output.put_line(v_exec);
        END LOOP;
        CLOSE v_cursor;   
    END;
    /Greg

  • Assistance needed with simple java vocabulary program

    I need to construct a java program that can read in text documents. The program must then display an image and prompt the user to input the word that best-describes the image. If the user is incorrect, however, the program must tell the user how many letters the word has and what the first letter is.

    * @(#)words.java
    * @author
    * @version 1.00 2010/6/8
    import javax.swing.*; //class necessary for GUI
    import java.awt.*; //class necessary for GUI
    import java.awt.event.*; //class necessary for GUI
    import java.util.ArrayList; //import ArrayList class
    public class Words implements ActionListener { //ActionListener is required for the button to function
    //initialize values that will be used in other methods
    int noLetters = 0; //number of letters
    String[] words; //words
    JTextField textNL; //inputs number of letters
    ArrayList<JLabel> list;
    public static void main (String[] args) {
         Word s = new Word(); //this is so you are not referencing non-static methods from a static context (main must be static, but the constructor is not)
         s.go();} //runs following method as a method of the object Words s
    public void go() {
         //build GUI
              JFrame frame = new JFrame(); //intializes frame, this is essentially the GUI
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //sets program to stop when frame is exited
              JTabbedPane pane = new JTabbedPane(); //creates a new tabbed panel
              JPanel panel1 = new JPanel(); //creates input panel
              JPanel panel2 = new JPanel(); //creates output panel
              textNL = new JTextField("", 15); //initializes the text field of the same name from the beginning of the program
              JButton button = new JButton("Enter"); //This button will input the data you have entered into the text fields
              button.addActionListener(this); //tells the button to do stuff when it is clicked (see actionPerformed())
              panel1.setLayout(new BoxLayout(panel1, BoxLayout.Y_AXIS)); //Sets frame to display labels and text fields arranged vertically
              panel1.add(new JLabel("Number of Letters")); //this label tells you what the text field is prompting for
              panel1.add(textND); //adds text field to input panel
              panel1.add(BorderLayout.SOUTH, button); //adds button to input panel
              pane.add("Enter Data", panel1); //adds input panel to tabbed panel
              pane.add("Words", panel2); //adds output panel to tabbed panel
              frame.getContentPane().add(pane); //adds tabbed panel to frame
              frame.setSize(400, 400); //sets GUI intial dimensions
              frame.setVisible(true); //displays GUI
              //end of GUI build
    }

  • Assistance needed with Substitution customisation

    I am currently working on a workflow approval migration Project  on SAP ECC 6.0 ,trying to customize substitution process.    
    I need to enforce end validity date while users are assigning substitutes and based on activity groups/roles , I need to restrict substitution assignment.
    End users would use : SBWP     and IT team would use RH_SUBSTITUTES_LIST program to maintain substitutes.        
    I am not able to find a relevant BADI/user exit for the same .I  tried  WF_SUBSTITUTE  ,but its only for UWL.
    Please advice.
    thanks
    Raghu V

    I thought my request was rejected,  I know i was posting a similar question which was asked earlier , But nobody had confirmed whether standard code modification was the only option .
    However , I am proceeding to modify the standard code now . 
    Solution : I am modifying the Include : LRHW2I01  ( part of the RHW2 function group) to restrict validity end date for a particular substitution profile and a check to ensure the substitute has enough authorizations.

  • Assistance needed with small program for non-profit

    Energy Cycle is a small non-profit based in Virginia. We are using labview for a project that monitors 20 dc generators. Looking for someone who might be able to donate a modest amount of time and help us out.

    I have 20 years of LabVIEW Experience and I have developed a LabVIEW based HTML5 WebSockets Server that works with simple JavaScript HTML5 WebSockets Clients on Mobile Devices like iPhone/iPod/iPad and Android Phone/Tablet devices.  I would be willing to help you out.
    I keep a LabVIEW Demo WebSockets Server I have developed running on my desktop online and here is a link to a JavaScript iPhone Simulator I wrote that runs a WebSocket Client Demo I wrote that can be checked out: http://invbapp.com/iPhoneSimulator
    Note: Run this in the Chrome Browser because it fully supports HTML5 WebSockets! Also, this demo is a single client version and if a new client connects while you are on, it will knock you off, I am working on a multi-client version.
    I bring this up because this sort of technology could be integrated into products or systems to allow control and monitoring from devices like their iPhone.
    Best Regards,
    George Miles
    INVENTEERING, Inc.
    317 South 4th Street, Unit 329
    La Crosse, WI 54601
    Tel: 608-498-4982 or 858-926-5927
    Skype:skype.gmiles (Free Internet Video Phone requires Skype™ Software)
    Email: [email protected]
    Website: http://www.inventeering.com

  • Assistance needed with migration from OSMF 1.0 to OSMF 2.0

    I am using a third party plug-in for HTTP Live Streaming playback, http://code.google.com/p/apple-http-osmf/
    Porting the plug-in from OSMF 1.0 to OSMF 2.0 did not go as smoothly as I had hoped.
    A change in behaviour between OSMF 1.0 and OSMF 2.0 is causing us trouble when seeking in Apple HLS streams.
    *** The problem ***
    Playing a stream where the first segment has a non-zero timestamp, if one seeks for example 10 minutes into the file, the seek will complete instantly and in some cases a single frame from the new time is rendered but the scrub bar and time indicator will reset to zero and count up at a normal rate as if it was playing, then after up to 20 seconds, playback will resume at the new location and scrub bar and time indicator will return to the right value.
    *** How to Reproduce ***
    Build OSMFPlayer using at.matthew.httpstreaming.HTTPStreamingM3U8NetLoader to provide the video element and modify org.osmf.net.httpstreaming.HTTPNetStream to ignore _initialTime in the seek function.
    1) Using OSMF 1.0, the result is a player that plays and seeks normally.
    2) Using OSMF 2.0, the result is a player that does not behave right when seeking in streams that have a non-zero _initialTime.
    Example of a stream that exhibits this problem: http://fastly.zenzuz.com/streaming/GUSGUS/prog_index.m3u8
    *** Codebase / Libraries Involved ***
    - OSMF 2.0
    - apple-http-osmf svn r11
    - OSMFPlayer from the OSMF framework samples
    *** Our Observations ***
    Immediately after seeking, the buffer level in HTTPNetStream will go far above the configured maximum buffer level, by the seek amount, so seeking 10 minutes into the file will result in a buffer level of a tad over 600 seconds. When playback resumes, the buffer level will return to normal. One of the changes in OSMF 2.0 from version 1.0 is a difference in how the NetStream class is used, OSMF 2.0 uses an extra instance of NetStream for buffering.
    *** References ***
    Live document on this issue in open Google Docs:
    https://docs.google.com/document/d/1TO9oyg8cK5ezSLNkeyCTKdtFA__fDY8g7te2PWt-UTw/edit
    Where exactly are the NetStream time codes derived from?

    Hello,
    You can see following doc id for detailed procedure and instructions
    Doc ID: 730365.1 Oracle Database Upgrade Path Reference List
    Regards

  • HT5858 Assistance needed with iPad question.

    I know there are certain businesses that don't allow you to save their passwords on the iPad but this question refers to the ones that I have always saved in the past........Although I have always saved them in the past, for some reason I am no longer able to 'save' certain passwords etc. Does anyone know how I can change this so that I am not wasting time re entering information? Is it just something simple that I have to change under the 'settings'?   Thanks!

    Disable Private Browsing in Safari.
    When top is white Private Browsing is off.
    When top is black, Private Browsing is on.

  • I have a licensed copy of Adobe Acrobat X Pro for Windows.  I recently switched over to MAC OS and would like to move my Adobe X Pro over but the CD will not work for Mac OS?  Can anyone assist me with this conversion?  Best,  James.

    I have a licensed copy of Adobe Acrobat X Pro for Windows.  I recently switched over to MAC OS and would like to move my Adobe X Pro over but the CD will not work for Mac OS?  Can anyone assist me with this conversion?
    Best,
    James.

    you cannot use your pc license to install on a mac.  you would need a separate license (and serial number) for that.
    adobe allows platform swaps, but only with the latest (xi) version, Order product | Platform, language swap
    your option to use acrobat on a mac are to upgrade to acrobat pro xi and change platforms, use a windows emulator (parallels/boot camp etc) on your mac or swap with a third party.

  • Lee3 May 25, 2012 5:36 AM  I have attempted to download with Bootcamp the Windows 7 drivers but the dowload will not progress past 25%!     Is there someone that can assist me with this issue?  : /

    Lee3
            May 25, 2012 5:36 AM   
    I have attempted to download with Bootcamp the Windows 7 drivers but the dowload will not progress past 25%!
    Is there someone that can assist me with this issue?
    :>/

    How long did you wait for the download to run?  The last time I downloaded the Windows support files for Boot Camp, it was going very slowly, so I swapped away to another task.  Several minutes later I came back and it had moved a little, but not much, so I went on with other things.  When I got back to it several hours later, the download had completed.  Perhaps you just need to let it go overnight to perform the downloads...

  • Can anyone assist me with this problem

    hey guys thanks for reading this hey,
    The assignment suggest the use of maps but i am not sure how i can use maps to help me as i am relitivley new to the collections heirahcy. I have attached the code i have so far. i am desperatly in need of help. an explanation of what the program will print is below.
    input needs to be grabbed from file
    Brazil 1 France 2
    France 1 Germany 2
    Germany 0 Japan 3
    Germany 2 Brazil 0
    France 4 Japan 4
    Then the corresponding summary written to standard output should be:
    Team W D L F A P
    Germany 2 0 1 4 4 6
    Japan 1 1 0 7 4 4
    France 1 1 1 7 7 4
    Brazil 0 0 2 1 4 0
    For each team, the output contains the number of games won (W), the number of games drawn (D), the number of games lost (L), the total number of goals scored (F, "goals for"), the total number of goals scored by the teams' opponents (A, "goals against"), and the total number of points (P). A team scores 3 points for a win, 1 point for a draw, and 0 points for a loss.
    here is the code that i have so far assembled.
    import java.io.*;
    import java.util.*;
    class Soccer
         //declare varibles
         StringTokenizer st;                    // StringTokenizer for separating values
         BufferedReader in;                    // BufferedReader for reading standard input
         BufferedReader infile;               // reads data from input file
         String input;                        // holds input data temporarily
         int count;                              // String input to hold line details
         Map teams = new HashMap();          //creates a new hash map for holding data
         public static final Integer ONE = new Integer(1);     //for distinct wrods count
         String[] temp;
         public static void main (String [] args)
              Soccer app = new Soccer();
                   app.input(args);
         }//end main
         public void input(String [] args)
              try{
                   //standard output to screen
                   in = new BufferedReader(new InputStreamReader(System.in));
                   //input from filend class
                   infile = new BufferedReader(new FileReader(args[0]));
                   input = infile.readLine();
                   st = new StringTokenizer(input);
                   count = st.countTokens();
                   temp = new String[count];
                   for(int i = 0; i < count; i++)
                         temp[i] = st.nextToken();
                   }//end for
                   //start if map code
                   Map map = new HashMap(); // Maps words to no. of occs.
                   for (int i = 0; i < count; i++) {
                        // Get number of occurrences of next word
                        Integer value = (Integer) map.get(temp);
                        // Increment number of occurrences of word
                        if (value == null) {
                             map.put(temp[i], ONE);
                        } else {
                             int val = value.intValue();
                             map.put(temp[i], new Integer(val+1));
                   }//end for
                   // Print values of map, one per line
                   Iterator it = map.keySet().iterator();
                   while (it.hasNext() ) {
                   Object key = it.next();
                   System.out.println(key + " = " + map.get(key));
                   } catch (IOException e){
                        System.out.println("ERROR: " + e.getMessage());
                   //call the print method
                   print();
         }//end input
         public void print()
              System.out.println("Team     W D L A P ");
         }//end print
    }//end class

    can anyone assist me with this problem
    Write a better subject, go see you lecturer.

  • Help needed with DELETING COLLECTIONS

    Hi,
    I need help with the following.
    http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_advanc.htm#sthref1337
    According to the above :
    Deleting All Collections for the Current Application
    Use the method DELETE_ALL_COLLECTIONS to delete all collections defined in the current application. For example:
    HTMLDB_COLLECTION.DELETE_ALL_COLLECTIONS;
    Deleting All Collections in the Current Session
    Use the method DELETE_ALL_COLLECTIONS_SESSION to delete all collections defined in the current session. For example:
    HTMLDB_COLLECTION.DELETE_ALL_COLLECTIONS_SESSION;
    Does the DELETE_ALL_COLLECTIONS delete all current collections for a specific user or does it mean delete all collections in an application irrespective of who the users are.
    eg.(a) if I had 20 users logged on and they each have a collection called 'Collection1' would DELETE_ALL_COLLECTIONS remove collection1 from all 20 users or just 1.
    eg.(b)if I had a user that had 3 collections for the current session and I wanted to delete all three in the current session do I use DELETE_ALL_COLLECTIONS or DELETE_ALL_COLLECTIONS_SESSION?
    Hopefully some one can assist me with this query.

    Hi, you could test this yourself. Run 2 sessions, populate a collection of the same name from each session, then delete all collections from session 1. Then, check to see if the collection still exists in session 2. Cheers.

  • Can you assist me with canceling my cc subscription

    can you assist me with canceling my cc subscription?

    I'm confused. You suggest that all that is needed is to go to Cancel Your Membership or Subscription  Creative Cloud. It doesn't work that simply.
    I have attempted to cancel many times and I am sent to Customer Service where it is impossible to contact anyone for assistance.
    I have wanted to change the date that my payment was made. I called in mid February and it was explained that all I needed to do was cancel my account then subscribe once again on the date I want my payment withdrawn. The gentleman I spoke with told me on account of my cancel-resubscribe" I would not be charged the penalty for canceling before the end of my one year contract.
    When I have attempted to speak with someone once again today I have found it impossible to find a number I can call.
    I understand that I need to be on the Adobe CC to take care of this, but I have been there all morning with no success.
    I DID note that it appears I have an account with the payment date I am trying to change. If I were to open an account today, todays date would be my payment date. I don't know what else to do and can not figure out how I was able to contact someone last month.

  • Can you please assist me with my iPhone 6 plus?

    Please advise.

    This forum is for iPhone users to assist others with hardware problems.  If yours is not a hardware problem, you need to find another forum.  We are not Apple.

Maybe you are looking for

  • Time Machine Won't Continue Old Backup

    My computer was being repaired at Apple for a few weeks and I just got it back. No hard drive data was modified during the repair; the optical drive needed work. Anyway, I plugged in my external hard drive a few moments ago and it's backing up the wh

  • Can't boot elitebook 8560p from cd

    My laptop came with a 160 gigabyte solid state drive and I ran out of disk space so I bought a 256 gigabyte ssd drive.  I want to transfer all my software to the new drive.  I bought a data transfer kit that comes with a bootable CD.  I went to the b

  • N73 message "accessory not supported"

    on my mobile N73 appear every 5 seconds, for many time, the message "accessorio non supportato" but i have not accessories in use. How to resolve the problem?

  • Brand New ATV3 - No HDMI video signal.

    Brand New (2013) ATV3 - No HDMI video signal when plugging it in to my TV (Toshiba 52" LED). Ive tried 3 different HDMI cables in 3 different HDMI inputs in various configurations. Still no video. Ive tried power cycling ATV and my TV, and changing r

  • BI Queries are part of database of configuration

    Dear Friends, I would like to know whether BI Queries are part of configuration or database. Thanks in advance & Regards, Chetana Kotian