|
From: Samuel, M. M <Sam...@ed...> - 2000-11-16 21:21:46
|
I posted some lines that needed to be removed from the loadpanel.js to enable it
to work under IE4.01
Also works under NS4.08+, IE5, IE5.5.
Currently doesn't work under NS6 (final) though there are a few rendering issues
under NS6 (including not correctly populating and rendering a select box in a
layer)
The code...
Original Code snippet:
LoadPanel.prototype.insertInlineElements = function() {
if (is.ns4 && this.isILayer) {
this.setHTML('<ilayer></ilayer>')
}
else {
if (is.ie5) this.setHTML('<DIV ID="'+this.id+'loadElement"
STYLE="behavior:url(#default#download)" style="display: none;"></DIV>');
if (is.ie4) {
if (this.useBuffer) {
this.setHTML('<IFRAME
ID="'+this.id+'loadElement" STYLE="visibility: hidden; display: none;"
onLoad="LoadQueue.loadHandler()"></IFRAME>');
}
else {
// size iframe to the layer
}
}
}
}
New Code Snippet:
LoadPanel.prototype.insertInlineElements = function() {
if (is.ns4 && this.isILayer) {
this.setHTML('<ilayer></ilayer>')
}
else {
if (is.ie5) this.setHTML('<DIV ID="'+this.id+'loadElement"
STYLE="behavior:url(#default#download)" style="display: none;"></DIV>');
if (is.ie4) {
this.setHTML('<IFRAME
ID="'+this.id+'loadElement" STYLE="visibility: hidden; display: none;"
onLoad="LoadQueue.loadHandler()"></IFRAME>');
}
}
}
This has been tested in my app - and currently in production. No errors found
thus far.
Mike
-----Original Message-----
From: Pascal Bestebroer [mailto:pa...@dy...]
Sent: Friday, 17 November 2000 7:10 AM
To: dyn...@li...
Subject: RE: [Dynapi-Help] LoadHTML
it's replaced with the loadpanel.. not working correctly on ie4 yet (as far
as I know)
Pascal Bestebroer
pa...@dy...
http://www.dynamic-core.net
> -----Oorspronkelijk bericht-----
> Van: dyn...@li...
> [mailto:dyn...@li...]Namens Eytan
> Heidingsfeld
> Verzonden: donderdag 16 november 2000 18:19
> Aan: dyn...@li...
> Onderwerp: [Dynapi-Help] LoadHTML
>
>
> I have been a bit too busy to help you guys on the list but now I need a
> favor. What is going on with the loadHTML in the DynLayer. I need
> to use it
> for a project I am working on.
>
> Thanx in advance,
> Eytan
>
> _______________________________________________
> Dynapi-Help mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
>
_______________________________________________
Dynapi-Help mailing list
Dyn...@li...
http://lists.sourceforge.net/mailman/listinfo/dynapi-help
|