[Prototype-core] Re: Hijack Browser Loading

2007-06-14 Thread [EMAIL PROTECTED]
You are correct in your assumption of the functionality and unfortunately came to the same conclusion as me in that it can't be done. I do like your idea of setting a cookie maybe once the page is loaded saving wether the browser has JS enabled. Then my server side code could check that cookie

[Prototype-core] Re: Hijack Browser Loading

2007-06-14 Thread Ken Snyder
[EMAIL PROTECTED] wrote: You are correct in your assumption of the functionality and unfortunately came to the same conclusion as me in that it can't be done. I do like your idea of setting a cookie maybe once the page is loaded saving wether the browser has JS enabled. Then my server side

[Prototype-core] Re: Hijack Browser Loading

2007-06-14 Thread [EMAIL PROTECTED]
Just keep the content to a minimum since ninety-someodd-percent people have javascript enabled. Noted. I'll only be including the image url in the noscript / and using the script to dynamically populate the src. That is if a noscript / is allowed in a `src=` attribute. Otherwise I'll have

[Prototype-core] Re: Hijack Browser Loading

2007-06-13 Thread Michael Peters
[EMAIL PROTECTED] wrote: No matter what I try the images still load. Does anyone know how to hijack the browser and tell it not to load certain images? I might be wrong, but how a browser parses the HTML, decides what to download and when is all pretty browser specific. You probably can't

[Prototype-core] Re: Hijack Browser Loading

2007-06-13 Thread [EMAIL PROTECTED]
You could try having your Javascript modify the URLs of images that you want to hold off on loading. Unfortunately i've tried this out and it still loads the original images even though the swapped out image is displayed. I realize this is probably a browser specific thing, and may not be

[Prototype-core] Re: Hijack Browser Loading

2007-06-13 Thread Ken Snyder
[EMAIL PROTECTED] wrote: Hey guys, I'm building a web app and am hoping to minimize the images loaded per page. I like the way YouTube only loads the thumbnails of the images you can see and then waits till you scroll before loading any others. They do this by placing img / tags for the

[Prototype-core] Re: Hijack Browser Loading

2007-06-13 Thread Ken Snyder
[EMAIL PROTECTED] wrote: A simple unobtrusive approach would be to have a drawer of thumbnails with a link to view more images. For JavaScript enabled browsers, simply override the functionality of that link to load a list of image locations from memory or by AJAX. The only problem

[Prototype-core] Re: Hijack Browser Loading

2007-06-13 Thread [EMAIL PROTECTED]
Here's a prototype I was working on: http://code.markhuot.com/image_trick/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to