A parallax scrolling method that works with PhoneGap

Hi,
I made a parallax scrolling page into a PhoneGap app, yet...maybe because scrolling is disabled in PhoneGap, it doesn't animated with "scrolled".
What workaround is there? Is there maybe something to un-sandbox about PhoneGap javascript?
Thanks in advance! So much fun making scrolling animations! (seems iOS 8 supports scrolling events in the new style webview too)
Here is some code:
var d = document.createElement("div");
sym.$(d).css({
  position:   "absolute",
  top:        "0px",
  height:     "200%",
  visibility: "hidden"
}).html(" ");
document.body.appendChild(d);
// prevent Edge Animate stage from scrolling
sym.getSymbolElement().css({ position:"fixed" });
// animation frame loop: check scroll position
// each frame and move animation accordingly
var lastScrollTop = 0;
var animate = function() {
  var scrollTop = $(window).scrollTop();
  if (scrollTop != lastScrollTop) {
  lastScrollTop = scrollTop;
  var maxScroll = $(document).height()-$(window).height();
  var scrollPos = scrollTop / maxScroll;
  // scrollPos is 0..1
  sym.stop( scrollPos * sym.getDuration() );
  requestAnimationFrame(animate);
requestAnimationFrame(animate);
So how to modify that to make scrolling animations in PhoneGap Build ?

Unfortunately Lenovo were no help and willing to say anything to get me off the phone - This will be my last Lenovo machine, entirely due to the support which has gone the same way of IBM - pathetic and useless. Sad I'm a huge fan of the machines.
Fortunately I was able to fix this after attempting many solutions, the solution was found HERE, which was overlooked in the beginning due to the title.
Windows 8 needs to be booted from BIOS environment not EFI for the wireless to function. To do this I had to reinstall Windows 8 in legacy mode.
QUICK STEPS for anyone else with the same issue.
1) Of course, backup everything you need to another drive.
2) On the Windows 8 installer USB, rename bootmgr.efi to bootmgrold.efi and the folder EFI to OLDEFI.
3) Before installing change your BIOS setting from AHCI to IDE
4) Boot the Windows 8 Installer USB and install.
5) During the procedure, delete all partitions and create a new one (and leaving the RESTORE parititon windows creates).
6) Windows will automatically install drivers and wireless can be used during the setup procedure.
N.B. Only drivers required were for APCI and CardReader. For this you need the Power/Energy Management (I recommend Win 7 version) and Realtek USB2.0 Card Reader drivers (again, Win7 recommended)
HTH and saves lots of time wasted with drivers.

