Loading ...
Sorry, an error occurred while loading the content.

Firefox+Linux, bad display rendering

Expand Messages
  • swamyveera
    Hi there friends, I have been using YUI in my project. On windows with firefox, i have no problem what so ever. But on linux, the display renders badly - as
    Message 1 of 14 , Aug 24, 2006
    • 0 Attachment
      Hi there friends,
      I have been using YUI in my project. On windows with firefox, i have
      no problem what so ever. But on linux, the display renders badly - as
      in, firefox seems to be very slow while rendering the pages - i could
      clearly see patches of screens slowly forming till the page has
      finished loading.
      Once i disasbled YUI scripts, the screens look to load and behave
      fine. What could the reason be? Any suggestions please?

      Thanks
    • Nate Koechley
      Hey swamyveera, Which version of Firefox and which flavor and version of *nix? Can you please send a URL of a culprit page, or at least provide details about
      Message 2 of 14 , Aug 25, 2006
      • 0 Attachment

        Hey swamyveera,

         

        Which version of Firefox and which flavor and version of *nix? Can you please send a URL of a culprit page, or at least provide details about which YUI files and versions, as well as what types of implementation-specific code you’ve written on top of the libs?

         

        Firefox on Linux does not receive A-grade support per our GBS approach [1] and current GBS Chart [2]. However, we do expect Firefox (gecko) to rendering very consistently across platforms and would expect things to behave well on Linux. Therefore, I am interested in learning more but cannot commit to a specific resolution.

         

        To that end, please provide as much of the information I listed above as you can, as well as any other data points. For example, does Firefox’s memory usage increase proportionally to the performance degradation, or do you suspect the sluggishness is at a different layer?

         

        [1] http://developer.yahoo.com/yui/articles/gbs/gbs.html

        [2] http://developer.yahoo.com/yui/articles/gbs/gbs_browser-chart.html

         

        Thanks,

        Nate

         

         

         


        From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of swamyveera
        Sent: Thursday, August 24, 2006 7:31 PM
        To: ydn-javascript@yahoogroups.com
        Subject: [ydn-javascript] Firefox+Linux, bad display rendering

         

        Hi there friends,
        I have been using YUI in my project. On windows with firefox, i have
        no problem what so ever. But on linux, the display renders badly - as
        in, firefox seems to be very slow while rendering the pages - i could
        clearly see patches of screens slowly forming till the page has
        finished loading.
        Once i disasbled YUI scripts, the screens look to load and behave
        fine. What could the reason be? Any suggestions please?

        Thanks

      • swamyveera
        Hi Nate Thanks for the reply. I am using Ubuntu 6.06 with Firefox 1.0.5.3. As i said, i have no issues with firefox on windows, am not sure why its behaving so
        Message 3 of 14 , Aug 25, 2006
        • 0 Attachment
          Hi Nate
          Thanks for the reply. I am using Ubuntu 6.06 with Firefox 1.0.5.3.
          As i said, i have no issues with firefox on windows, am not sure why
          its behaving so on Linux.
          The webpage that i have been designing is an application, so its
          not hosted anywhere, i will try to host it and provide you the link.
          Am using yahoo yui version 0.10.0, and i am using only a few
          components, simple dialog, panel (bascially the container class).
          Even when i use a modal dialog, the transparency that occurs for the
          remaining of the screen other than the dialog takes a lot of time on
          linux to render and i have to wait for it finish rendering before i
          could do anything.
          The libraries on top of yui that i use are turbo tool kit and
          zappatec widgets. This is how i include the yui into my page

          <script type="text/javascript" src="./yui/build/yahoo/yahoo.js" ></
          script>
          <script type="text/javascript" src="./yui/build/event/event.js" ></
          script>
          <script type="text/javascript" src="./yui/build/dom/dom.js" ></script>
          <script type="text/javascript" src="./yui/build/dragdrop/
          dragdrop.js" ></script>
          <script type="text/javascript" src="./yui/build/animation/
          animation.js" ></script>

          <script type="text/javascript" src="./yui/build/container/
          container.js"></script>
          <script type="text/javascript" src="./yui/build/container/
          container_core.js"></script>


          <link rel="stylesheet" type="text/css" href="./yui/build/reset/
          reset.css">
          <link rel="stylesheet" type="text/css" href="./yui/build/container/
          assets/container.css" />

          I am using only the container, but i guess i have to include
          dom,event,dragdrop and animation for the container to work.
          I used the firefox's memory leakage plugin on windows and i did'nt
          find any memory leakage for the yui - well as i said, nothing was
          wrong at all when it comes to windows. But i guess the gecko engine
          on linux is struggling hard to render the yahoo widgets, once i
          remove them from the page, its happy.

          The code for a simple dialog in my page is as follows:

          <!-- Dynamic forms -->
          <div id="dlgNewBlock">
          <div class="hd">New block for case no. <?PHP echo
          $requestno; ?> </div>
          <div class="bd">
          <form name="frmNewBlock" method="POST"

          action="index.php?module=requests&anchor=blocks&request=<?PHP echo
          $requestno; ?>&option=newblock">
          <!-- Necessary info for
          block creation -->
          <input type="hidden"
          name="requestno" value="<?PHP echo $requestno; ?>" />
          <input type="hidden"
          name="blocksno" value="<?PHP echo $rsBlockInfo->RecordCount()+1; ?>" /
          >
          <input type="hidden"
          name="delete" value="false" />
          <p
          style="padding:0px;margin:2px 0px 0px 15px;color:brown;"> Choose a
          specimen: </p>
          <p
          style="padding:3px;margin:2px 0px 0px 15px;font-
          size:10px;width:300px;background-color:#E3E0DA;">
          <?PHP
          $rsSpecimenInfo-
          >MoveFirst();

          while(!$rsSpecimenInfo->EOF)
          {
          echo "<input
          TYPE=\"CHECKBOX\" name=\"chkSpecimen\" id=\"chkSpecimen\"

          value=\"".$rsSpecimenInfo->fields("id")."\">  ".

          $rsSpecimenInfo->fields("specimen")." (".$rsSpecimenInfo-
          >fields("description").")<br />";
          $rsSpecimenInfo-
          >MoveNext();
          }

          ?>
          <INPUT TYPE="CHECKBOX"
          id="chkSpecimen" NAME="chkSpecimen" style="visibility:hidden">
          <p id='newTestmsg'
          style="padding:0px;margin:2px 0px 0px 20px;color:red;font-
          size:10px;"> </p>

          </p>
          <p
          style="padding:0px;margin:2px 0px 0px 15px;"> specifications for new
          block: </p>
          <!--
          <label for="firstname">Specifications for this block:</label> --
          >

          <textarea
          name="txtBlockInfo" rows="4" cols="20" style="padding:3px;margin:3px
          0px 3px 15px;

          background-color:#F2F2F2;border:1px solid #CDCDCD;width:300px;

          font-size:10px;"> </textarea><br/>
          </form>
          </div>

          </div>
          </div>


          <script language="javascript">
          YAHOO.namespace('container');

          function submitCallback(obj) {
          var response = obj.responseText;
          response = response.split("<!")[0];
          document.getElementById("resp").innerHTML = response;
          eval(response);
          }

          function init() {
          var handleCancel = function() {
          this.cancel();
          }
          var handleSubmit = function() {
          var c_value = "";
          for (var i=0; i <
          document.frmNewBlock.chkSpecimen.length; i++)
          {
          if
          (document.frmNewBlock.chkSpecimen[i].checked)
          {
          c_value = c_value +
          document.frmNewBlock.chkSpecimen[i].value + "\n";
          }
          }
          if(c_value=="")
          {
          alert('No specimen
          selected');
          return false;
          }
          else
          this.submit();

          }


          YAHOO.container.dlgNewBlock = new
          YAHOO.widget.Dialog("dlgNewBlock", { modal:true, visible:false,
          width:"350px", fixedcenter:true, constraintoviewport:true,
          draggable:true });

          var listeners = new YAHOO.util.KeyListener(document, {
          keys : 27 },
          {fn:handleCancel,scope:YAHOO.container.dlgNewBlock,correctScope:true} );


          YAHOO.container.dlgNewBlock.cfg.queueProperty("keylisteners",
          listeners);

          YAHOO.container.dlgNewBlock.cfg.queueProperty("buttons",
          [ { text:"New block & Print", handler:handleSubmit, isDefault:true },
          {
          text:"Cancel", handler:handleCancel } ]);


          YAHOO.container.dlgNewBlock.cfg.queueProperty("onsuccess",
          submitCallback);

          var handleManual = function(type, args, obj) {
          alert("Manual submission of " + this.id + "
          detected");
          }


          YAHOO.container.dlgNewBlock.manualSubmitEvent.subscribe(handleManual,
          YAHOO.container.dlgNewBlock, true);
          YAHOO.container.dlgNewBlock.render();

          YAHOO.container.dlgNewBlock.cfg.setProperty('postmethod','form');

          }

          YAHOO.util.Event.addListener(window, "load", init);

          </script>



          Sorry for the lengthy one - i am really looking forward for a
          solution.

          Thanks
          Veeru
        • dav.glass@yahoo.com
          Firefox 1.0.5.3 or 1.5.0.3??? Dav Glass dav.glass@yahoo.com davglass.com 618.694.3476 + Windows: n. - The most successful computer virus, ever. + + A computer
          Message 4 of 14 , Aug 25, 2006
          • 0 Attachment
            Firefox 1.0.5.3 or 1.5.0.3???
             
            Dav Glass
            dav.glass@...
            davglass.com
            618.694.3476

            + Windows: n. - The most successful computer virus, ever. +
            + A computer without a Microsoft operating system is like a dog
            without bricks tied to its head +
            + A Microsoft Certified Systems Engineer is to computing what a
            McDonalds Certified Food Specialist is to fine cuisine +


            ----- Original Message ----
            From: swamyveera <swamyveera@...>
            To: ydn-javascript@yahoogroups.com
            Sent: Friday, August 25, 2006 6:10:40 PM
            Subject: [ydn-javascript] Re: Firefox+Linux, bad display rendering

            Hi Nate
            Thanks for the reply. I am using Ubuntu 6.06 with Firefox 1.0.5.3.
            As i said, i have no issues with firefox on windows, am not sure why
            its behaving so on Linux.
            The webpage that i have been designing is an application, so its
            not hosted anywhere, i will try to host it and provide you the link.
            Am using yahoo yui version 0.10.0, and i am using only a few
            components, simple dialog, panel (bascially the container class).
            Even when i use a modal dialog, the transparency that occurs for the
            remaining of the screen other than the dialog takes a lot of time on
            linux to render and i have to wait for it finish rendering before i
            could do anything.
            The libraries on top of yui that i use are turbo tool kit and
            zappatec widgets. This is how i include the yui into my page

            <script type="text/javascri pt" src="./yui/build/ yahoo/yahoo. js" ></
            script>
            <script type="text/javascri pt" src="./yui/build/ event/event. js" ></
            script>
            <script type="text/javascri pt" src="./yui/build/ dom/dom.js" ></script>
            <script type="text/javascri pt" src="./yui/build/ dragdrop/
            dragdrop.js" ></script>
            <script type="text/javascri pt" src="./yui/build/ animation/
            animation.js" ></script>

            <script type="text/javascri pt" src="./yui/build/ container/
            container.js" ></script>
            <script type="text/javascri pt" src="./yui/build/ container/
            container_core. js"></script>

            <link rel="stylesheet" type="text/css" href="./yui/ build/reset/
            reset.css">
            <link rel="stylesheet" type="text/css" href="./yui/ build/container/
            assets/container. css" />

            I am using only the container, but i guess i have to include
            dom,event,dragdrop and animation for the container to work.
            I used the firefox's memory leakage plugin on windows and i did'nt
            find any memory leakage for the yui - well as i said, nothing was
            wrong at all when it comes to windows. But i guess the gecko engine
            on linux is struggling hard to render the yahoo widgets, once i
            remove them from the page, its happy.

            The code for a simple dialog in my page is as follows:

            <!-- Dynamic forms -->
            <div id="dlgNewBlock" >
            <div class="hd">New block for case no. <?PHP echo
            $requestno; ?> </div>
            <div class="bd">
            <form name="frmNewBlock" method="POST"

            action="index. php?module= requests& anchor=blocks& request=< ?PHP echo
            $requestno; ?>&option=newblock" >
            <!-- Necessary info for
            block creation -->
            <input type="hidden"
            name="requestno" value="<?PHP echo $requestno; ?>" />
            <input type="hidden"
            name="blocksno" value="<?PHP echo $rsBlockInfo- >RecordCount( )+1; ?>" /

            >
            <input type="hidden"
            name="delete" value="false" />
            <p
            style="padding: 0px;margin: 2px 0px 0px 15px;color:brown; "> Choose a
            specimen: </p>
            <p
            style="padding: 3px;margin: 2px 0px 0px 15px;font-
            size:10px;width: 300px;background -color:#E3E0DA; ">
            <?PHP
            $rsSpecimenInfo-
            >MoveFirst() ;

            while(!$rsSpecimenI nfo->EOF)
            {
            echo "<input
            TYPE=\"CHECKBOX\ " name=\"chkSpecimen\ " id=\"chkSpecimen\ "

            value=\"".$rsSpecim enInfo->fields( "id")."\" >&nbsp;&nbsp; ".

            $rsSpecimenInfo- >fields(" specimen" )."&nbsp; (".$rsSpecimenIn fo-
            >fields("descriptio n").")<br />";
            $rsSpecimenInfo-
            >MoveNext();
            }

            ?>
            <INPUT TYPE="CHECKBOX"
            id="chkSpecimen" NAME="chkSpecimen" style="visibility: hidden">
            <p id='newTestmsg'
            style="padding: 0px;margin: 2px 0px 0px 20px;color:red; font-
            size:10px;"> &nbsp;</p>

            </p>
            <p
            style="padding: 0px;margin: 2px 0px 0px 15px;"> specifications for new
            block: </p>
            <!--
            <label for="firstname" >Specifications for this block:</label> --
            >

            <textarea
            name="txtBlockInfo" rows="4" cols="20" style="padding: 3px;margin: 3px
            0px 3px 15px;

            background-color: #F2F2F2;border: 1px solid #CDCDCD;width: 300px;

            font-size:10px; "> </textarea>< br/>
            </form>
            </div>

            </div>
            </div>

            <script language="javascrip t">
            YAHOO.namespace( 'container' );

            function submitCallback( obj) {
            var response = obj.responseText;
            response = response.split( "<!")[0];
            document.getElement ById("resp" ).innerHTML = response;
            eval(response) ;
            }

            function init() {
            var handleCancel = function() {
            this.cancel( );
            }
            var handleSubmit = function() {
            var c_value = "";
            for (var i=0; i <
            document.frmNewBloc k.chkSpecimen. length; i++)
            {
            if
            (document.frmNewBlo ck.chkSpecimen[ i].checked)
            {
            c_value = c_value +
            document.frmNewBloc k.chkSpecimen[ i].value + "\n";
            }
            }
            if(c_value== "")
            {
            alert('No specimen
            selected');
            return false;
            }
            else
            this.submit( );

            }


            YAHOO.container. dlgNewBlock = new
            YAHOO.widget. Dialog("dlgNewBl ock", { modal:true, visible:false,
            width:"350px" , fixedcenter: true, constraintoviewport :true,
            draggable:true });

            var listeners = new YAHOO.util.KeyListe ner(document, {
            keys : 27 },
            {fn:handleCancel, scope:YAHOO. container. dlgNewBlock, correctScope: true} );


            YAHOO.container. dlgNewBlock. cfg.queuePropert y("keylisteners" ,
            listeners);

            YAHOO.container. dlgNewBlock. cfg.queuePropert y("buttons" ,
            [ { text:"New block & Print", handler:handleSubmi t, isDefault:true },
            {
            text:"Cancel" , handler:handleCance l } ]);


            YAHOO.container. dlgNewBlock. cfg.queuePropert y("onsuccess" ,
            submitCallback) ;

            var handleManual = function(type, args, obj) {
            alert("Manual submission of " + this.id + "
            detected");
            }


            YAHOO.container. dlgNewBlock. manualSubmitEven t.subscribe( handleManual,
            YAHOO.container. dlgNewBlock, true);
            YAHOO.container. dlgNewBlock. render();

            YAHOO.container. dlgNewBlock. cfg.setProperty( 'postmethod' ,'form');

            }

            YAHOO.util.Event. addListener( window, "load", init);

            </script>

            Sorry for the lengthy one - i am really looking forward for a
            solution.

            Thanks
            Veeru


          • swamyveera
            Hi Dav Glass, That was nice - but i don t see how it would help me :) . Any body please, can you help me with my problem..i would say i am desperate.. Thanks
            Message 5 of 14 , Aug 27, 2006
            • 0 Attachment
              Hi Dav Glass,
              That was nice - but i don't see how it would help me :) .
              Any body please, can you help me with my problem..i would say i am
              desperate..

              Thanks


              --- In ydn-javascript@yahoogroups.com, <dav.glass@...> wrote:
              >
              > Firefox 1.0.5.3 or 1.5.0.3???
              >
              > Dav Glass
              > dav.glass@...
              > davglass.com
              > 618.694.3476
              >
              > + Windows: n. - The most successful computer virus, ever. +
              > + A computer without a Microsoft operating system is like a dog
              > without bricks tied to its head +
              > + A Microsoft Certified Systems Engineer is to computing what a
              > McDonalds Certified Food Specialist is to fine cuisine +
              >
            • Scott Schiller
              Hi Swamayveera, I might have missed something in your e-mail, but it sounds like you re just hitting a performnace wall. My guess would be that your browser
              Message 6 of 14 , Aug 28, 2006
              • 0 Attachment
                Hi Swamayveera,
                 
                I might have missed something in your e-mail, but it sounds like you're just hitting a performnace wall. My guess would be that your browser and OS combination (Firefox on Ubuntu) may not be as optimized for opacity and rendering performance as those for Windows (and possibly Mac.) Transparency is always expensive for browsers to render, so see if you can get away without using it. As a test, see if you can disable the transparency and observe the performance speed before/after.
                 
                Scott Schiller
                Front-end Engineer, Yahoo! Photos

                ----- Original Message ----
                From: swamyveera <swamyveera@...>
                To: ydn-javascript@yahoogroups.com
                Sent: Sunday, August 27, 2006 6:18:29 PM
                Subject: [ydn-javascript] Re: Firefox+Linux, bad display rendering

                Hi Dav Glass,
                That was nice - but i don't see how it would help me :) .
                Any body please, can you help me with my problem..i would say i am
                desperate..

                Thanks


                --- In ydn-javascript@yahoogroups.com, <dav.glass@...> wrote:
                >
                > Firefox 1.0.5.3 or 1.5.0.3???
                >  
                > Dav Glass
                > dav.glass@...
                > davglass.com
                > 618.694.3476
                >
                > + Windows: n. - The most successful computer virus, ever. +
                > + A computer without a Microsoft operating system is like a dog
                >     without bricks tied to its head +
                > + A Microsoft Certified Systems Engineer is to computing what a
                >    McDonalds Certified Food Specialist is to fine cuisine  +
                >








                Yahoo! Groups Links

                <*> To visit your group on the web, go to:
                    http://groups.yahoo.com/group/ydn-javascript/

                <*> To unsubscribe from this group, send an email to:
                    ydn-javascript-unsubscribe@yahoogroups.com

                <*> Your use of Yahoo! Groups is subject to:
                    http://docs.yahoo.com/info/terms/


              • Joe Desbonnet
                Only a wild guess -- could this have something to do with Pango? Enter about: in the location bar and if it mentions Pango, follow the instructions for
                Message 7 of 14 , Aug 28, 2006
                • 0 Attachment
                  Only a wild guess -- could this have something to do with Pango?
                  Enter about: in the location bar and if it mentions Pango, follow the
                  instructions for disabling it.

                  Joe.

                  On 8/25/06, swamyveera <swamyveera@...> wrote:
                  > Hi there friends,
                  > I have been using YUI in my project. On windows with firefox, i have
                  > no problem what so ever. But on linux, the display renders badly - as
                  > in, firefox seems to be very slow while rendering the pages - i could
                  > clearly see patches of screens slowly forming till the page has
                  > finished loading.
                  > Once i disasbled YUI scripts, the screens look to load and behave
                  > fine. What could the reason be? Any suggestions please?
                  >
                  > Thanks
                  >
                  >
                  >
                  >
                  >
                  >
                  > Yahoo! Groups Links
                  >
                  >
                  >
                  >
                  >
                  >
                  >
                  >
                • swamyveera
                  Hi there, Thanks for the replies, may be you guys are right, it might not be a right combination Ubuntu and firefox - but looks like i don t have a choice
                  Message 8 of 14 , Sep 1 1:03 AM
                  • 0 Attachment
                    Hi there,
                    Thanks for the replies, may be you guys are right, it might not be a
                    right combination "Ubuntu and firefox" - but looks like i don't have
                    a choice right now - i need to get it running, because most of my
                    site i have developed is quite compatible with firefox.

                    Yes i did try disabling the transparency, helped a little, but not
                    too much - i observed that the delay is in creating the hidden <div>
                    which are in other words, dialog boxes.

                    and no i am not running pango, i checked it and found it. I dont'
                    think its pango that's causing the problem!

                    Any other suggestions ?

                    Thanks a bunch
                  • swamyveera
                    Hi there guys, i managed to install drivers for my graphics card on ubuntu, it definitely helped a little, the rendering is much faster along with the
                    Message 9 of 14 , Sep 7 10:48 PM
                    • 0 Attachment
                      Hi there guys,
                      i managed to install drivers for my graphics card on ubuntu, it
                      definitely helped a little, the rendering is much faster along with
                      the transparency off ! But still its not match for the speed in
                      windows? ANy body can help me out here please?
                    • Scott Schiller
                      Hi Swamyveera, I think you are being limited by your hardware/driver/OS combination here; it s likely you ve done all you can to make your work run as fast as
                      Message 10 of 14 , Sep 8 9:25 AM
                      • 0 Attachment
                        Hi Swamyveera,
                         
                        I think you are being limited by your hardware/driver/OS combination here; it's likely you've done all you can to make your work run as fast as it can in that area. Unfortunately, cross-platform browsers seem to really vary in terms of performance across different operating systems. (It suggests some builds may be optimized to take advantage of hardware acceleration or OS features, etc.)
                         
                        Performance can very quickly drop depending on what sort of things your page is doing. You have to be a detective of sorts and be investigative in troubleshooting performance problems.
                         
                        You could also try changing your code around a bit, perhaps trying some different layout techniques, using less elements, etc. This is too broad a topic to go into detail on, but my logic would say if your page is always slow-feeling (ie., CSS hover takes a while to render), your layout is likely just too complex - too much nesting, opacity, floated elements perhaps. If it's only during dynamic, DHTML stuff such as Javascript animation, your browser is again just doing overtime trying to render things while Javascript is doing loops. It's likely the browser is doing work reflowing and redrawing elements (complex layout or opacity again), and perhaps additionally isn't using hardware graphics acceleration depending on the browser/OS.
                         
                        My experience has been that IE on Windows always renders faster than Firefox on the same machine when doing Javascript animation, somewhat regrettably. IE appears to take advantage of DirectX or some other form of acceleration when rendering and animating, whereas Firefox does not.
                         
                        I've written about some of my own findings in the javascript animation/rendering performance area over the years, on my site.
                         
                        Performance is always a troublesome area, but it's also an opportunity to learn interesting things about the inner workings of browsers. ;)
                         
                        Best of luck!
                         
                         
                        Scott Schiller
                        Front-end Engineer, Yahoo! Photos

                        ----- Original Message ----
                        From: swamyveera <swamyveera@...>
                        To: ydn-javascript@yahoogroups.com
                        Sent: Thursday, September 7, 2006 10:48:25 PM
                        Subject: [ydn-javascript] Re: Firefox+Linux, bad display rendering

                        Hi there guys,
                        i  managed to install drivers for my graphics card on ubuntu, it
                        definitely helped a little, the rendering is much faster along with
                        the transparency off ! But still its not match for the speed in
                        windows? ANy body can help me out here please?






                        Yahoo! Groups Links

                        <*> To visit your group on the web, go to:
                            http://groups.yahoo.com/group/ydn-javascript/

                        <*> Your email settings:
                            Individual Email | Traditional

                        <*> To change settings online go to:
                            http://groups.yahoo.com/group/ydn-javascript/join
                            (Yahoo! ID required)

                        <*> To change settings via email:
                            mailto:ydn-javascript-digest@yahoogroups.com
                            mailto:ydn-javascript-fullfeatured@yahoogroups.com

                        <*> To unsubscribe from this group, send an email to:
                            ydn-javascript-unsubscribe@yahoogroups.com

                        <*> Your use of Yahoo! Groups is subject to:
                            http://docs.yahoo.com/info/terms/


                      • swamyveera
                        Hi Scott Schiller, Thank you for your reply - I went through the link that you gave me, i perfectly understand the issues involved, as i said, i tried to
                        Message 11 of 14 , Sep 21 2:13 AM
                        • 0 Attachment
                          Hi Scott Schiller,
                          Thank you for your reply - I went through the link that you gave me,
                          i perfectly understand the issues involved, as i said, i tried to
                          remove the opacities by making my modal windows as non-modal, that did
                          help me a little, but not much of use.
                          I was basically using yui's dialog boxes, and these are costing
                          firefox on linux a big deal. I even installed my graphic card drivers,
                          it is definitely the graphic support that firefox is getting from
                          Linux.
                          But my problem now is, i don't have much of a choice, i have designed
                          and developed my application already, and i can't really change a lot
                          other than forcing my customers to use windows instaed of linux, which
                          i dont feel quite comfortable. Am still looking for a solution to this
                          problem. But if you do happen to know of anything, not right away, but
                          in the next few days, please be kind enough to let me know.

                          Thanks and Regards
                          Veeru
                        • Peter Pistorius
                          Hi, ... This isn t necessarily a bad-deal ... I develop in FreeBSD and I have the same problems. But I see it as a feature rather than a constraint: I m
                          Message 12 of 14 , Sep 21 2:37 AM
                          • 0 Attachment
                            Hi,

                            > Thank you for your reply - I went through the link that you gave me,
                            > i perfectly understand the issues involved, as i said, i tried to
                            > remove the opacities by making my modal windows as non-modal, that did
                            > help me a little, but not much of use.
                            This isn't necessarily a bad-deal ... I develop in FreeBSD and I have
                            the same problems. But I see it as a feature rather than a constraint:

                            I'm developing for the lowest denominator... And adjust my application
                            to perform in that spectrum. The main areas where I see a performance
                            loss are in opacity and drag-drop.

                            I use DDProxy instead and skip the opacity. I also use container_core
                            and write my own functionality as the other modal stuff is really huge.

                            Regards,
                            Peter Pistorius
                          • swamyveera
                            Hi Peter, Thanks for your reply - Would it possible for me to have a piece of your code,so i can try implementing it the way you did? I did turn off the
                            Message 13 of 14 , Sep 21 10:54 PM
                            • 0 Attachment
                              Hi Peter,

                              Thanks for your reply - Would it possible for me to have a piece of
                              your code,so i can try implementing it the way you did? I did turn off
                              the opacities and stuff as i said, but did'nt try to write my own
                              functionality, may be am just an entry level programmer - I appreciate
                              it if you can provide a bit of your code.

                              Thanks
                            • Peter Pistorius
                              ... I tried to find you an example of the code I used to implement DDProxy (It s in YUI examples), but I cannot connect to this website! Sorry, I ll try again
                              Message 14 of 14 , Sep 22 1:34 AM
                              • 0 Attachment
                                > Thanks for your reply - Would it possible for me to have a piece of
                                > your code,so i can try implementing it the way you did?

                                I tried to find you an example of the code I used to implement DDProxy
                                (It's in YUI examples), but I cannot connect to this website! Sorry,
                                I'll try again later.

                                I can share the container_core.js code as it's much simpler. Note:
                                You're not able to drag the container around, if this is a requirement
                                then it shouldn't be difficult to add.

                                This is how you create the dialog:

                                this.dialog = new YAHOO.widget.Overlay('dialog', { width: "500px", fixedcenter:true, constraintoviewport:true });

                                this.dialog.setHeader('My Dialog');

                                this.dialog.setBody('This is my body text or dom nodes?.');

                                this.dialog.render(document.getElementById('d_bg'));

                                this.dialog.show();


                                You can define it's style like this:

                                #dialog { position: absolute; display: block; cursor: default; background: #FFF; border: 1px #ccc solid; padding: 1px; }

                                .hd { line-height: 30px; border-bottom: 1px #eee solid; font-weight: bold; background: #efefef;} /* header style */
                                .bd { } /* body style */
                              Your message has been successfully submitted and would be delivered to recipients shortly.