|
#21
|
||||
|
||||
|
Quote:
Or create a little gif with the text? |
|
#22
|
|||
|
|||
|
Thanks for reply austriaka
Ya, I figured out the way to imply this nice addon. |
|
#23
|
||||
|
||||
|
I just updated the Secret Image Addon. No version change because the code didn't change, but now NEW there is a check for updates in the Addon page.
Download it here: http://www.pixelpost.org/extend/addo...mage/download/ |
|
#24
|
|||
|
|||
|
is there a way to preload the secret image?
the secret image takes a while to load hence majority of users don't see it when they mouseover the icon and think nothing's there as seen in my site: http://www.stephyk.com i found a hack in here that preloads the next image but not the current one's secret image: http://www.pixelpost.org/forum/showthread.php?t=6129 any idea how I can do it? |
|
#25
|
||||
|
||||
|
yes, you can use the little Javascript dwilkinsjr posted in the mentioned thread. Just replace the tag "<PRELOAD_IMAGE_NAME>" by "o_<IMAGE_NAME>"
Code:
<script type="text/javascript">
if (document.images)
{
img1 = new Image();
img1.src = "images/o_<IMAGE_NAME>";
}
</script>
You do not need the Image Pre-Loader Addon at all since this retreives only the filename of the next image. |
|
#26
|
|||
|
|||
|
thanks for the quick reply. works like a charm now!
very much appreciated
|
|
#27
|
||||
|
||||
|
Modified Version for Switchy Template
When using a template which has separate definitions for landscape and portrait orientated photos (vertical and horizontal tables) like Switchy for example, you will encounter problems with the Secret Image Addon.
You have one table for horizontal view and one for vertical view. Depending on which orientation the image has, the one table is set invisible and the other visible (by css). Now it happens that the image with name "mainimage" is in the page twice, even if not visible. Firefox changes the image in the first occurance (which is the horizontal view) but not again in the second. InternetExplorer seems to be more tolerant in having the same name twice. Here is a modified version of Secret Image Addon for those who are using a template which has the image layout part twice, depending on image orientation: http://uhlig.at/downloads/secret_image_hvtables.zip Please use these Addon Tags instead of <ATTRIBUTE_NAME> and <SECRET_LINK>: <ATTRIBUTE_NAME1> and <SECRET_LINK1> in the horizontal table <ATTRIBUTE_NAME2> and <SECRET_LINK2> in the vertical table Have fun with it! |
|
#28
|
|||
|
|||
|
Has anyone figured out how to incorporate the auto resize addon into this so that both images are the same size if I use auto resize?
|
| Post Reply |
| Thread Tools | |
|
|