Well, the truth is IOElement should be used with web
pages that returns a notification to it's parent:
var io;
var dynapi = parent.dynapi;
if(dynapi) io = parent.IOElement.notify(this);
else alert('Error: Missing or invalid DynAPI
library');
Even thought IOElement can be used to display web
pages, it's main use is for dynamic communications.
The best widget to use for loading ordinary web pages
is the LoadPanel widget.
Here is the fix for the display bug in ioelement.js:
change line 347 from:
else this._clearScope();
to:
else if(this._hidden) this._clearScope();
--
Raymond Irving
--- Ramesh Pallikara <ra...@in...>
wrote:
> hi,
>
> i am trying to load a simple page using IOElement.
> The url gets loaded
> initially but then disappears after a few seconds.
> Also the loaded page does not
> I've pasted my code below. I'm doing this inside the
> <head> tag.
> Any solutions for this ???
>
> <script language="Javascript">
>
> var d = dynapi.document.addChild(new
> DynLayer(null,50,50,600,400,'white'));
> my_io = new IOElement();
> my_io.setSize(600,400);
>
> dynapi.onLoad(init);
> function init()
> {
> d.addChild(hidden_io);
> my_io.get("demo.dragover.html");
> }
> </script>
>
> thanx
> ramesh pallikara
>
> --
> QOTD:
> "I've always wanted to work in the Federal Mint.
> And then go on
> strike. To make less money."
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of
> bandwidth!
> No other company gives more support or power for
> your dedicated server
>
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
>
http://www.mail-archive.com/dyn...@li.../
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|