Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

just found this out....1 part heads up / 2nd part a question..

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
old i know you won't care but maybe some will take this into consideration..i just found out that aol's new browser 7.0 and ie 6 are not compatible..buttons that call javascripted buttons (pop ups, etc), are not working..I guess bill gates and the new timewarner/aol guru are having tissies..aol will have to go back and build a patch for aol 7.0, the only other option for them i guess would be switch to netscape as there default browser..but bill probably, somehow, owns that one too..

anyways just thought you guys would like to know that for anyone who clicks on your sites with aol7.0 your javascript isn't working..

craziness.............

now for the question..i know this is the wrong forum but i'm gona ask you guys to explain this to me..it's a javascript that preloads images..will someone break it down and explain this to me..benefits of it of course i know..just not understanding exactly how it works..

<!-- ImageReady Preload Script (blank.bmp) -->
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
<!--

function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}

function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments].src = changeImages.arguments[i+1];
}
}
}

var preloadFlag = false;
function preloadImages() {
if (document.images) {
source_01_over = newImage(&quot;images/home_01-over.gif&quot;);
source_02_over = newImage(&quot;images/pics_01-over.gif&quot;);
source_03_over = newImage(&quot;images/3d_01-over.gif&quot;);
source_04_over = newImage(&quot;images/why_01-over.gif&quot;);
source_05_over = newImage(&quot;images/links_01-over.gif&quot;);
preloadFlag = true;
}
}

// -->
</SCRIPT>
<!-- End Preload Script -->
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Poor AOL users! Imagine if your using AOL on Mac... What a treat that must be! But look at the bright side! THEY get warned when they log in! WELCOME! YOU'VE GOT MAIL! Who knows maybe it's from Bill himself!
AOL! Shesssssssssssssssssssh! Worst than NS!
We'll have to add another suggestion on the front page of &quot;our&quot; sites: AOL USERS! GET A LIFE!

As for your second question, maybe this would help:

If it doesn't, maybe you should ask (maybe you already did, didn't check on that!), as you suggested, on the Javascript forum!

Regards,
new.gif
 
All the image pre-loader does is download the rollover images into the browser cache (without showing them on the page the are just kept as JS variables) ready for using on the rollover states Regards

Big Bad Dave

davidbyng@hotmail.com
 
thats it?..just the rollover images..craziness..

thanks dave..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top