PDA

View Full Version : pagescroll-script with multiple external documents


perra
08.06.2001, 04:38
Does anyone know how to use the pagescroll-script ( http://www.dhtmlcentral.com/script/script5.asp ) with multiple external documents instead of multiple layers? Thanks...

Royan
08.06.2001, 07:37
I think that you’d better use <iframe> instead of all script5 code

Greg
09.06.2001, 02:22
You might want to try this link.
[url:8xeljg6c1e]http://www.bratta.com/dhtml/scripts/scripts.asp?id=32&ac=2&order=created[/url:8xeljg6c1e]

G.

Roger Sherwin
09.06.2001, 07:08
Have a look at the demo of the script from bratta.com that I have been playing with
http://www.beacon77.freeserve.co.uk/scrollareaproject/scroller2.htm

beacon20

perra
09.06.2001, 11:02
Thank you both, can you tell me whats the difference between the two scripts?

Do you know how make one document loaded as the "default document" when the page opens, apart from with 'body onload'?



Edited by - perra on 06/09/2001 10:14:00

Greg
10.06.2001, 03:05
Haven't looked at beacon's script, but I have tried to use Thomas's script and found it too hard to use with anything other than text html files. For example to use an internal page that that contained preloaded images. You would have to preload them on the separate individual pages for NS4 and IE but also preload them on the external (host) page as well for NS6. Does this make sense? I would suggest that you use a normal frame set. You can put the scroll divs in one frame in order to scroll a different one. To simplify even further you could put all of the JavaScript functions in an external js file and the Style bit in a separate css file. Have a look at the following link to see how I got around this problem. As Thomas says right in the source this is a really big work around. But a very kewl concept.

G.
[url:phg431k9ck]www.trustafarian.com[/url:phg431k9ck]

Greg
10.06.2001, 03:09
Oops...
[url:m0wtr7mbl5]http://www.trustafarian.com/[/url:m0wtr7mbl5]

perra
10.06.2001, 07:27
Thanks Greg. What if I use only text, tables and perhaps the "spacer-image"?

Nice picture from Glastonbury btw:)



Edited by - perra on 06/10/2001 06:29:52

Greg
10.06.2001, 20:07
If that is all you're going to use in the external pages than this pageLoading it the script for you. Don't forget to update to Thomas's new browser check for IE6 and others. Glastonbury was great and sunny for a change...

G.