Announcement

Collapse
No announcement yet.

web object and css.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • web object and css.

    Hello to all.
    I would have a problem with CSS3 and web object autoplay media studio.
    I created a simple html page with CSS3 with box rounded but the syntax of CSS "border-radius" does not support it.
    I also tried an alternative method using as a background with the syntax "backgorund-image" and prints it to me perfectly box but if I go to print the page do not print box !.
    longer exists a way to support the css3 web object of ams ??

  • #2
    Originally posted by exmen View Post
    Hello to all.
    I would have a problem with CSS3 and web object autoplay media studio.
    I created a simple html page with CSS3 with box rounded but the syntax of CSS "border-radius" does not support it.
    I also tried an alternative method using as a background with the syntax "backgorund-image" and prints it to me perfectly box but if I go to print the page do not print box !.
    longer exists a way to support the css3 web object of ams ??
    You have to use the reg edit option to tell windows to let your app use the lateist version of IE, you might also want a way to detect that version I think IE 11 that supports CSS3.
    Plugins or Sources MokoX
    BunnyHop 2021 Here

    Comment


    • #3
      ok, but what I have to change the registry entry?

      Comment


      • #4
        On start up put

        Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Internet Explorer\\MAIN\\FeatureControl\\FEATURE_BROWSER_EM ULATION", "autorun.exe", "11001", REG_DWORD);
        where is says "autorun.exe" when you build your app just before building it change that to your apps exe's name so if you going to name it yetty.exe you would change it to "yetty.exe" and make sure in the build window its also called the same thing.
        Plugins or Sources MokoX
        BunnyHop 2021 Here

        Comment


        • #5
          You have gone before.
          I was just going to write the solution

          I plugged in the key indicated for "autorun.exe" and all css loaded now are printed both on screen and printer.
          It must point out that once filled the same key must be written also in the user's computer that going to run it.

          I did the test with Windows 7-8-8.1 and windows 10.

          Comment


          • #6
            Originally posted by exmen View Post
            You have gone before.
            I was just going to write the solution

            I plugged in the key indicated for "autorun.exe" and all css loaded now are printed both on screen and printer.
            It must point out that once filled the same key must be written also in the user's computer that going to run it.

            I did the test with Windows 7-8-8.1 and windows 10.
            That code I gave you is the code to use in AMS in lets say the start up section of your app, but I would also advice to use the remove/.delete value on closing the app so your not leaving things behind on there computer.
            Plugins or Sources MokoX
            BunnyHop 2021 Here

            Comment


            • #7
              then there are some details to be done discoveries these days.
              I have carried out tests with newly installed operating systems win and win 8 8.1 both 32 and 64 bits.

              I do a bit of clarity.

              Suppose we have to create an html page with CSS3 and then having to upload to the Web obiect of ams.

              as we all know and very old this item and would be pleased if the team ams I also would update a plug-in external and truly pitiful because !.

              to take advantage of CSS Web bject ams Occor first create a key Dword on the registry in the path:

              HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main \ FeatureControl \ FEATURE_BROWSER_EMULATION.

              and you must create in this process the key dword named "autorun.exe" or the name of the application and assign a decimal value "11001".


              farevi not be fooled! ..... on a freshly installed OS is this key should create it.


              in this way and you can use css3 with the web object.

              What works:

              almost all css. except backgrounds as "backgraund".

              on webo bject interprets it but if you go to print it does not print it.
              so if I want to create a css box with sfodo of any on-screen color works but it stamppa the printer that is in pdf or on the real one.

              It does not work either "backgraund-image."

              always the same problem, the printing web object but with the "web print" function does not pass it to the printer!

              other big limitation the javascript functionality. few are those that work.

              quin ask a solution or idea.

              Comment


              • #8
                I have an update.

                as said before the problem of css on the web ams object background was that if I realize a box css or I want the page to have the same background that VIEDO printed to the screen but not the printer.

                the solution and so stupid that I have complicated the lives unnecessarily.

                After a good coffee I reasoned today a bit on and after a few checks I saw that ams web object takes as a reference many of the internet explorer settings.

                I discovered that by default print settings of wallpapers and images on Internet Explorer are disabled.

                and in fact, and so

                namely the web object of ams refers to internet explorer print settings in the registry key.

                HKEY_CURRENT_USER_ \ Software \ Microsoft \ Internet Explorer \ Page setup

                The item "Print_Background" and the offending option

                changing it to "yes" we will see on our printer also images and backgrounds.

                days of concussions and the solution them that he laughed!

                Comment

                Working...
                X