I know this is a little off-topic for C#, but I'm writing
my user controls with C#, and the other more HTML-related
groups looked like there hasn't been activity in days for
some reason... anyway....
I am wanting to create a user control (ASCX) that contains
a navigation panel so that I can simply include it on
pages within my site. The ASCX will contain images for
the buttons, and incldue script to make the buttons light
up when rolled over, as well as push-in when clicked on
(and subsequently pop back up, etc.) and gray out when the
button represents the page being currently viewed.
Creating most of this was a snap with Photoshop and
Imageready.
The problem I am encountering though is that IE doesn't
seem to pre-load the images into the cache, unless it's
simply a situation that IE is outsmarting me. Here's what
I mean:
I create a "ContactUs" button, a rollover image, a click
image, etc., and then write a prelaod script to preload
the images (JavaScript), and then a simple fxn to swap uot
the images, no prob. But I wanted "test" to see if the
images were "really" being per-loaded, as all of this runs
nice and fast on my LAN, but what about for users on the
outside? So, I load up my test page, and even go so far
as to roll over, and click the image to be sure taht
everything's loaded into the cache... then jump out to
Windows explorer, sneak in to the images directory, and
change the name of (for example) the rollover image...
switch back over to my IE window, and as soon as I roll
over the image, it disappears, meanign that IE for some
erason went back out try and find the image, hence it was
NOT being pre-laoded.
Is IE outsmarting me? Thinking, I have a broadband
connection here (or this is just a local page) and so it
doesn't cache things, or is there a setting somewhere
either on my web or in IE that I need to sue to tell it to
cache its images?
This creates a problem when I browse from the outside,
rollover effects sometimes don't seem to work in a timely
manner, like they're not really being proelaoded. FYI,
the website URL is http://www.myrmi.com This is a site I
am currently working on, so never mind the fact that the
links dont' do anything. For right now, the images are
the point. Thanks for any help anyone can provide! :)
JIM