From: Tarun R E. <ta...@we...> - 2000-11-28 19:29:05
|
Duh! I feel like a chump! The answer was starting at us in the face. Just replace the variable 'scroll' with any other variable say 'bingo' for example and presto everythings suddenly fine and jeez, to think that I wasted an entire day over this!!! Learned one lesson though -- never keep the variable name as "scroll" -- it conflicts with something in Internet Explorer. And by the way Andrew, you cant put a "var" in front of the ScrollPane reference, that will make it a local variable instead of a global one. Thanks Dan! There was nothing wrong with your widget after all! ----- Original Message ----- From: "Andrew Moss" <and...@vi...> To: <dyn...@li...> Sent: Tuesday, November 28, 2000 11:20 PM Subject: RE: [Dynapi-Help] Help with ScrollPane > I too am looking for a working ScrollPane, I have found that replacing this > line in dynapi.gui.scrollpane.html : > > scroll = new ScrollPane(label1) // label1 will be set as the content > > with : > > var scroll = new ScrollPane(label1) // label1 will be set as the content > > at least displays the ScrollPane, but then the setSize and setContent don't > work, hmmm... any ideas? > > Andrew Moss > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Doug Melvin > Sent: 28 November 2000 19:36 > To: dyn...@li... > Subject: Re: [Dynapi-Help] Help with ScrollPane > > > Well, I am going to need to use the scrollBar (or scrollpane) this week as > the deadline for this project draws near.. > sO, if anyone HAS fixed their copy PLEASE let me know, if not tho, then > expect a fixed copy from myself later this week.. (It has to work, so I'll > have to fix it wirght?) > > I do hope someone beats me to it though.. Be warned.. my version WILL have > semicolons. :-) > > Thank you, > Doug Melvin > Integrated System Solutions: Design, Development, Implementation and Support > Creative-Workshop.com > ----- Original Message ----- > From: "Tarun R Elankath" <ta...@we...> > To: <dyn...@li...> > Sent: Tuesday, November 28, 2000 7:48 AM > Subject: [Dynapi-Help] Help with ScrollPane > > > > Help Dan! > > > > The ScrollPane widget doesnt seem to be working in IE. The weird thing is > > that works perfectly in Netscape, and there doesnt seem to be anything > wrong > > with the code. However "oncreate" is not called in the case of IE, and > > nothing appears on the screen. > > > > The example that you have provided with this widget also doesnt work at > > first. One needs to set the path to the scrollpane images and then it > works > > fine, but only in Netscape. :-( > > > > Any ideas or suggestions to get it working ? > > > > ----- Original Message ----- > > From: "Dave Rattray" <da...@ia...> > > To: <dyn...@li...> > > Sent: Tuesday, November 28, 2000 6:16 PM > > Subject: [Dynapi-Help] new to DynApi 2 > > > > > > > I'm new to this version of DynApi and am having trouble getting to grips > > > with it. I downloaded the link that Dan provided: > > > > > > http://fury161.dyndns.org/dynapi-2000.11.07-danwidgets.zip > > > > > > but didn't see any clear cut files showing me Scrollpane, Scrollbar, > > Button, > > > Label, ButtonImage and PushPanel. Am I overlooking something? Can > someone > > > point me in the right direction. > > > > > > I found the tutorials on dansteinman.com for the original DynAPI > dynlayer > > > very useful in learning everything but have not found anything like that > > so > > > far for DynAPI 2. > > > > > > I need help basically in the knowledge of how images are swapped in this > > new > > > version within layers and how to do the scroll window. > > > > > > Help?! > > > > > > ----------------------------------------------- > > > Dave Rattray > > > Web Developer > > > > > > Interactive Bureau > > > Holborn Gate > > > 26 Southampton Buildings > > > London WC2A 1PJ > > > > > > Phone: 020 7861 3939 > > > Fax: 020 7861 3940 > > > Internet: http://www.iablondon.com/ > > > ----------------------------------------------- > > > > > > _______________________________________________ > > > 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 > > > > _______________________________________________ > 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 > |