From: Pascal B. <pa...@dy...> - 2000-11-04 17:23:48
|
<html>=0A= <head>=0A= <title>DynAPI Examples - LoadPanel</title>=0A= <script language=3D"Javascript" src=3D"../js/dynapi.js"></script>=0A= <script language=3D"Javascript">=0A= =0A= DynAPI.setLibraryPath('../js/lib2.0/')=0A= =0A= DynAPI.include('core.api.dynlayer.js')=0A= DynAPI.include('core.api.browser.js')=0A= DynAPI.include('core.api.dyndocument.js')=0A= DynAPI.include('core.ext.loadpanel.js')=0A= DynAPI.include('core.api.events.js')=0A= =0A= =0A= DynAPI.onLoad=3Dfunction() {=0A= =0A= lp =3D new LoadPanel()=0A= // lp.useILayer(true)=0A= =0A= lp.setSize(250,50) // height will be overwritten by default=0A= lp.moveTo(200,100)=0A= lp.setBgColor('yellow')=0A= =0A= counter =3D 0=0A= =0A= var el =3D new EventListener()=0A= el.onload =3D function(e) {=0A= status =3D 'got load event '+ counter++=0A= }=0A= lp.addEventListener(el)=0A= =0A= DynAPI.document.addChild(lp) =0A= }=0A= =0A= //-->=0A= </script>=0A= </head>=0A= <body bgcolor=3D"#ffffff">=0A= =0A= <p><a href=3D"javascript:lp.useILayer(true)">use ILayer</a> Netscape=0A= <br><a href=3D"javascript:lp.useILayer(false)">do not use ILayer</a> = Netscape (default)=0A= =0A= <p><a href=3D"javascript:lp.useIFrame(true)">use IFrame</a> IE (default)=0A= <br><a href=3D"javascript:lp.useIFrame(false)">do not use IFrame</a> IE=0A= =0A= <p>Load Files:=0A= <br><a href=3D"javascript:lp.setURL('loadpanel-file1.html')">file 1</a>=0A= <br><a href=3D"javascript:lp.setURL('loadpanel-file2.html')">file 2</a>=0A= =0A= <p>Set Width:=0A= <br><a href=3D"javascript:lp.setWidth(150)">150</a>=0A= <br><a href=3D"javascript:lp.setWidth(250)">250</a>=0A= =0A= <p><a href=3D"javascript:lp.clearFile()">Clear</a>=0A= =0A= </body>=0A= </html>=0A= |
From: Robert R. <rra...@ya...> - 2001-06-20 03:03:54
|
Before the next release we need to fix the loadPanel resizing. In IE atleast, when you resize a loadPanel with a url already loaded it disappears. The problem appears to be the reload() method. It clears out the contents when the dynlayer is resized. Why is it doing this? Simply removing the method fixes that problem but the reload method is needed for other reasons. -- Robert Rainwater _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: <no...@so...> - 2001-03-19 13:43:04
|
Bugs item #409730, was updated on 2001-03-19 05:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 Category: Core API Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: LoadPanel Initial Comment: When I load a page in a loadPanel if this page contains some java script, there is no execution in IE 5 ...work on NS sample page <HTML> <BODY OnLoad="javascript:alert('Test');"> Test Page </BODY> </HTML> ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 |
From: <no...@so...> - 2001-03-20 07:57:48
|
Bugs item #409730, was updated on 2001-03-19 05:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 Category: Core API Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: LoadPanel Initial Comment: When I load a page in a loadPanel if this page contains some java script, there is no execution in IE 5 ...work on NS sample page <HTML> <BODY OnLoad="javascript:alert('Test');"> Test Page </BODY> </HTML> ---------------------------------------------------------------------- Comment By: Andy Short (sh0rtie) Date: 2001-03-20 00:00 Message: Logged In: YES user_id=176079 This question has allready been answered in the lists , please read/search there before posting supposed "bugs" like this ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 |
From: Daniel A. <dan...@ne...> - 2001-03-20 10:43:03
|
It's not totally obvious where the list archives are or how to search in them for people just coming into the project. I'm thinking perhaps it would be a good idea to have some pointers to search facilities for the dynapi lists on the homepage. It'd be easy to make a form on the dynapi homepage which would let you search directly in mail-archive.com for dynapi-dev or dynapi-help messages. This could also be included in the FAQ. What do you think? Btw, what happened to the idea of having a FAQ-engine running so the FAQ could be maintained by more people? And what happened to the idea of running a wiki thing for dynapi? Cheers, Daniel no...@so... wrote: > > Bugs item #409730, was updated on 2001-03-19 05:45 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 > > Category: Core API > Group: None > Status: Open > Priority: 5 > Submitted By: Nobody/Anonymous (nobody) > Assigned to: Nobody/Anonymous (nobody) > Summary: LoadPanel > > Initial Comment: > When I load a page in a loadPanel > if this page contains some java script, there is no > execution in IE 5 ...work on NS > > sample page > <HTML> > <BODY OnLoad="javascript:alert('Test');"> > Test Page > </BODY> > </HTML> > > ---------------------------------------------------------------------- > > Comment By: Andy Short (sh0rtie) > Date: 2001-03-20 00:00 > > Message: > Logged In: YES > user_id=176079 > > This question has allready been answered in the lists , > please read/search there before posting supposed "bugs" > like this > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Daniel Aborg <dan...@ne...> T: 0207 445 447 M: 07720 29 44 40 |
From: Cameron H. <ca...@bi...> - 2001-03-20 11:11:58
|
This particular issue is addressed in the DynAPI helpsheet which is under documentation on the official DynAPI site. I'm not sure how we can make the documentation clearer, it is there if you look for it. Perhaps we should link to the help sheet from the FAQ (if there isn't a link already). Although the information on running scripts in LoadPanel that is in the helpsheet isn't entirely accurate, I'll hopefully update it sometime, also noticed the admin interface has munged the formatting again - doh. It is possible to use inline javascript in a loadpanel in IE. The script must be in the body of the document, as IE ignores everything outside the body tags. The script tags must include the defer parameter. Although this works, Netscape and IE use a different namespace for scrips defined in this fashion, which makes them difficult to use. > It's not totally obvious where the list archives are or how to search in > them for people just coming into the project. I'm thinking perhaps it > would be a good idea to have some pointers to search facilities for the > dynapi lists on the homepage. It'd be easy to make a form on the dynapi > homepage which would let you search directly in mail-archive.com for > dynapi-dev or dynapi-help messages. This could also be included in the > FAQ. Sure, we could put more obvious "You can find more info here" bits on the homepage, or perhaps restructure the documentation. I believe there are links to the FAQ, tutorials, and mailing list archives for the homepage already, maybe they aren't obvious enough. Cameron. |
From: <no...@so...> - 2001-03-28 22:45:02
|
Bugs item #409730, was updated on 2001-03-19 05:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 Category: API Group: None >Status: Closed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: LoadPanel Initial Comment: When I load a page in a loadPanel if this page contains some java script, there is no execution in IE 5 ...work on NS sample page <HTML> <BODY OnLoad="javascript:alert('Test');"> Test Page </BODY> </HTML> ---------------------------------------------------------------------- Comment By: Andy Short (sh0rtie) Date: 2001-03-20 00:00 Message: Logged In: YES user_id=176079 This question has allready been answered in the lists , please read/search there before posting supposed "bugs" like this ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409730&group_id=5757 |