Similar Messages

  • Question about synchronization the methods that work with Properties

    Hello everyone
    I have the following problem with the properties file and synchronization.
    I read properties after the programm was started. And If the properties exist the programm load the properties (java.util.Properties) from the properties file.
    Than I have make the possibility to change this properties in GUI and save it. That mean that the properties file will be used from two plases: the first at the beginning and the second in GUI.
    I wrote the wrapper for properties, say ApplicationProperties.
    I defined ApplicationProperties as the Singleton. At this file I defined
    setters/getters for my variables. This class has also two methods
    load properties or save properties. This two methods work with the propertiesFile the instance of java.io.File.
    The first reads the properties with FileInputStream and the second save it to this file with the FileOutpuStream.
    My question is, do I need to synchronize this two methods to make it thread save?
    private File propertiesFile;
    private void loadPropertiesFromFile() throws FileNotFoundException, IOException {
         FileInputStream input = null;
         try {
              input = new FileInputStream(this.propertiesFile);
              this.properties.load(input);
              updateSettingsFromProperties();
         } catch (FileNotFoundException fnfE) {
              throw new FileNotFoundException("Cannot find the properties file.");
         } catch (IOException ioE) {
              throw new IOException("Cannot read properties file.");
         } finally {
              if(input != null) {
                   input.close();
    private void savePropertiesToFile() throws IOException {
         FileOutputStream out = null;
         try {
              out = new FileOutputStream(this.propertiesFile);
              this.properties.save(out, PROPERTIES_DESCRIPTION);
         } catch (IOException io) {
              throw new IOException("Can't save properties.");     
         } finally {
              if(out != null) {
                   out.close();     
    }Thanks a lot for your advise!

    Will you ever be reading or writing the same file from multiple threads at once?
    Synchronisation can prevent this from happen, but does it ever happen at the moment?

  • How do I get a driver for KONICA MINOLTA C250 UV2.0.0 that worka with os 10.6.

    Where do I find a driver for KONICA MINOLTA C250 UV2.0.0 that works with os 10.6.7 on my MBP

    I googled, "C250" and come up with this web site:
    http://onyxftp.mykonicaminolta.com/download/SearchResults.aspx?productid=831&fil etypeid=0
    scroll 3/4 down the page. It's there. You can google too.

  • How can I make an icon that links to a webpage that works with Mac and Windows??

    Hi!
    I burn CDs with my photos and send them to clients.   Besides the photos folder, I would like to include a file (similar to the .webloc files on the Mac Desktop) that can be clicked and it will be linked to my website - it will open up a browser window and go to my website .      Is it posssible to make one of these icons that works with both Macs and Windows machines?  Thanks!

    Now it works!  Thanks, Denico!
    The reason I saved to text:   The first time I followed your instructions, it did not work.   I tried to figure out what I did wrong and saw that you wrote to "save as plain text."   I did not know what this means and there was no option available to save a plain text.  So I looked around and saw "save as stationery" and I guessed that maybe that was what you meant.   And after that, it worked!  But the next thing you know, the icons started duplicating themselves.
    I guess I had made a different mistake in the beginning and I fixed it without knowing what it is.
    Thanks for clearing that up.
    But just one question.  WHY does saving as "stationery" make an icon duplicate itself?

  • A UPS model that works with Mac Native software to do a graceful shutdown and automatic restart during a power failure.

    I've tried 3 UPS's (2 APC and one TripLite) that state they are OSX compatible, however, they do not fully respond to the native osx setting in (system Preferences/ Energy Saver/ UPS/Start up automatically after a power failure). This is what happens:
    During a power outage, the OS does a graceful shutdown, but does not reboot when power is restored. 
    Apparently, the UPS is not notified to turn off during the shut down process. The power (on-Off-On) cycle is required by the mac to restart.
    Trip lite tech support says they have software that works with Windows and linux to do this, but not mac.
    I've tried two older APC UPS's, One Smart UPS1500 and a Back-UPS 1500 with the same result on two different servers and one iMac.
    At this point I'm looking for a make and model of a UPS that does work. If anyone can verify a make and model that actually does this, I'd greatly appreciate it.
    Its a simple test, just pull the plug on your UPS, wait for the system to shut down, and then plug the UPS back in. The system should reboot.

    Many of the CyberPower UPS units are compatible. Checkout the home solutions on this page: http://www.cyberpowersystems.com/products/ups-systems.html

  • I just upgraded to os 10.9.5. When I try to open iPhoto, I am told that the version I have(9.3), is not compatible with the os. But it came with it when I upgraded. What do I have to do to get an iPhoto that works with 10.9.5? TIA

    I just upgraded to os 10.9.5 on my 15 " macbook pro from os 10.7.5. When I try to open iPhoto, I get the message that it is not compatible with the os. How can that be??? It came with the upgrade. It says the version of iPhoto is 9.3. How do I get an iPhoto that works with os 10.9.5? TIA

    This screenshot shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgradeto iPhoto 9.5.1 and which require a purchase:
    Note 1:  every day more users are reporting problems with iPhoto 8.1.2 so I've included it in the non compatible category.
    Note 2:  If your previous version of iPhoto was iPhoto 7 (08) or earlier you'll need to download and run the iPhoto Library Upgrader 1.1 application on the library before opening it with iPhoto 9.5.1

  • Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Hi ron1098,
    Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
    See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Anyone know a calendar creator program / software for iMac/MacBook that works with Maverick?

    Looking for a Calendar Creator type software that works with Maverick for iMac / MacBook. Please help.

    Quicken 2007
    Quicken 2015 information

  • What is the latest version of bluetooth that works with IOS 6.1.6 on an iphone 3gs

    what is the latest version of bluetooth that works with IOS 6.1.6 on an iphone 3gs??  I'm thinking of getting some bluetooth earbuds, but don't know if 6.1.6 will work with any bluetooth version beyond v2.1...Any thoughts, anybody???

    The iPhone 3GS supports Bluetooth 2.1 and earlier; all versions of Bluetooth are backwards compatible.
    (118058)

  • I purchased Label Printer Pro 7, but it does not work. It crashes. Please recommend an address/shipping label program that works with Avery labels. Thanks.

    I purchased Label Printer Pro 7, but it does not work. It crashes. I press print, and the program closes. I press save, and the program closes. I press print and the program closes. I have had an email exchange with Pabel Printer Pro 7, but the best they could offer was to go to Utilities and click on fixed permssions. I have done that several times, and the program still doesn't work.
    Can you please recommend an address.shipping label program that works with Avery labels that I can purchase, and that is also simple to use?
    Thanks,
    Paula

    I purchased Label Printer Pro 7, but it does not work. It crashes. I press print, and the program closes. I press save, and the program closes. I press print and the program closes. I have had an email exchange with Pabel Printer Pro 7, but the best they could offer was to go to Utilities and click on fixed permssions. I have done that several times, and the program still doesn't work.
    Can you please recommend an address.shipping label program that works with Avery labels that I can purchase, and that is also simple to use?
    Thanks,
    Paula

  • How can I obtain a version of Print Studio Pro that works with Photoshop Elements 13 (64 bit)?

    How can I obtain a version of Print Studio Pro that works with Photoshop Elements 13 (64 bit)?  The advertising refers to Print Studio Pro 2 but all I find available to download is version 1.35.

    Thanks - I did notice that the 2 was a superscript on one site but on another (I think the one for the Pro-10 printer) it was definitely a 2 in line with the rest of the text and separated by a space (at least on my browser).  At any rate, I suspected something of the kind and will simply use Photoshop Elements 11 when I want a pattern print until the change is made.
    If you have an inside line to Canon you might also suggest some changes to their Image Garden program, specifically its handling of DVD label projects.  It has several themes and within each theme several layouts.  As far as they go these are fine but they do not give nearly enough flexibility.   The boxes for insertion of images are useful as is the simple procedure for rescaling the image so it is cropped in varying ways while staying within the fixed box.  However, it should be possible (a) to relocate the boxes on the page and (b) to resize and reshape the boxes - probably by a control which would become available by right-clicking on the box.  For example, there are times when the user might want to include a full 16 x 9 frame shot as one of the images, and in general the aspect ratios of the provided boxes do not permit this.
    I have over the years preferred to use Word for this purpose after setting up masks to expose just the printable area of the DVD or Blu-ray disc, setting up the margins so that the center of the disc is in the horizontal center of the page, and finally introducing text and pictures and adjusting the font size of blank lines above the disc to line everything up properly in the vertical direction.  A typical layout might involve one large picture, located so the center hole and the curved outer edge do not block anything important, or two pictures side by side, or four pictures centered vertically (to minimize the effect of the outer edge of the disc) but possibly of different widths (so as to make both close-ups and wide scenes optimal on the same disc label).  The text then goes above and below the pictures.  All of this works perfectly so I probably wouldn't use Image Garden very often for this purpose, but the inability to resize and relocate the boxes must be very limiting for others as well. 
    Some of the layouts have image locations severely reduced by the edge of the disc.
    As I said ... if you have an inside line to Canon .. but if not, please excuse the length of this post!

  • Any pre keyed effect sites that work with adobe premiere elements 11?

    I have been trying to find a legit non scam/virus site with pre keyed effects like explosions, gunshot fire, fire, and other effects like that.
    Most sites that I've tried are virus' or only work with imovie.
    Anyone know of any good sites that have pre keyed effects that works with adobe premiere elements 11? (they don't have to look good, I am just practicing with those)

    In my book "Cool Tricks & Hot Tips for Premiere Elements 11", I recommend and show you how to use clips from the wonderful site http://detonationfilms.com/ to create explosive effects.

  • Is there any Sound card 5.1 include stereo mix that working with MacBook Air such as Creative Labs SoundBlaster X-Fi Surround 5.1 Pro Entertainment System ? and if there any another sound card can you tell me what is it please ? Thank you.

    Is there any Sound card 5.1 include stereo mix that working with MacBook Air such as Creative Labs SoundBlaster X-Fi Surround 5.1 Pro Entertainment System ? and if there any another sound card can you tell me what is it please ? Thank you.

    Okay, I did my best searching and I couldn't find anything that matched all your descriptors. I did do a search on both decoder numbers. SB0256 returned very little results, but with SB0466, I was able to find this ebay listing:
    http://cgi.ebay.com/ws/eBayISAPI.dll...6_fvi%3D&_rdc=
    This card isn't a Champion like you suggested. And with my complete lack of knowledge, I don't know what I/O dri've bay means. But since it is PCI and the decoder matches the number you gave me, this card should be adequete, right?
    Whether it works or not, my search indicated it might be very hard for me to find that card (or any PCI card for that matter). Everything I saw was out of stock. I know this is a forum for Creative, but are there any other manufacturers that will allow me to accomplish my goal, either with current cards, or discontinued cards? Thanks again
    Oh, and I will vote on that thread. I probably won't wait for them to release the decoder since I need it now, but I still believe Creative should be giving the customer what they want

  • Is there a updated list of video card/adapters that work with FMLE

    I am looking to buy a video card or adapter that work with FMLE. I am trying to live stream to ustream. I am looking for a video card preferibably with composite input.

    http://www.adobe.com/support/documentation/en/flashmediaencoder/FMLE_DeviceMatrix3.1.pdf

  • Acrobat 9 does not recognize the smart card reader that work with other app. Can someone help me?

    Hi to All,
    Acrobat 9 (included in CS4 design premium) does not recognize the smart card reader. I have a smart card reader ACR38 smart card that works with all applications except Acrobat 9 pro. I tried to uninstall and reinstall it again, but when I try to insert the digital signature message is always the same, that does not find the Acrobat reader. Can someone help me?

    Hi MartinR
    Thank you for your reply, i have tried what you suggest, and it did not work, the i DVD opening title changed but not the embedded movie.
    Perhaps it is a setting in Final Cut Express?
    After capturing my footage, i open a new project then i convert all clips to anamorphic, to give me the letterbox effect, i have tried now with and without anamorphic.
    In my canvas screen, the footage does not fill the square, even if i have not selected anamorphic, and fall well within the TV safe areas, but the only way to ill the canvas up is to crop it bigger, but still when i export it does not give me the full screen view.
    Any ideas?

Maybe you are looking for

  • Firefox sync

    Sync is not working correctly for me. 1. Installed FF on my PC - no bookmarks yet 2. Installed FF on my tablet - no bookmarks yet 3. Setup FF sync on my PC and and accessed my sync account via the web. I cleared the sync data. 4. I then enabled sync

  • App-v 5.0 Sequence package that requires reboot?

    Hi, I'm sequecing a package that requires a reboot. When I do the reboot, I cannot continue packaging (it does not give me the option to continue). Please advise. J. Jan Hoedt

  • Internal Server Error (500)

    Hello, I am keep getting this Internal Server Error (500) when I am trying to use https://cloud.acrobat.com/send Is there a problem with server in general or is it specific to my account? How can I resolve this and start using it again? Thank you for

  • How can I get Firefox to show ALL the pictures of people's profiles once I log onto myspace?

    Every time I log onto MySpace, on every profile I go onto to look at, there are at least some if not most of their pictures blank, it won't show me their pictures, even when I look at my profile pictures it won't show most of them, it'll be a blank s

  • SQL Procedure working when run manually, not running from sql server agent

    I have a procedure that runs fine using the execute command in SSMS, however putting the same command in a job gives the following error. line 9, character 9, unexpected end of input The code takes a very long XML string in UTF-8 encoding and puts it