A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Preloading many images in html, help please!

  1. #1
    Senior Member freshly's Avatar
    Join Date
    Dec 2003
    Location
    Toronto, Canada
    Posts
    439

    Preloading many images, help please!

    I am currently using this code to load images

    <SCRIPT LANGUAGE="JavaScript">
    <!-- hide from none JavaScript Browsers

    Image1= new Image(175,50)
    Image1.src = "image1.gif"

    Image2 = new Image(25,30)
    Image2.src = "image2.gif"

    Image3 = new Image(125,80)
    Image3.src = "image3.gif"

    // End Hiding -->
    </SCRIPT>

    and it works fine accept that I have 50 images to preload
    and it takes forever to write the code

    There must be a quicke way ie: using css

    any suggestions, Please!

    Ps. I know this is a flash help forum

    Thanks In Advance!

    Freshly!
    Last edited by freshly; 08-15-2005 at 05:46 PM.

  2. #2
    Humble Peasant
    Join Date
    Aug 2004
    Location
    Is there a place we can REALLY call home?
    Posts
    30
    Hi freshly, I can give u some urls, where u can search for something that fits u =)
    here they are:

    http://www.webreference.com/dhtml/diner/
    http://www.dhtmlshock.com/
    http://www.webreference.com/js/
    http://www.dynamicdrive.com/
    http://www.dhtmlcentral.com/
    http://www.free-javascripts.com/
    http://www.yourhtmlsource.com/
    http://www.javaboutique.internet.com/
    http://www.wsabstract.com/dhtmltutors/index.shtml --> try this one before all the othes, as it contais css related stuff
    http://www.javascript.com/
    http://www.java-scripts.net/

    Sorry for not pointing out any specific tut, or page, but I think with the urls I gave, you'll be able to find a solution that fits u! Best of luck

    Regards

    David
    If something is really worth doing, then you MUST do it at all cost!!

  3. #3
    Senior Member freshly's Avatar
    Join Date
    Dec 2003
    Location
    Toronto, Canada
    Posts
    439
    Thanks my man

    Freshly

  4. #4
    Senior Member freshly's Avatar
    Join Date
    Dec 2003
    Location
    Toronto, Canada
    Posts
    439
    Still no luck guys, I looked thrue the links couldn't find anything to help, I'm at work so it's hard for me to really look, anyone have a quick fix!

    Thanks in advance

  5. #5
    Senior Member freshly's Avatar
    Join Date
    Dec 2003
    Location
    Toronto, Canada
    Posts
    439
    Or maybe I can preload the whole html page, its not very large!

    Is this possible?

  6. #6
    Senior Member freshly's Avatar
    Join Date
    Dec 2003
    Location
    Toronto, Canada
    Posts
    439
    Anyone? Any idea's?

    Thanks in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center