Add TWO Edge Animations/Stages to ONE web page (without using oam)

Hi All,
This is a bit of a follow on question for those who are adding scalable height/width edge compositions to web pages using the awesome piece of code created by Sarah (http://sarahjustine.com/) and other forum contributors... (attached code below).
My question is: How do I add a second Edge Animate composition to the same page using this method?  So it's using "Stage" already... i'm guessing it's a matter of changing it to "Stage_02" etc in the following code?  I've tried changing the relevant code but so far I have been unsuccessful in getting it to recognise a second stage.
Any help would be appreciated, many thanks in advance for your time.
Jeff
Index.html
<!--Adobe Edge Runtime-->
    <script type="text/javascript" charset="utf-8" src="clouds_edgePreload.js"></script>
    <style>
        .edgeLoad-EDGE-78729757 { visibility:hidden; }
    </style>
<!--Adobe Edge Runtime End-->
<div class="stagewrap">
        <div id="Stage" class="EDGE-78729757">
        </div><!-- Close Edge Animate Stage -->
</div><!-- Close stagewrap -->
Adobe Edge Stage Script
var stageHeight = sym.$('Stage').height(); // Set a variable for the height of the stage
sym.$("#Stage").css({ // Set the transform origin so we always scale to the top left corner of the stage
"transform-origin":"0 0",
"-ms-transform-origin":"0 0",
"-webkit-transform-origin":"0 0",
"-moz-transform-origin":"0 0",
"-o-transform-origin":"0 0"
function scaleStage() {
    var stage = sym.$('Stage'); // Set a reusable variable to reference the stage
    var parent = sym.$('Stage').parent(); // Set a reusable variable to reference the parent container of the stage
    var parentWidth = stage.parent().width(); // Get the parent of the stage width
    var stageWidth = stage.width(); // Get the stage width
    var desiredWidth = Math.round(parentWidth * 1); // Set the new width of the stage as it scales
    var rescale = (desiredWidth / stageWidth); // Set a variable to calculate the new width of the stage as it scales
// Rescale the stage!
     stage.css('transform', 'scale(' + rescale + ')');
    stage.css(  '-o-transform', 'scale(' + rescale + ')');
     stage.css('-ms-transform', 'scale(' + rescale + ')');
    stage.css('-webkit-transform', 'scale(' + rescale + ')');
     stage.css('-moz-transform', 'scale(' + rescale + ')');
    stage.css('-o-transform', 'scale(' + rescale + ')');
    parent.height(stageHeight * rescale); // Reset the height of the parent container so the objects below it will reflow as the height adjusts
// Make it happen when the browser resizes
$(window).on('resize', function(){
     scaleStage();
// Make it happen when the page first loads
$(document).ready(function(){
    scaleStage();

I also met this question, have you solved this question?  Jeff

Similar Messages

  • On one web page I used to be able to view the 'Virtual Tour', and on another web site, everything opens except the pictures

    On this web page ' http://tours.gettwistart.com/public/vtour/display/32481?idx=1 ' I used to be able to view the virtual tour. On this web page ' http://www.theblaze.com/ ' next to each topic the photos which are also click on's do not open. I have to go to Internet Explorer to view these two pages, and, I used to be able to get it all on Firefox.

    Both of the sites you mention use FlashPlayer content.
    Firefox on Windows is having continuing problems that developers from Flash & Firefox are looking into. It is possible you may need to uninstall the troublesome FlashPlayer 11.3 and install Flash 10.3 or 11.2
    Have a look at this article,and any articles linked from it. Note these articles are subject to review and amendment as the situation changes.
    * [[flash 11.3 crashes]]

  • How can i take a full screen shot of a web page without using paparazzi?

    I would like to take a full screen shot of a web page but scroll down to the page as well. i have downloaded paparazzi which seemed to be recommanded but I am not satisfied with what it does any other suggestion to get a clear picture of the page???

    Hi Keith,
    It doesn't have to be a movie.  Snagit, for example can capture the complete browser window as an image which you can then save as a png, jpg, tiff, gif, bmp or snagit document.  That's what I thought the OP wanted so I didn't suggest the built in screen captures.
    Take care,
    ivan
    (To Philo9, I saved this with 80% quality, so it's not the best.  You can save as full quality, png or tiff to get better than this. Click on it to see it full size.)

  • Automated process to pull data from a web page without using VS and PS.

    Hello,
    I'm looking at finding a solution to pull data from an external web page and creating a list. I'm looking for a NON-POWERSHELL AND NON-VISUAL STUDIO solution. I am open to using InfoPath Designer.
    There exists a custom, non-SharePoint page built for us which has raw data. We've already created a custom list to match the data and now need to come up with a solution to automatically update the data. In this particular scenario, power shell and visual
    studio cannot be used.
    Thanks in advance.

    Why would you cripple yourself and restrict PowerShell at the very least which has perfect functionality for doing exactly that.
    I doubt you could use the InfoPath data sources to pull the raw data in, re-map it and save to SharePoint without resorting to some sort of coding within InfoPath.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • Canvas on web page without javascript

    Can anybody tell me that how i can construct canvas on web page without using javascript. Please guide me for the process i should follow
    Edited by: 864869 on Jun 10, 2011 8:49 AM

    You cannot. You could do so in an applet though, but then you're not doing it "on the webpage".

  • How do I have more than one web page on at a time?

    I can only watch or use one web page at a time. I f I try to get on something else it will knock me out of what I was doing on the other page.

    reboot in safemode and repeat the same behavior you did previously. If it works then it's likely an addon issue or extension causing your problem.
    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • Add a global link in each OA web Page

    Hi, All
    Is it possible to add a link which points to the extenal websizt in each web page, I tried to add it in the ICX_STANDARD_GLOBAL_MENU, but It seems not all web pages contains this Menu.
    Best regards

    Hi, Tapash
    Thanks for you reply. But What I want to do is to add a global link to all OA web Pages for all EBS Applications , not only for one application. Is there a simple way to implement it? Or I have to find the root menu for each application and include ICX_STANDARD_GLOBAL_MENU as a submenu entry for each root menu
    If I have to modify each root menu , How can I find root menu definition of one application. can you shed some light on it? thanks in advance

  • Showing applets depending upon user input in one web page

    hi, I have three applets. I want to create a webpage, put three buttons (or other interactions) on it. If button one is clicked, applet one is shown. If button two is clicked, applet two is shown. I want this to happen in one web page only and one applet at a time depending on user input. Is there a way to do it? Do I need to use javascript? I am new to javascript ,but if you can point me to relevant javascript topics, i am willing to learn it. Thanks.

    There are a couple of ways I can think of off the bat...
    1) Create an IFrame that the Applet will be displayed in. The button you press submits a form whose target is the IFrame and whose action is a page with the correct Applet.
    2) Actually load all 3 Applets on the page and hide them all in a invisible divs. The button calls a javascript function that unhides a specific div (and hides all the others to be sure only one is displayed at a time).
    3) Uber-javascript AJAX like control that when the button is pushed makes a request to a page that returns the applet tag which the javascript control then inserts into the page at the proper location.
    I would toss up between 1 & 2.
    For code, search Google for important key words (like "form target iframe", or "javascript make divs invisible").

  • How to download an animated .gif from a web page

    how do i download to my mac an animated gif that is on a web page....when i want a picture or text or something like that i just ...apple shift 4 and "take a picture of it" ...but i want the animation..i have never had to do that on this mac.....a windoze person from the site(chat site) said just right click but my wireless mac mouse doesnt do that....i would appreciate any help.....i do know how to down load from a site that has downloadable .gifs...you just click the download sign they have and no problem....but this is just a random animated .gif from a web page ....i hope my ques is clear....thank you

    Drag and drop it from the webpage onto your desktop. Note that it won't remain "animated" while you're looking at the file's icon, but it should work if you build it into a new website.
    And you can right-click with a Mac mouse - you just have to set it up to do so in System Preferences. (Set the right side of the mouse to be a "secondary click".)
    Matt

  • My iPhone has two computers in (iTunes wifi sync), how can I remove one of them without using it ?

    Hello everyone.
    My iPhone has two computers in (iTunes wifi sync) how can I remove one of them without using that computer?
    because that PC stopped working so I had to recover it. Now everything is gone on that PC.
    Also I bought a new computer (MacBook Pro) and I use iTunes on it in the mean time. Now I want to remove the old computer!
    here is a photo of my (iTunes WiFi sync)
    is there any way that I can use to do that?
    Thanks

    Hello,
    Did you ever find a solution for this ?
    I have the same issue and i dont know how to fix it.

  • HAVE ONE WEB PAGE OPEN AND SUDDENLY ANOTHER WEB PAGE OPENS

    I can have one web page open and suddenly another web page will pop up. Why? It doesn't happen all the time. Like I said suddenly.

    Another thing you can try doing is scanning for Malware:
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    What is the website that opens up? Is it always the same, always different, one of a few, etc?

  • Sometimes when I roll the cursor across a bookmark, my browser jumps to that web page without me clicking on it. Is there any way to turn this function off?

    On occasion I will roll my cursor across a bookmark and my browser will take me to that web page without me clicking on it. I've been unable to detect a pattern; it seems to happen randomly. Can someone explain why this is happening? Am I doing something wrong? Is there a setting I can change to prevent this from happening? And if so, can I be given instructions how to do that?

    this should not be happening, maybe one of your addons is interfering?! - can you try running firefox in safemode or with all extensions disabled for a while and see if this behaviour is still there...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Including an email address on a web page without it being harvested for spam

    As per the title really - anyone know of a method of including an email address on a web page without it being picked up by spam bots?
     Usually if i want to avoid that, I just do a little form with a honey trap, but I'm working on a page that needs contact details for around 100 places, so doing 100 odd forms for a single page might be a little impractical.... Thanks.

    As per the title really - anyone know of a method of including an email address on a web page without it being picked up by spam bots?
    Impossible.
    Usually if i want to avoid that, I just do a little form with a honey trap, but I'm working on a page that needs contact details for around 100 places, so doing 100 odd forms for a single page might be a little impractical....
    Run it inside a script that parses an XML file based on the link's ID - one script, many links, no directly visible mail addresses (though, of course bots can still parse the XML file itself, if not in a hidden directory or something liek that).
    Mylenium

  • How do I enlarge my web page to use the whole screen?

    How do I enlarge my web page to use the whole computer screen?

    Reduce dock size or hide same.
    Also depends on what browser you're using  all have full screen modes.
    Safari :
    http://support.apple.com/kb/PH11941
    To enlarge an entire webpage so it uses the screen, click the arrows in the top-right corner of an app window:

  • How to add byte[] array based Image to the SQL Server without using parameter

    how to add byte[] array based Image to the SQL Server without using parameter.I have a column in table with the type image in sql and i want to add image array to the sql image column like below:
    I want to add image (RESIM) to the procedur like shown above but sql accepts byte[] RESIMI like System.Drowing. I whant that  sql accepts byte [] array like sql  image type
    not using cmd.ParametersAdd() method
    here is Isle() method content

    SQL Server binary constants use a hexadecimal format:
    https://msdn.microsoft.com/en-us/library/ms179899.aspx
    You'll have to build that string from a byte array yourself:
    byte[] bytes = ...
    StringBuilder builder = new StringBuilder("0x", 2 + bytes.Length * 2);
    foreach (var b in bytes)
    builder.Append(b.ToString("X2"));
    string binhex = builder.ToString();
    That said, what you're trying to do - not using parameters - is the wrong thing to do. Not only it is insecure due to the risk of SQL injection but in the case of binary data is also inefficient since these hex strings are larger than the original byte[]
    data.

Maybe you are looking for

  • Field to add to enter number of items which are  shipped to customer

    Hi Sap Experts, We have scenario, we have created sales order with quantity 1(Like soft copy or hard copy of CD). Now we want to create delivery with sales order and quantity is 1(Copy from sales order). Our requirement is some time we have to send a

  • IOS 5.1.1 - I have can no longer get my Exchange EMail

    Not sure what is going on, but I can no longer get my Exchange email. I can send to my self, but the email only shows on my laptop and not on my iPhone. Any help would be appreciated.

  • Sine generator VI output jump

    Hi, I was describing a problem in the Multifunction DAQ board, but it looked like software had a part to play too. Basically, I was running a sine generator VI through analog output to a speaker, and experienced a sudden break or phase skip in the ou

  • Create a new database on machine which already has one database running?

    Hi, How can I create a new database on machine which already has one database running on Windows platform? I am totally new to DB and this is the first time I am creating a database. When I installed Oracle on windows platform database MYDB got creat

  • Why don't names appear when receiving calls?

    I've got a 8120 from O2 UK. When receiveing a call from someone stored in the phone's memory, their name almost never appears on-screen. However, bizarrely sometimes the names do appear. This has been the case since owning it. O2 are not much help. T