SourceTec Software

It is currently Wed Apr 23, 2014 3:57 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Preloading the icons...
PostPosted: Sat Sep 23, 2006 2:17 am 
Offline
Member

Joined: Sun Sep 17, 2006 3:42 am
Posts: 11
I noticed one thing....

when you have a html web-site with a tree menu... and you open a branch for the first time, then the gif images that show the lines between the nodes and the [+] gif image dont show at first, but only after some moments (0.5 seconds, my guess)

as i understand this, the gifs have to load from the server. You didnt "needed" them when you first loaded the page... but now as you open a branch you need them and they have to load afterwards...

you can prevent this by loading them as your page loads, like this...

<img src="blank.gif">
<img src="expand_f.gif">
<img src="expand_uf.gif">
<img src="line_def0.gif">
<img src="line_def1.gif">
<img src="line_def2.gif">
<img src="line_def3.gif">

and you add this attribute to each img tag:
style="visibility:none;"

... so the gif-s dont show on the page....


to "feel" the difference visit this:

Gifs dont preloaded: www.dylan7.com/menu/menu.htm
Gifs preloaded: www.dylan7.com/menu/menu2.htm

(you may have do delete the browser cache in between: Crtl+Shift+Del in Firefox)

My question is:

Is there a option to prelaod all gifs that the menu uses?
If not, i advise you to add this option in future versions.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 2:46 pm 
Offline
Support Team
Support Team

Joined: Fri Jan 28, 2005 5:15 pm
Posts: 1866
Hello dylan707,

Sorry for the reply delayed due to the checking of the problem.

I have forwarded your problem to our program developers. They are checking the problem now.

If we have any news on this issue, we will contact you soon.

Thanks for your concern.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group