Can I remove the Edge Animate stage from the body of my HTML but keep the .js file in the head?

Howdy,
I have designed a couple of Edge Animations for a client to insert on a single page of their website.
The client wants to package all .js files as one for the site to reduce the pageload - but if they do that and simply remove the stage elements from this page the animations take over the page where the stages are supposed to be.
I am hoping it is possible to add some logic to the .js file about "if these divs don't exist, do nothing" but I do not have enough coding skill to alter these Edge Animate .js files.
Does anyone have any suggestions?
Thanks!

Hi Sarah,
Thanks for the reply.
What my clients want to accomplish is is to package all the separate .js files for the website into one file, so all the pages load faster.
This includes the Animate.js files which are only to be used for the home page, so of course random animations appear on the rest of the pages which don't have the animate DIVs in them.
I have suggested they package all the .js files EXCEPT the animate.js ones and just load them separately on the page the animations are to appear on.
But they are still wanting to do them all in one package however (!!) so my question is:
Can some code be added to the animate.js files that says something like "if these DIVs are not found, make the animation do nothing"?
It is possible the relevant code cannot be added in which case they will have to do the animate.js files separately, but as they have asked me about it I thought I would ask people in the forum if they knew how to accomplish this.
Cheers,
Jim

Similar Messages

  • Can't remove old owners iCloud acorn from my ipad tried contacting them but get no response ?

    Can't remove old owners iCloud account  from ipad tried contacting them but no response ?

    In which case, you have an iPad that you'll never be able to use.
    There is no way around the Activation Lock. It is a security feature.
    Did you not check that the device had been properly wiped and reset before buying it?
    If the previous "owner" is now suddenly being hard to find, you probably bought a stolen iPad.

  • How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac.  Now I can't remove her e-mail address from Facebook.  It was suggested to me that I try clearing temporary files from Safari but I can't find

    How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac running Mac OSX 10.7.5 and Safari 6.1.6.  Now I can't remove her e-mail address from my computer.  When I open Facebook her address shows in the user button.  I do not have a Facebook account.  It was suggested to me that I try clearing temporary files from Safari but I can't find anything that tells me how to do this.  Are temporary files the same as the cache?  It also was suggested that I try clearing Safari cache.  How do I do that?

    Check Safari/Preferences/Passwords to see if the Facebook account is there. If so, select it and remove it. If you are still having problems, Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. If that doesn't work, Safari/Reset Safari.

  • How can I remove all Time Machine data from an external HD, while retaining the other folders/files on the disk?

    I recently replaced my old Macbook Pro with a new Macbook Pro Retina.
    The original MBP had Time Machine set up on an external HD, and I also had some manually saved/backed up files (stuff that didn't need incremental backups; very old stuff) on the disk as well, in folders.  This worked fine and well for the life of the original MBP.
    When I set up the MBPr, I did not elect to transfer everything over from a Time Machine disk, as I wanted a Fresh Install; I chose to just re-download/install the apps  I needed from the App Store.  Much cleaner, more stable.  I updated to Yosemite immediately so, it gave me more of a  clean install.
    The problem is, Time Machine now won't read any Time Machine backups from that disk.  Migration assistant can pull data from it, but it's a bit wonky.  It was easier to just manually copy over what I needed.
    Now, I just want to "reset", and completely remove the old Time Machine data from the external hard drive, since it is completely useless to me now (I can't access it on this computer, and it's taking up space).  I want to remove the Time Machine data, as if it were never there, but keep my other folders/files that are on the disk (so, a format is not feasible).
    I will then set the disk up as a new, fresh Time Machine disk for the new MBPr. 
    What is the proper method for removing Time Machine data from an external disk (which doesn't seem to be associated with this machine anyway)?  I know a simple rm -rf will cause problems.
    Thanks for any help provided.

    See the yellow box in #12 of Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum).

  • HT1918 Hi, I have registered at apple site, and i have submitted the credit card information, they deducted some ammount without my permission, why they did that? how can i remove my credit card details from that site or deactivate my account?

    Hi, I have registered at apple site, and i have submitted the credit card information, they deducted some ammount without my permission, why they did that? how can i remove my credit card details from that site or deactivate my account?

    From that HT3702 page :
    If you update your billing information, the iTunes Store or Mac App Store will place an authorization hold on your payment card account, usually in the amount of 1 USD or the local currency equivalent, to verify your account information.
    You might see authorization requests on your online statement. These requests aren't actual charges; they are tests to confirm that your payment card account is active and has available funds to accommodate transactions. Authorization holds are removed by your financial institution shortly after your purchase clears. The time it takes to remove authorization requests varies by financial institution.
    The number of days that it takes to diappear varies by bank, but it's usually a few days - though with the weekend coming up it might take an extra day or two

  • How can I remove my old apple id from iTunes and put the new one in?

    Morning all, how can I remove my old apple Id from my I tunes account and replace it with the new apple ID, ?
    Many thanks
    Kimber. Lee

    Sign out of iTunes and sign in with the new ID. On your computer, under on of the iTunes menus, on your iPad Settings > iTunes and App Stores and tap on the Apple ID.
    Note that all apps downloaded under the previous ID are locked to that ID, and you will have to sign back onto it for any updates.

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

  • How can I remove a person's face from a photo and then replace the spot with a person's face from another photo?

    How can I remove a person's face from a photo and then replace the spot with a person's face from another photo?

    In Editor, go to the expert tab.
    Open picture B, the one you wish to select the "replacement" face from to add to another picture.
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the face. You will see an outline ("marching ants") once the selection is complete
    Go to Edit menu>copy to copy the selection to the clipboard
    Open picture A, then go to Edit>paste
    Use the move tool to position the face from picture B to cover the face on A
    In the layers palette you should see picture A as the background layer, and face B on a separate layer

  • How can one remove a raised texture pattern from a scan of the original photo?

    How can one remove a raised texture pattern from a scan of the original photo?
    Have several wedding photos scanned into PS Elements that were printed by the pro, photography studio on a raised pattern paper. Would anyone know how to remove the honey comb type pattern so that the picture canbe printed flat on glossy color photo paper?
    Any help would be greatfully appriciated.
    Thanks,

    The best way to remove a pattern is to use a Fast Fourier Transform.  There's a free plugin (as well as examples and instructions) here:
    http://dl.dropboxusercontent.com/u/6795661/4N6site/improc/fftplugin/examples.htm
    Using the plugin requires editing the individual colour channels, which PSE does not natively allow.  You'll need the reasonably-priced Elements+ addin:
    http://elementsplus.net/
    Here's a crop at 100% of the result I got:
    The pattern is much reduced.  With some experimenting, you can probably do a little better.
    Ken

  • How can I remove apps no longer wanted from the cloud

    How can I remove apps no longer wanted from the cloud? they are not used any more and taking up space.

    Welcome to the Apple community Mickeymom.
    The apps are not actually in your iCloud storage, they are links to the apps in the App Store. What you are seeing is your purchase history and as such cannot be deleted.
    You can however hide your purchases, which you can do from the QuickLinks > Purchased option from the main page in the iTunes Store on your computer.

  • Whenever I try to download the Edge Animate tutorials it says currently having issues ant to contact customer support

    Whenever I try to download the Edge Animate tutorials it says currently having issues ant to contact customer support

    Hi,
    Now sure from where you are downloading edge animate tutorials. Can you please post any link or screenshots?
    If it is within browser then..
    1. Try in different browser.
    2. Clear the browser cache.
    Regards,
    Devendra

  • Edge Animate Stage size in Dreamweaver fluid grid

    I have developed an animation and have almost everything scaling and resizing acceptably in a Dreamwaevr template...except the stage.
    In Edge animate I have a stage size that is 1212px x 400px. When the animation is viewed on a PC all the dimensions are fine, but when viewed in tablet or mobile phone, the vertical height remains at 400px... which leaves an enormous gap between the bottom of the animation and the next div.
    I have set the stage dimensions to %, and have turned on the "link width & height" switch, and the stage still does not respond in vertical height.
    How can I get the stage to respond vertically with a fluid grid layout in Dreamweaver?
    I also note that every time I open up a previously saved Edge Animate file, the stage automatically opens the file at 550x400px, instead of the correct dimension for that animation, so that I have to then reset the stage size to what is correct for that animation... ..any reason this may be so?
    Thanks,
    Glen.

    Thanks for your reply. You're right about most people not resizing their viewport during a session, but unfortunately the problem exists whether the screen is being resized or not. Refreshing the screen doesn't solve the problem.
    The width of the div adjusts to the width of the screen as expected and the Edge Animate composition inside it does too, but the height of the div doesn't adjust. As the animation gets smaller to fit the width, the height of the div that contains it remains the same, leaving empty space at the bottom of the div. What is needed is for the div to scale to fit the page width proportionally. Instead, only the width is adjusting.
    So I guess I need to know if there's either a way to force the div to scale proportionally or a way to tell it to adjust to the animation that it contains.

  • Reinstalling the Edge Animate trial

    Hi guys
    After installing the Edge Animate trial version on my old PC, the PC crashed and I'm having trouble getting it going again.
    Can I reinstall the trial version on my laptop instead? I'm doing an assignment for the Adobe GenPro course, so it's urgent.
    Thanks
    David Butler
    <Removed by Moderator>

    Dbutlerdiddit please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html for information on how to reinstall Edge Animate.

  • How can i remove unwanted e-mail address from my list?

    how can i remove unwanted e-mail address from my list?

    Go to settings -> mail contacts and calendars -> tap on the desired account and choose delete at the bottom of the page. This will delete the email accunt from the device.

  • Why i can't remove my credit card number from my account ?

    why i can't remove my credit card number from my account ?
    i always remove my credit card number after purchase apps , but i try at this morning it did't allow be to remove it anymore , can someone tell me why ?

    It happens on Mac App Store & iPhone App store as well.
    So clearly the problem is on my Apple ID..
    I've changed my credit card details on my Apple ID but it doesn't reflect onto my phone when I login after restarting the phone. Even if i sign out.
    When it reaches the part where I would need to verify my phone after entering my password. It just keeps requesting for my password and never shows me anything.
    If I click update apps it'll just disable my account. Even on my Mac App store same thing happening.

Maybe you are looking for

  • Insert or Update data from PROD dc to DEV DB

    We have one instance of a DB in PROD box and another in DEV box [unix] Requirement is to write a script to copy data from PROD to DEV for 10 related tables. Store Procedure will have input argument as Number or FromDt and To Date [date range] Can any

  • Help with BAPI_VEHICLE_CHANGE_MULTIPLE

    Hi, I have created a Vehicle using BAPI_VEHICLE_CREATE. Now I want to create a Sales Order for this Vehicle using BAPI_VEHICLE_CHANGE_MULTIPLE. But not able to map the fields properly. Any help or sample mapping? thanks, Ags

  • Rac setup ip address config

    Hi hussein/heliosl, I want to practise install RAC. One of its requirement is to have 3 pairs of IP addresses? on both nodes? I am correct with this understanding? Thanks a lot

  • I just returned from vacation in the states and I can't connect to the internet

    i can't connect to the internet on my mac air.  I know that the internet connection is good because other devices and computers are using it.  I'm not sure if it is because I used my computer in the states while I was on computer.  Can you help me ge

  • Bid decoupled scenario

    Hi all, We are running SRM 7.01 and using the Bid Decoupled Scenario. We create the RFX in SRM and send it to the Supplier Portal (SUS). We have checked in the SXI_MONITOR and goes out SRM and enters SUS without any error. Where can I see the RFX in