![]() |
[javascript] Preloading images? How?
I want to preload some images.
I used this javascript code: Code:
window.onload = function preload_tabimages() Thanks in advance! |
var gk_tab = new Image();
gk_tab.src = "$vboptions[bburl]/newera/karteles/gk.gif"; var t_tab = new Image(); gk_tab.src = "$vboptions[bburl]/newera/karteles/t.gif"; i've highlighted something up there. Seems to me you've messed up the variable names. |
Ooops!!! I'm such an idiot!
Thanks! |
All times are GMT. The time now is 08:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|