1) njpmrGroup: Members Posts: 5Joined: 19 Sep 2005Location: usaIP: 67.80.--.--
Posted:
I added 2 scoll objects on a page and all is well until I try to use the load page functionality. When you go to load a page in either scroll object it wipes out the other page. I believe it has to do with the way div is being nulled out in the ispt.load function but Im clueless as to how to fix it. Help? Thanks
njpmr
2) Angus TurnbullGroup: Moderators Posts: 4235Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
Hmm. Have you got a link to your work in progress?
Also, perhaps consider using the HTMLHttpRequest script instead, which can be used to implement a loading scrollable area.
- Angus.
3) njpmrGroup: Members Posts: 5Joined: 19 Sep 2005Location: usaIP: 67.80.--.--
Posted:
I was just prototyping to see how multiple scrollers would work so i just took hvscroll.html from your download and duplicated / renamed the second scroller as you directed. Everything worked fine except for that page loading....the feature that would really help me out. --- Thanks Angus
njpmr
4) Angus TurnbullGroup: Moderators Posts: 4235Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
You're quite right, actually.
Open up HVSCROLL_COMMENTED.JS and find this line in the "function InlineScrollbox(myName, pageName)" block:
this.div = null;
Insert a this new line under that (without deleting anything):
this.divCont = null;
Mea culpa -- that should've been in there to begin with. With that done, it worked well for me.
Good luck - Angus.
5) njpmrGroup: Members Posts: 5Joined: 19 Sep 2005Location: usaIP: 67.80.--.--
Posted:
So easy....when you know how, huh. Works great. Should I use your script commercially I shall certainly donate. I haven't gotten such prompt support from most of the commercial software I use! Thanks , njpmr