Click to See Complete Forum and Search --> : One time image loading


GUIR
09-30-2008, 06:24 AM
Hi!

I am using ******* Tree menu within a PHP application and see it gets more (I mean badly more) time to be loaded when there are higher amount of tree components.

Now each components has an image icon, and text. As I see even though same icons are used again and again, they are downloaded each for each component. Say 100 components in same category have same icon, then it seems to downloading 100 copies of same file, I wonder why one copy per one file can't be used.

I think this an issue of browsers rather than the tree script.

:) Experts could you please explain what really happening here? Am I correct ? What are solutions.

Thanks and Best Regards

sstalder
09-30-2008, 09:09 AM
I would say it's the script, but without seeing the script I can't be 100% sure.

GUIR
09-30-2008, 10:32 AM
Hi,

Javascript Statements like following are used to generate 1 tree item. Multiples are generated with the same in PHP loops.

stIT("p2i0",["<?=$Assname;?>","javascript:parent.basefrm.submitAssignment(<?=$resultArt['id'];?>);clearMsg();",,,,"tree/iconWrite1.gif","tree/iconWrite1.gif",13,14,"9pt 'Arial'",,,,,,"9pt 'Arial'",,,,,,"9pt 'Arial'","<?=$bgFontColor;?>",,"<?=$bgColor;?>",,,"9pt 'Arial'",,,,,,,,,,,0],"p1i0");

Unfortunately I am unable to provide full script because of agreements.

You will find vendor demos, if you search following phrase in google. I think explicit publishing of vendor URLs are against forum rules.

Easy to build the professional tree menu with no skills

Thanks and Best Regards