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

RE: [ydn-javascript] Re: Question on how to prevent my Container - Dialog from flashing

Expand Messages
  • Steven Peterson
    In your markup for your Panel, do something like this: Then, you can follow the example(s) to make a button
    Message 1 of 4 , Jul 7, 2006

      In your markup for your Panel, do something like this:

       

      <div id=”myPanel” style=”visibility:hidden”>

       

      Then, you can follow the example(s) to make a button trigger myPanel.show();

       

      Steven Peterson

      Web Developer, Platform Engineering

      Yahoo!

      From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Christopher
      Sent: Thursday, July 06, 2006 6:45 PM
      To: ydn-javascript@yahoogroups.com
      Subject: [ydn-javascript] Re: Question on how to prevent my Container - Dialog from flashing

       

      Thx for the tip but I can't figure out anything about the style
      attribute. I've looked over the example and documentation. Could you
      give me an example on how to set the attribute (hidden) on Load and
      also how to set the attribute (visible) when the user clicks on a
      button.

      Thx

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

      >
      > You can prevent this by setting your Dialog to visibility:hidden and
      > position:absolute in the Dialog's style attribute so that it's not
      included
      > in the document flow when the page loads.
      >
      >
      >
      > Steven Peterson
      >
      > Web Developer, Platform Engineering
      >
      > Yahoo!
      >
      > From: ydn-javascript@yahoogroups.com
      [mailto:ydn-
      javascript@yahoogroups.com]
      > On Behalf Of Christopher
      > Sent: Thursday, July 06, 2006 3:54 PM
      > To: ydn-javascript@yahoogroups.com
      > Subject: [ydn-javascript] Question on how to prevent my Container -
      Dialog
      > from flashing
      >
      >
      >
      > When my web page is loaded with the Container - Dialog, I can see
      all
      > of the code for the dialog for an instant; how can I prevent this
      from
      > happening?
      >
      > Thx in advanced.
      >

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