Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: How to preload menu images
donaldsa
Junior Member

Posts: 5
Registered: 8/13/2002
Member Is Offline
posted on 8/15/2002 at 07:15 PM Reply With Quote
How to preload menu images


I have a page that contains a bunch of thumbnail pictures and a menu. When the page loads, the menu is drawn, then all of my thumbnail pictures are individually drawn, THEN the images for the menu are downloaded and drawn onto the menu. Is there a way for the menu images (down and right arrows, and misc of the .gif) to be download first?

As my thumbnail pictures are downloading, the menu works fine - but the images are missing until the very end.

Thanks,
Don Sanders
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/16/2002 at 06:01 AM Reply With Quote

You can use some of the standard image preload methods:


<script language="JavaScript">
var o_image1 = new Image();
o_image1.src = 'some_path/your_icon.gif';
var o_image2 = new Image();
o_image2.src = 'some_path/another_icon.gif';
[... and so on for all images]
</script>
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004