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

RE: [ydn-javascript] Re: Panel crashing IE

Expand Messages
  • Steven Peterson
    Bill, I was able to successfully include your script tag into a simple XP panel example without IE6 crashing. I ve included the code below for your reference.
    Message 1 of 4 , May 30, 2006
    • 0 Attachment

      Bill,

       

      I was  able to successfully include your script tag into a simple XP panel example without IE6 crashing. I’ve included the code below for your reference. Perhaps you should try debugging the issue by excluding other external references to determine if something else is causing the crash?

       

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

      <html>

      <head>

      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

      <title>YAHOO.widget.Panel - XP Panel Example</title>

       

      <script type="text/javascript" src="../../build/yahoo/yahoo.js" ></script>

      <script type="text/javascript" src="../../build/event/event.js" ></script>

      <script type="text/javascript" src="../../build/dom/dom.js" ></script>

      <script type="text/javascript" src="../../build/dragdrop/dragdrop.js" ></script>

      <script type="text/javascript" src="../../build/animation/animation.js" ></script>

       

      <link rel="stylesheet" type="text/css" href="../../build/fonts/fonts.css" />

      <link rel="stylesheet" type="text/css" href="css/example.css" />

       

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

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

       

      <link rel="stylesheet" type="text/css" href="css/panel-xp.css" />

       

      <script language="javascript">

           YAHOO.namespace("example.xp");

       

           function init() {

                 YAHOO.example.xp.panel = new YAHOO.widget.Panel("win", { effect:{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.25}, width:"30em", fixedcenter: true, constraintoviewport: true, underlay:"none", close:true, visible:false, draggable:true, modal:false } );

                 YAHOO.example.xp.panel.render();

           }

       

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

      </script>

      </head>

      <body>

       

           <div class="box" id="bodyMain">

                 <div class="hd">

                      <h1>XP Panel Example</h1>

                 </div>

                 <div class="bd">

                      <p>Some custom CSS allows Panel to be rendered with a familiar skin.

                      </p>

       

                      <button onclick="YAHOO.example.xp.panel.show()">Show the Panel</button>

                      <select>

                           <option>This is a &lt;select&gt; element, helpul for testing the IFRAME shim</option>

                      </select>

                 </div>

           </div>

       

      <div id="win">

                 <div class="hd"><div class="tl"></div><span>Sprockets!</span><div class="tr"></div></div>

                 <div class="bd">

                 <script src="http://www.billsaysthis.com/utils/feed2js/feed2js.php?src=http%3A%2F%2Fwww.billsaysthis.com%2Fmovies%2F?feed=rss2&amp;num=5&amp;targ=n&amp;utf=y" type="text/javascript"></script>

                 </div>

                 <div class="ft">

                      <div class="bl"></div><span>Some footer text</span><div class="br"></div>

                 </div>

           </div>

      </div>

       

       

      </body>

      </html>

       

      Steven Peterson

      Web Developer, Platform Engineering

      Yahoo!

      From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of capspace
      Sent: Tuesday, May 30, 2006 5:07 PM
      To: ydn-javascript@yahoogroups.com
      Subject: [ydn-javascript] Re: Panel crashing IE

       

      It's a very commonly used script which takes am RSS feed as input and
      returns it as HTML. It works fine outside the Panel, I've been using
      it for at least a couple of years.

      --- In ydn-javascript@yahoogroups.com, "Steven Peterson"
      <peterson@...> wrote:

      >
      > Bill,
      >

      >
      > It seems that the problem is occurring due to the "feed2js"
      script
      that's
      > included in the body of the Panel. Can you elaborate a little on
      what this
      > is doing, and also verify for me that it doesn't crash IE6 when you
      comment
      > it out?
      >

      >
      > Thanks!
      >

      >
      > Steven Peterson
      >
      > Web Developer, Platform Engineering
      >
      > Yahoo!
      >
      > From: ydn-javascript@yahoogroups.com
      [mailto:ydn-javascript@yahoogroups.com]
      > On Behalf Of capspace
      > Sent: Sunday, May 28, 2006 9:28 PM
      > To: ydn-javascript@yahoogroups.com
      > Subject: [ydn-javascript] Panel crashing IE
      >

      >
      > http://www.billsaysthis.com/tests/yui-panel.php
      consistently crashed
      > IE6 Windows, uses the Panel component. Any ideas why?
      >
      > Bill
      >
      >
      >
      >
      >
      >
      > SPONSORED LINKS
      >
      >
      > C
      >
      <http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=C+programming
      >
      +language&w2=Computer+programming+languages&w3=Java+programming+language&w4=
      >
      The+c+programming+language&w5=C+++programming+language&w6=Concept+of+program
      > ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA> 
      programming
      language
      >
      > Computer
      >
      <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=C+pro
      >
      gramming+language&w2=Computer+programming+languages&w3=Java+programming+lang
      >
      uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
      > +programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg>
      programming
      > languages
      >
      > Java
      >
      <http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=C+programm
      >
      ing+language&w2=Computer+programming+languages&w3=Java+programming+language&
      >
      w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+prog
      >
      ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog>  programming
      > language
      >
      >
      > The
      >
      <http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=C+program
      >
      ming+language&w2=Computer+programming+languages&w3=Java+programming+language
      >
      &w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+pro
      >
      gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg>  c programming
      > language
      >
      > C
      >
      <http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=C+programmi
      >
      ng+language&w2=Computer+programming+languages&w3=Java+programming+language&w
      >
      4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+progr
      > amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w> 
      programming
      language
      >
      >
      > Concept
      >
      <http://groups.yahoo.com/gads?t=ms&k=Concept+of+programming+language&w1=C+pr
      >
      ogramming+language&w2=Computer+programming+languages&w3=Java+programming+lan
      >
      guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
      >
      f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ>  of
      > programming language
      >

      >
      >   _____ 
      >
      > YAHOO! GROUPS LINKS
      >

      >
      > *      Visit your group "ydn-javascript
      > <http://groups.yahoo.com/group/ydn-javascript>
      " on the web.
      >  
      > *      To unsubscribe from this group, send an
      email to:
      ydn-javascript-unsubscribe@yahoogroups.com
      > <
      href="mailto:ydn-javascript-unsubscribe@yahoogroups.com?subject=Unsubscribe">mailto:ydn-javascript-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >  
      > *      Your use of Yahoo! Groups is subject to
      the Yahoo! Terms of Service
      > <http://docs.yahoo.com/info/terms/>
      .
      >

      >
      >   _____
      >






      SPONSORED LINKS

      C programming language

      Computer programming languages

      Java programming language

      The c programming language

      C programming language

      Concept of programming language

       


      YAHOO! GROUPS LINKS

       

       


    Your message has been successfully submitted and would be delivered to recipients shortly.