Forum Moderators: open
one more thing, how can you make it so that a frame or window cant be scrolled left, right, etc when there is more in that frame than what you see? and so that you cant select and drag spaces. you know what i mean?
thanks,
-sergie
Unfortunately, the only way for a browser to view anything on a webpage is to download in some form or another. I don't think there is anyway you can accomplish this. Maybe someone can correct me if I'm wrong?
<edit> sorry, misread your question </edit>
Maybe can you provide some info as to why you want to do this? Someone may be able to recommend a different method.
For the frame, you can use the following:
<frame src="yourfile.html" name="framename" scrolling="NO" noresize>
However, to disallow selecting and dragging, it's a little more tricky... you could use this to the HTML for the frame:
<body onSelectStart="return false;">
It disables anyone from highlighting the content on your page, so they can't drag across to scroll either. Although I don't know how you would prevent someone from using arrow keys..?
I think you could do the image loading thing, although it would probably be somewhat messy.
Check out this page:
http*//codepunk.hardwar.org.uk/ajs02.htm
It gives you the Javascript functions to detect page scroling by the user, with this I assume you could control image loading to your requirements.
The best way to do it in general without ugly javascripts would be to get yourself the Opera web browser, choose only show cached images, and load those that you need when you need them... There have been Opera wishes that allow you to select a patch of text and choose to load all images in the selected area, so hopefully this will be available in future versions to make hiding or showing images much easier...
- Joel