|
#11
|
|||
|
|||
|
That solution seems to be smarter, it doesn't require extra sql-statemants and reuse existing variables of pixelpost:
http://www.pixelpost.org/forum/showthread.php?t=717 |
|
#12
|
|||
|
|||
|
I just figured how to preload for those using the secret addon too. I know nuts about scripting but it seems to work hehe
HTML Code:
<script type="text/javascript"> if (document.images) { img1 = new Image(); img1.src = "images/<PRELOAD_IMAGE_NAME>"; img1.src = "images/o_<PRELOAD_IMAGE_NAME>"; } </script> |
|
#13
|
|||
|
|||
|
any idea how I can preload the secret image for the very first image?
since the <PRELOAD_IMAGE_NAME> only loads the "previous" image. |
|
#14
|
||||
|
||||
|
You are on the right track, but you don't need the <PRELOAD_IMAGE_NAME>.
Just use Code:
<script type="text/javascript">
if (document.images)
{
img1 = new Image();
img1.src = "images/o_<IMAGE_NAME>";
}
</script>
|
|
#15
|
|||
|
|||
|
thank you very much for the quick reply!
it works like a charm now! much appreciated
|
|
#16
|
||||
|
||||
|
n/p
I use it in my blog too now so I have to thank you for the idea |
| Post Reply |
| Thread Tools | |
|
|