Edge animate - How to hover and active effect in CSS ?
Hi
I have facing some problem in adding hover/active effect in css.
For examples - i have two text button - (home & about us)
i want to add functionality that, when i hover on button, it will show underline, when click it, it will active with different color
& when i click anther button active button should be deactive & clicked button should be active.
Plz help...
Regards
Susanta Kumar Muduli
Hi there,
The easiest way to achieve this would be to specify the properties with code since there is no animated transition that you're looking for.
Start by opening Edge Animate and making two text fields with "home" and "about us". Then, name the text fields with a <div> ID by changing the name in the Properties panel. Click in the top text area and change the name <div> ID to something that's easy to identify with. I chose "homeText":
Repeat this step for the "about" text field. Next, click the Open Actions icon next to your home text field object in the Timeline area:
Choose "click" in the pop up menu that appears:
Copy and paste this code below (this is CSS code styling the color property). Make sure to change "homeText" to whatever you chose to call the home text field object:
sym.$("homeText").css("color", "#650097");
sym.$("aboutText").css("color", "#000");
In this example I made the home link's active color #650097 (purple). This code tells Edge Animate to make the home link purple and to make sure that the about link is the default black (#000).
Next, click the plus button in the Open Actions window. This time choose "mouseover". This is where we will add the code for the hover functionality.
Copy and paste the following code into the code window:
sym.$("homeText").css("text-decoration", "underline");
Finally, hit the plus button again to add one more event to the buton. This time choose "mouseout". This code will add funtionality to the button to make the underline disappear after the user is not hovering over it anymore. Copy and past the following code into the code window:
sym.$("homeText").css("text-decoration", "none");
Repeat these steps for the aboutText button. The code for the about button is below.
Click:
sym.$("aboutText").css("color", "#650097");
sym.$("homeText").css("color", "#000");
Mouseover:
sym.$("aboutText").css("text-decoration", "underline");
Mouseout:
sym.$("aboutText").css("text-decoration", "none");
If you need additional clarification / instruction, let me know. I hope this helps!
Similar Messages
-
In Edge Animate, how do I fade an image in on mouseover?
In Edge Animate, how do I fade an image in on mouseover?
Thanks!You can either make a symbol and use a transition in Animate and use play() and playReverse() on mouseenter and mouseleave or you could use animate() on the element for our mouse events.
fadeout
sym.$("elementName").animate({"opacity":0.00},3000);
fadein
sym.$("elementName").animate({"opacity":1.00},3000); -
How many paired and active devices will bluetooth on IPad 3 support at a time ?
How many (Paired and Active devices) will Bluetooth on the Ipad 3 sopport at a time?
Actually that is not quite true. Bluetooth is limited to one connection per device profile. That is to say you cannot have two bluetooth headsets actively connected at the same time, but you could have a bluetooth headset and a heart rate monitor, as the hrt monitor and the headset would be using different profiles.
-
Adobe Muse and Edge Animate - How do you consolidate files on server/ftp?
Hello everyone,
I am working on a site, and I recently added Edge Animate animations to it. They look great, but the only issue I'm having is that the site doesn't load as quickly as I would like it to. I did a few speed test and I think what's causing the load time is that I have about 5 different Edge Animate animations and they each have their own seperate folder with their own javascript in a folder called "Assets."
Is there a way to consolidate the "Assets folder," so that my site loads faster?
Any help would be greatly appreciated!Hi, VelveteenWebDesignGroup-
You're in luck! We just added in a feature to the latest version of Edge Animate CC (3.0) to enable the CDN option for OAM publish (what we call the "Animate Deployment Package"). This means that your Animate compositions can now references jQuery and the Animate runtime from the network instead of from the project directory. (Please note that this will only make sense for Dreamweaver and Muse integration with OAM and won't make sense for InDesign.)
To turn this on, launch Animate and go to File > Publish Settings. Then select the Animate Deployment Package on the left and click "Host runtime files on Adobe CDN." Save and publish, and you should be good to go.
Hope this helps,
-Elaine -
Captivate 8 + Edge Animate 2014 = Mouse Hover
Hi!
I'm trying to input some interactive animations on Captivate 8 but getting really crazy.
The project is responsive and I done an animated logo in Edge Animate 2014 in a hope that I can put it into Captivate, but when I publish as .OAM and import it into Captivate, these turn into a video and do not have any kind of interaction.
The basic idea is: user hover mouse the logo and that one reproduce an animation.
Any way I can make it work? With a button it's not a option because I have some effects/transictions.
ThnksAt this moment there is no direct communication possible between CP and OAM's. They are indeed only considered to be an 'animation', not interactive. I regret this also very much, but you have to live with it until this communication improves. Maybe it is possible with JS, but in that case I pass the question to David (TLCMediaDesign) because I have not experimented yet to use JS for that purpose. I have inserted OAM's with interactivity, like buttons to stop, to trigger something happening, but with the buttons inside of the OAM, not in CP. OAM has to be considered as a separate block inside CP.
-
Edge Animate issues in mobile and tablet devices
I am brand new to Edge Animate, have watched several tutorials and have done research on my problem but haven't found the answer to my problem.
I opened an HTML (5) page in Edge Animate, and animated two items on the page. I created a fade in for the name in the header, and I created a text slide in with some header text in the main content on the page. The text slide in starts at 0 opacity and 20% size off page, then as it slides in it grows to full size and reaches 100% opacity. The page (created and maintained in Dreamweaver CC) is centered in the browser window.
Everything work great in all the browsers on a regular PC. (I have tested on pc in Safari, and it seems to be fine there too.) The only issues occur when viewed on an iphone 4s, ipad, (both of which have the latest version of ios) and on a kindle fire.
On all of the above listed devices, the page starts full size, then becomes smaller, (following the 20% setting maybe???). The name fades in fine, and once the text slides in (starting small as desired and gaining size and opacity) and completes, then the page comes up to full size. BUT, it doesn't center the page in the browser. I tried loading the page both in safari and on google chrome on the ipad.
I don't know if I missed a setting in the export, or if there is something I have done wrong in the creation of the animation? I've tried different settings, and now I am hoping to get some advice from this community. Thank you in advance.
If you would like to see the page, please go here demo page
All suggestions are appreciated.
Thank you!Hopefully we will find someone with some idea of what is happening. Fairly new program, I guess.
My larger issue by far at this point is figuring out how I am supposed to be saving the project (existing html work) so that it stays in the page if I make changes to the page in dreamweaver. I have watched every tutorial I can find on opening an existing html page in AE, animating a couple of elements on the page (which is very cool that we can do that!), and the odd thing is all the tutorials take you through the opening and animating, but then they don't say, "to save the project in your site folder....it just ends with animate and viola!!
So I create the animations, save the project--which places a "publish" folder in my site root folder and when I look in the publish folder, Animate has created duplicate html pages of ALL my pages, not just the one I animated, and they are all in the "publish" folder. If I publish the site, the animations work (but my navigation no longer does because, I believe, it is using the publish folder not the site root folder) until I make a change in Dreamweaver CC to the page I animated. Then the animations no longer work!
I'm obviously not saving or publishing the project correctly, but for the life of me, I have not been able to find the RIGHT way to save an existing html page in an existing site root folder...
Thanks for the response...good luck! -
Edge Animate: Change URL, Back and Forward Buttons (JS window.history)
Hi,
I want to build complete homepages with edge animate and i am on a good way but i have only one problem.
A site built in Edge Animate seems to has fluently changes from site to site because it is only one site.
So i have to simulate the feeling of junping to next site ore move forward
An exaple: I have built a site with edge animate with the home button, info button and a contact button.
i can switch fluently from one to the other. so it seems that it is a complete homepage but when i am on contact or on info i cannot klick to the back button on the browser.
so i found on web that i can change the url state.
i made a symbol then made a click event and put the line ---> window.history.pushState("Foto", "Title", "/photo");
now the Url changes from "example.com" to "example.com/photo"
Now the problem: How can i say to edge animate, that when i click the back button on the browser that it hast to go to timeline on a label?????
Please answer me.
I am sleepless until i understand itAmong other things, you have a lot of code errors which modern browsers don't like. X-UA Compatible is necessary for IE browsers. So you can ignore that one. Or if you like clean code, put that meta tag inside an IE conditional comment.
The rest of these errors need attention.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fenergywallwindows.com%2Ftemp%2Fco llections.html
Also, why are you using tables for layout? CSS is much more efficient.
Nancy O. -
I already have the Adobe Creative Suite but I do not have Edge Animate, how do I get it?
I already have the Adobe Creative Suite, but I do not have Edge Animate, which I require for a course I am taking (only need for about 3 months), how do I purchase the single app? It is also not letting me download the free trial.
CC 2014 is not a separate plan, it is the newest version of the CC plan
http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
-so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
If you are sure you don't need the old CC programs
-http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
-read reply #3 about the ORDER of uninstalling & installing https://forums.adobe.com/thread/1242671 -
I created a basic layout with some boxes in Dreamweaver. I set the Overflow property on them to "Hidden". I then opened the page in Edge Animate. However I noticed that when I import stuff, such as an image, then try to drag it into one of the existing DIV's, it won't work. It stays on top of all the other DIV's. However if I create a box or some other sort of DIV directly in Edge Animate, I can drag the Image element into that, so it's enclosed within that DIV.
I guess the workaround appears to be to embed the image into the DIV in Dreamweaver first, then open the page in Edge. However it would be nice to not have to keep jumping back and forth like that. Is there a way to do this in Edge Animate?
Also, I noticed when I select one of the DIVs I made in Dreamweaver, many of the Properties such as Corners, Shadow, and Filters are missing. Can these only be used on DIV's created directly in Edge Animate?Hi, neohtom-
What you're seeing is the difference between what we define as a static div (one that is defined outside of Animate) and a managed div (one that is defined inside of Animate). Due to the fact that we expect other products to change a static div, we limit the amount of changes you can make to a static div. Because we "manage" a div that is created inside of Animate, we allow a lot more changes to be made to a div. Hope that answers your question! I'd suggest creating divs within Animate if you want to eventually change them to have corners, etc.
Cheers,
-Elaine -
Is there a roadmap for Edge Animate for new features and releases in the future?
where can i found a roadmap for the next releases of Edge animate and new features?
Hi tsiky64,
I think you might need to check the screen shot attached: Tech specs | Adobe Reader XI
To download other version of Reader you may visit : Acrobat-Reader Enterprise Toolkit Home
Regards,
Ajlan Huda. -
I had the beta version of Adobe Edge Animate, and when it was released I was able to download version 1.0 for free, and it is still installed on my computer today.
The problem is I might get a new computer, and I'm just wondering if my old projects that I made with that version of Adobe Edge will work correctly if I purchase Edge Animate CC?
Does Edge Animate CC support backwards compatibility all the way back to 1.0?Hi,
Also, sometime it depends upon the feature as well. it is deprecated in latest release then you may get error or warning.
Please download trial version of Edge Animate CC 2014 and test your project.
https://creative.adobe.com/products/download/animate
Regards,
Devendra -
Working with Edge Animate, how do you change layer colors and and names of layers?
For many years, I have worked with Adobe Photoshop, and the ability to change layer color or the name of layers is quite easy. I have been reading around about how to do this with Edge, but, can't find any information on how I might be able to do this. Can you help?
Thank you!
LainKennedyHi Darrell,
Thank you for your answer. When I double click on the layer name, it opens for a second, then closes. I have tried to close the app, shut down my workstation, throw out the preferences, and, nothing seems to work. Am I doing something wrong?
Thank you, again, for your timly answer. Really appreciate your help.
Lain -
Interactive graphs in Edge Animate - how to add the jqPlot library
Hello all
I'd like to add interactive graphs in my Edge project, but can't use SVG. I'm now trying to implement the jqPlot library, but can't get it to work. Here is what I have so far:
In "creationComplete" in "Stage" I've added this:
$('<div id="chartdiv" style="height:400px;width:300px; "></div>').appendTo("#Stage");
(function(){
var plot1 = $.jqplot ('chartdiv', [[3,7,9,1,4,6,8,2,5]]);
Nothing happens, and I'm not sure how to move on, any help would be greatly appreciated.Thank you, Raffalaff. From what I can tell it looks like jqPlot has a few more charts to choose among than Flot, otherwise from that they look very similar.
To get jqPlot working I did this:
$('<div id="jq_chart"></div>').appendTo(".chart");
yepnope({
nope:[
'js/jquery.jqplot.min.js',
complete: init
function init(){
$.jqplot('jq_chart', [ [[0, 0], [1, 1],[2,4],[50,2]] ], { yaxis: { max: 100 } });
Would be great if I could set the div with class .chart to id #chart instead, but don't know how to do that. So until then, class will have to do.
Thanks again, Raffalaff for helping me solve my problem :-) -
Hello,
I am creating a photo gallery with thumbnails of the images
and would like the thumbs to fade in when hovered over. I can get
the fade in to work mostly except that rather than fading each
image in individually, all images fade in when I hover over one. In
addition, I am unable to make the thumbnails display faded to 50%
when the page first loads. I'm afraid I'm not terribly familiar
with JavaScript so any help would be greatly appreciated.
Here is a link to the draft site:
http://www.cas.umt.edu/draft/bruce%5Fcosta/keith.htm
And here is my relevant code as it is now:
<script type="text/javascript">
var dsBrenan = new Spry.Data.XMLDataSet("data/galleries.xml",
"galleries/brenan/photo");
</script>
<script type="text/javascript">
var gEffectInProgress = null;
var gPendingSetRowIDRequest = -1;
function fadeInContent(notificationType, notifier, data)
if (notificationType != "onPostUpdate")
return;
var effect = new Spry.Effect.Fade('main_image', { to: 100,
from: 0, duration: 1000, finish: function() {
// The region is now showing. Process any pending row change
request.
gEffectInProgress = null;
if (gPendingSetRowIDRequest >= 0)
var id = gPendingSetRowIDRequest;
gPendingSetRowIDRequest = -1;
fadeOutContentThenSetRow(id);
effect.start();
Spry.Data.Region.addObserver('main_image', fadeInContent);
function fadeOutContentThenSetRow(rowID)
if (gEffectInProgress)
gPendingSetRowIDRequest = rowID;
return;
if (rowID == dsBrenan.getCurrentRowID())
return;
gEffectInProgress = new Spry.Effect.Fade('main_image', { to:
0, from: 100, duration: 1000, finish: function() {
dsBrenan.setCurrentRow(rowID);
gEffectInProgress.start();
</script>
<!--detail region for main image-->
<div id="main_image"
spry:detailregion="dsBrenan"><img
src="images/keith_brenan_wave/{dsBrenan::@path}"
class="image"/></div>
</div>
<!--master region for thumbnails-->
<div id="wrapper">
<div id="thumbs" spry:region="dsBrenan"><img
src="images/keith_brenan_wave/{dsBrenan::@thumbpath}"
spry:repeat="dsBrenan" width="100" height="100" onclick=
"fadeOutContentThenSetRow('{ds_RowID}');"
onmouseover="hfade.start();"
onmouseout="hfadeout.start();"/></div>
</div>
</div><!--end content div-->
<!--defines fade in and out for thumbnails-->
<script type="text/javascript">
var hfade = new Spry.Effect.Fade("thumbs", {duration:500,
from:50, to:100});
var hfadeout = new Spry.Effect.Fade("thumbs", {duration:500,
from:100, to:50});
</script>Hi,
I've moved the definition lines inside the "thumbs" div and
am still unable to get functionality from the hover effects.
Here's my code:
<div id="thumbs" spry:region="dsBrenan">
<img spry:repeat="dsBrenan" id="tn{dsBrenan::ds_RowID}"
src="images/keith_brenan_wave/{dsBrenan::@thumbpath}" width="100"
height="100" onclick= "fadeOutContentThenSetRow('{ds_RowID}');"
onmouseover="hfade.start();" onmouseout="hfadeout.start();" />
<script type="text/javascript">
var hfade = new Spry.Effect.Fade("tn{dsBrenan::ds_RowID}",
{duration:500, from:50, to:100});
var hfadeout = new
Spry.Effect.Fade("tn{dsBrenan::ds_RowID}", {duration:500, from:100,
to:50});
</script>
</div>
Could my code for the fade in and out on the main image be
causing issues with the thumbs? Here is that code:
<script type="text/javascript"> <!--causes large
image in detail region to fade in and out-->
var gEffectInProgress = null;
var gPendingSetRowIDRequest = -1;
function fadeInContent(notificationType, notifier, data)
if (notificationType != "onPostUpdate")
return;
var effect = new Spry.Effect.Fade('main_image', { to: 100,
from: 0, duration: 1000, finish: function() {
// The region is now showing. Process any pending row change
request.
gEffectInProgress = null;
if (gPendingSetRowIDRequest >= 0)
var id = gPendingSetRowIDRequest;
gPendingSetRowIDRequest = -1;
fadeOutContentThenSetRow(id);
effect.start();
Spry.Data.Region.addObserver('main_image', fadeInContent);
function fadeOutContentThenSetRow(rowID)
if (gEffectInProgress)
gPendingSetRowIDRequest = rowID;
return;
if (rowID == dsBrenan.getCurrentRowID())
return;
gEffectInProgress = new Spry.Effect.Fade('main_image', { to:
0, from: 100, duration: 1000, finish: function() {
dsBrenan.setCurrentRow(rowID);
gEffectInProgress.start();
</script>
Thank you for your patience and time. -
Web icons with different hover and active states?
Hey all,
The only way i can add icons that i know of is in .png format which I cant seem to figure out how to make "interactive".
Anybody know any ways of achieving this effect?
Thanks,Hey all,
The only way i can add icons that i know of is in .png format which I cant seem to figure out how to make "interactive".
Anybody know any ways of achieving this effect?
Thanks,
Maybe you are looking for
-
Hi ...sorry friends I am very new to SAP and that's why sending my foolish queries to u ... hope u will not mind. I am using ECC6.0 and here at my end I encountered a strange issue (may be this is std SAP functionality but I couldn't understand the l
-
Trying to install update 8.1.3, my iPad says I need 1.5 gb but I actually have 17.1 gb. Why will it not let me install?
-
Regarding the thread running more than 24 hours
The below is the query executed from oracle side and is running more than 24 hours and not yet over. And multiple threads are running. SELECT COUNT(*) FROM snurk_cmms_csht009_rfs, snurk_cmms_csht008_rfs, snurk_cmms_csht001_rfs WHERE snurk_cmms_csht00
-
Getting "Non supported character set: oracle-character-set-178" exception
Hi, I am using Struts,spring,hibernate and database oracle 9i. There are 2 modules developed by 2 units, both uses different versions of Spring and hibernate.As well one uses stored procedures and one uses prepared statements. I am integrating both u
-
Hello Everyone.. I am using ISControllerReady() function having structure as IsControllerReady(ByVal ID As Integer,By Ref iControllerReady As Integer). ref value has if B0h then controller not ready and b1h if controller is ready. how to I assign ref