- Create Account

Save out checktree

Forums > Forum Help > Save out checktree
Author
Message

1) peter101 Group: Members
Posts: 2 Joined: 12 Feb 2008 Location: California IP: 128.102.--.--
I really love the checktree example. One issue I can't seem to get around is that when one tries to save the web site locally, Mozilla is not smart enough to save out the url linked images defined in the style sheets (either inline, or <link>ed in). Is there a browser setting I should be using. One comment I found on the web is to enclosed the url link in quotes, but this has not helped. Any feedback would be welcome.
Thanks
PeterR

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.109.--.--
Just grab the zipfile download from the script homepage! That's what it's there for :).

-  Angus.

3) peter101 Group: Members
Posts: 2 Joined: 12 Feb 2008 Location: California IP: 69.107.--.--
Angus -

Thanks I  appreciate that. But when one displays content they will want to save out their selections, and this does not save out completely because Mozilla is not smart enough to look in <link> css docs to find URLs. Mozilla offers an additional plug-in called Save Complete. This did save out the css URLs but does not save out the javascript generated tags. So I have taken to adding setAttribute code (for bacjground) instead of the the clean method you used with setClass. This has not yet been successful. ONe more question - I have noticed that when web pages are save out they don't save all of the web arguments in the URI(i.e. ?x1="a'&x2="b". How does one preserve this as well.

Peter
PeterR

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Browser saving is a really complicated issue and often doesn't work well. That's why I have the zipfile. There is no reason to "save" any of the scripts from this site, the dodgy browser behaviours are exactly why I offer zipfiles for everything so that everyone gets the correct copy of the code!

There are dedicated saving utilities as you have found. Some might not save URL parameters as you shouldn't really use & in filenames (it's a shell command separator). Find one you like and use it if you're keen on saving things from other websites.

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.