Css position:fixed works on mozilla 21/IE10 but not in chrome ?

Hello guys,
     I want to stick in position  a rectangle or photo while scrolling browser.
I am using    sym.$("Rectangle3").css({"position":"fixed"});
This works fine in Mozilla and IE10 but not in chrome (Version 27.0.1453.116 m)
Anyone to help please?
Thanks in advance.
Anthony

Antony,
I will defer to what Sarah said.
In the future if you needed to add browser prefixes to correct differences which happen for a number of things like transform or shapes, etc..
Or course this will not correct a bug which I was not aware of in this particular case.
Here is how to add browser prefixes:
In this case to make an ellipse a circle because chrome did not recognize the ellipse. I added Opera prefix to show you the syntax.
sym.$('Ellipse').css({
          '-webkit-border-radius': '50%',
          '-o-border-radius': '50%',
          'border-radius': '50%',
          'width': '35px',
          'height': '35px'
Sometime the syntax is a little different. Just google the css to make sure.
Here is another example for a Star Wars intro where I added browser prefixes for Explorer (-ms-), Chrome (-webkit-), and Firefox(-moz-).
The code can be combined but I did not this time for this sample.
Sample files here:
https://www.box.com/s/bdu5c4lq67fkfy7blfhc
// FF
sym.$('gradient').css('background', '-moz-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%)');
sym.$('container').css('-moz-transform-origin', '50% 100%');
sym.$('container').css('-moz-transform', 'perspective(250px) rotateX(25deg)');
// Chrome and others
sym.$('gradient').css('background', '-webkit-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%)');
sym.$('container').css('-webkit-transform-origin', '50% 100%');
sym.$('container').css('-webkit-transform', 'perspective(250px) rotateX(25deg)');
// Internet Explorer
sym.$('gradient').css('background', '-ms-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%)');
sym.$('container').css('-ms-transform-origin', '50% 100%');
sym.$('container').css('-ms-transform', 'perspective(250px) rotateX(25deg)');

Similar Messages

  • PDF Documents with Functional Buttons - Works for IE and FireFox but not for Chrome and Safari

    To all,
    Good morning.  Our institution developed a PDF document with functional buttons for printing and e-mailing.  When the document is viewed via Internet Explorer and Firefox, the functional buttons work as expected.  However if the document is viewed via Chrome and Safari, the functional buttons do not work.  The workaround for those who are using Chrome and Safari, the PDF document needs to be saved to their local drive before the functional buttons work.
    Has anyone experienced this issue before?  If yes, what was your solution other than the workaround.
    Thanks.
    Babylon5

    Here's how to configure your browser to run Adobe Reader: http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • Font rendering (if CSS position:fixed)

    Safari 7.0.4/OS X 10.9.3
    Font renedering issue:
    example:
    <div style="position:fixed">
    Hello text
    </div>
    The font ist not rendered correctly. (too thin and blurred)
    if:
    <div style="position:relative">
    Hello text
    </div>
    It is correctly rendered.

    Hi RobFaust,
    Can you give me a sugestion where I can lear how to set-up my laptom to test my HTML page in IE6, IE7 AND IE8.
    Once I upgrade from IE6 to IE7, IE6 is no-longer on my laptop.  I know there is a fee website that give one an opportunity to
    test HTML on different browsers.
    cheers,
    Dreamer101.1

  • I have an iphone 4s and the speaker has stpped working when I play music with i tunes or you fox. It works when they ring me but not when i want to listen to music :( do you know how I fix this?

    I have an iphone 4s and the speaker has stpped working when I play music with i tunes or you fox. It works when they ring me but not when i want to listen to music :( do you know how I fix this?

    Go to settings/music/volume limit tap on that.  Make sure it is set to OFF and when you tap it that the slider is at max

  • External speakers work on the Apple side but not on the Windows side - did before but not now - need fix

    New to discussion groups.  Mac-Mini user.  External speakers work on the Apple side but not on the Windows side.  The used to but not now.  need suggestion on fix or do I go to Apple store or a PC repair store?

    Reset the SMC 2-3 times. Click Intel iMac SMC and PRAM resets for instructions.

  • Scaling mobile app works fine on the X but not on the Y

    I originally made my app to work for iphone only but I am now scaling it to work on Ipad/ Android etc. I am doing all the scaling manually. It is a tabbed application.
    I am scaling all x and y locations and widths and heights by a scale factor that is created using..
              scaleFactorX = stage.width/320;
         scaleFactorY = stage.height/480;
    It works perfectly on the x but not quite enough on the y as objects look a little squashed vertically.
    I can't think why this is. If I were to alter the y scalefactor it would put things out when at the original phone size.
    The only part I'm not scaling manually is the actionBar and the bottom tabs. They are currently using default skins which use the DPI classification to determined size. I have however overridden this and set the action bar to use a skin with a much greater layoutContentGroupHeight. This hasn't however had any effect on the y scaling of objects in the main display area.
    The y scale isn't out by much, but it bothers me. If anyone has any suggestions I'd appreciate it.
    Thanks.

    Adobe won't fix it as long there are not enough votes for my bug report!!!!
    PLEASE VOTE: https://bugbase.adobe.com/index.cfm?event=bug&id=3376478

  • IPod nano works with USB 1.1 but not USB 2.0

    Anyone using an iPod nano that works with USB 1.1 but not with USB 2.0? I am using Windows XP and when installing the iPod software from CD it recognizes the iPod and am able to transfer songs using iTunes but when installing SP1 or SP2 to enable USB 2.0 transfers, Windows XP only recognizes the iPod nano as a USB Mass Storage Device. This is the same with iPod Updater.

    I have a similar problem with the following configuration:
    - Dell Dimension 4100 Desktop with 2 integrated USB 1.1 ports, Windows 2000 SP 4
    - PCI 6-Ports USB 2.0 Card ("Mentor" resp. www.bona.com.tw), Model USB20-PCI/6P
    What works well?
    - All my USB add-ons (1.1 and 2.0) on the internal 1.1 ports as well as on the USB2.0 PCI card
    - iPod Nano 4GB on internal 1.1 ports (external drive in windows 2000 as well as iPod in iTunes)
    - iPod Nano works as well as on the USB 2.0 card ONLY WHEN my old 4-port USB1.1 hub is connected between Nano and USB card
    What doesn't works?
    My iPod Nano directly connected to the USB 2.0 card. Symptoms when connecting:
    - Windows is very slow, process "scvhost.exe" or "system.exe" using 99% of CPU for some minutes
    - iPod is recognised as external drive, but when I click on it, it is empty and copying files to it results in "I/O error"
    - iTunes doesn't recognise the iPod (of course, if even windows itself cannot read from it...)
    I removed all USB drivers, reinstalled iTunes, iPod (by the way, I still don't understand what "iPod update" is good for, except for updating the iPod's firmware), deactivate the internal USB1.1 ports, no result.
    Help!!!!!!!!!!!!!!!!

  • How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    Can you give me a screenshot of the User Accounts window in Control Panel?
    Please create a screenshot by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

  • Safari (7.0.1) is non-responsive (spinning pinwheel) upon start up.  It will work in temp user account but not in my main user acct.  I tried reinstall via comman-r prompt on start up but the problem persists.  Any suggestion for reinstall or repair?

    Safari is non-responsive after intitial start up.  Before it can load the homepage (google), it will hang and give a perpetual pinwheel until I force quit the program.  Safari works in temporary user account but not in my primary user account.  I have reinstalled osx via the command-r upon start up and the problem still persists.  Any suggestions on how to reinstall or repair safari?

    Thanks for thinking about my problem. I've already experimented with creating a new user, a co-administrator. The programs don't crash when that account is running, just as they don't crash when the guest-user's account runs. So it seems that the problem is limited to the default user's account, which is the one that was running when I installed the updates to the OS and the firmware. Another clue is that the programs that crash as soon as they are launched are *probably* the ones that were open at that time in that account. Yet deleting Saved Application States does not keep the programs from crashing when next launched.
    So the mystery continues, but these additional facts will help with the diagnosis, I hope.
    Thanks again for your suggestion.
    Gordon

  • WHEN I GO TO PRIVACY SETTINGS AND CLICK ON EXCEPTIONS AND TYPE IN A WEB ADDRESS TO ALLOW ALL THE TIME IT DOES NOT SAVE IT THE NEXT TIME I SIGN ON TO FIRE FOX IT IS LOST. IT WORKS FINE ON MY DESKTOP BUT NOT ON MY LAPTOP THAT I JUST BOUGHT in English.

    Question
    WHEN I GO TO PRIVACY SETTINGS AND CLICK ON EXCEPTIONS AND TYPE IN A WEB ADDRESS TO ALLOW ALL THE TIME IT DOES NOT SAVE IT THE NEXT TIME I SIGN ON TO FIRE FOX IT IS LOST. IT WORKS FINE ON MY DESKTOP BUT NOT ON MY LAPTOP THAT I JUST BOUGHT in English.

    I just updated my whatsapp...clicked on whatsapp in appstore and now can access my whatsapp

  • FaceTime: I have a iPad, iPhone, iMac all on the same apple Id/account. Without changing id/email address can I use FaceTime between any 2 of my devices? It works from iPad to iPhone but not the other way??? I would like talk/see my kids if am away

    FaceTime: I have a iPad, iPhone, iMac all on the same apple Id/account. Without changing id/email address can I use FaceTime between any 2 of my devices? It works from iPad to iPhone but not the other way??? I would like talk/see my kids if am away.
    Hope you can help.
    I have added a new email address but kept my Id, but I get busy when trying from iPhone to iPad as they are clashing. Like find my iPhone app hence trying to keep them all on one account

    IOS: using facetime http://support.apple.com/kb/ht4319
    using an ipad will use the email address since you can't make a phone call.  see the link.
    Your basically calling/emailing yourself that's why your getting a busy signal.

  • On 2011 iMac, External Altec Lansing speakers no longer work after upgrading to Mountain Lion. They DO work on a lenovo machine but not my imac

    On 2011 iMac, External Altec Lansing speakers no longer work after upgrading to Mountain Lion.
    They DO work on a lenovo machine but not my iMac. reset Pram - no luck. took speakers from wife's desktop, they
    do not work when jack plugged into my iMac - Sys Prefs "SOUND" only lists "internal speakers/ built in" as available options.
    I used my altec lansing speakers on 3 macs including this one for 5-6 years.....now with Mountian Lion I can only get internal speakers???
    Ideas? Any/All help would be greatly appreciated - been going nuts with this for 2 days now.

    Hi,
    When you start Messages fro the first time you are asked for an Apple ID
    When this is verified and entered it appears in Messages Menu > Preference > Accounts and is Enabled.
    The App should have also picked on on those iChat Accounst you had before.
    These should be Enabled if they were when you last used iChat.
    Exactly which "Accounts" are logged in can be seen in Message Menu > Accounts and will include the iMessage "Account" and Bonjour.
    In the Window menu you will see CMD +0 for the Messages window and CMD+1 for the "Buddies" window which is a combined list at this stage.
    Go to the Preferences > General Section and Untick the "Collect all accounts into one list".
    This will give you separate iChat type Buddy lists.
    You can check if that account/Buddy list is set to Invisible or if in the Preferences > Accounts > Security you have settings that will block some people from seeing you as On line.
    You are saying Buddies can see you as On Line which implies they are still sending to your AIM based Names (@Mac.com is a valid AIM Screen Name)
    I am not sure from your post if you are trying to iMessage their email IDs thinking they are Apple IDs and that they are using Messages as well.
    There is no Buddy list for iMessages side
    No-one can tell you are "On Line" until they have your details in the "To" spot in Messages with the correct iMessaged contact info (iPhone Number or Apple ID)
    Obviously an Apple ID can be an email or look like one.
    In some cases they are also valid AIM Screen Names as well.
    In the case or the @mac.com name you may have linked this Apple ID to iMessages as well.
    11:31 PM      Saturday; August 11, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Since moving to iCloud, my mobileme email works ONLY on my iPhone, but not on my PC with Outlook.  I get an error message indicating the authentication is not accepted.  any suggestions?

    since moving to iCloud, my mobileme email works ONLY on my iPhone, but not on my PC with Outlook.  I get an error message indicating the authentication is not accepted.

    To anyone who has viewed this post and is having similar difficulties, the answer came on a different forum: I dragged & dropped the files from Mail to iCloud Drive. Opened them on my MB Air, they were saved in Templates and are now accessible across all my devices.
    Answer came from SGIll: Numbers templateshttps://discussions.apple.com/message/27505880#27505880Numbers templates

  • I recently signed up for iTunes Match.  It works well on my iPad2 but not my iPhone4S.  A while ago my music did show up but it was grayed out.  Now I don't see anything.  I've tried everything I can think of.  I'm running the latest operating system

    I recently signed up for iTunes Match.  It works well on my iPad2 but not my iPhone 4S.  A while ago my music did show up on my phone but much of it was grayed out.  Now I don't see anything on my iPhone.  I've tried everything I can think of.  I'm running the latest operating system and software

    Try the tips in this thread: iTunes Match - 'No Music' on iPhone 4

  • Trying to connect my iMac to on 10.8.2 with PowerBook Intel on 10.5.8; sharing works from PowerBook to iMac but not the other way around. Why?

    Trying to connect my iMac to on 10.8.2 with PowerBook Intel on 10.5.8; sharing works from PowerBook to iMac but not the other way around. Why?

    Thanks for the interest. Preferences are similar on both machines: screen sharing, file sharing, printer sharing & scanner sharing all ticked and radio button for Screen Sharing is ON.
    My confusion is that I can get a network connection to the iMac by selecting "go to server" on the PowerMac running 10.5.8 but am unable to make the iMac connect to the PowerMac using similar selections. When ethernet cable is plugged in the PowerMac shows up on the finder bar on the iMac, but it does not allow either screen sharing or connection to occur - a dialog box tells me to check System Prefs and Network connection.
    I'm hoping to export a large file of photos from iPhoto on my iMac to my wife's PowerMac and hoped to achieve this with an ethernet network connection.

Maybe you are looking for

  • Multiple image upload with save to database problem

    I am developing some backend work for a client, and we recently used the Multiple image upload with save to database wizard without a problem. A few days later, we noticed that we could only upload a single file at a time - it seems that the coding i

  • Can I remove files from "images removed from" dir?

    I have some duplicate files on my iMac, including some large videos in a "images removed from xxxxxxx" directory. Can I safely delete these?

  • Read and write a item's value in running Form.

    Hi everybody, Could you help me? I have a table name QUANTITY(store in Oracle database server), this table have 2 filed: Model name and Quantity I created a oracle form(Store in oracle application server) to show Quantity. I running this form in a cl

  • User State Migration Relocation Pattern

    I am using USMT 4.0 to capture data from a Windows XP SP3 system with an additional D: (DATA) drive. I can accomplish this using the generatedrivepatterns option or specifying a file pattern of "D:\* [*]". In my local, uncompressed store I can see th

  • Blocked contacts

    Hello, Today ive encoutered a problem with some contacts in skype. When I logged in there was an open conversation of someone I havent talked to (or cared for) for years, only stating that I have blocked this person. I have not been able to block, un