TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
I have a 5 page file.
The first page serves as Table of Contents.
The last 4 pages each have a unique set of photos.
After a link to a photo page is executed and the page is displayed, could the popupphoto on that page be displayed automatically without requiring the user to click on a thumbnail first? I would want the user to be able to manually close a popup or stop a photopopup slide show if at all possible.
Not sure if this would be a Highslide Tweek or a WD6 tweek.
Regards, John
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Add following code to the Tracker code field on the page that has the slide show.
Code:
<script type="text/javascript">function my_autohs(){var ll=document.getElementsByTagName('A');for(var i=0;i<ll.length;i++){if(ll[i].className.indexOf("highslide")!=-1){hs.expand(ll[i]);break;};};};my_autohs();</script>
1 Attachment(s)
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Thank you.
Thank you.
Thank you.
Did I forget to say THANK YOU?
This works just great. Very useful when the page is crowded and the images have to be very small.
In the below example each major branch contains a its own set of photos. Everything EXCEPT the photos are repeating objects to faciltate updates. Also, clicking anywhere within a colored area advances you to the page containing the related photos (all objects in a colored area have links to the same page).
The only thing that is a bit funky is when the slide show plays, it goes left-to-right and then down through the images rather down the left most column on a page first, then the next column to the right and so on. I could make a page for each column of people, but I think I'll wait to see what others in office think first before doing so.
John
1 Attachment(s)
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
The thumbnails are sorted in the slide show based on their geometrical location. Left to right, top to bottom. But if you want, I can provide a tweak that disables the sorting. In this case, the images would be displayed in the stacking order of their thumbnails. So that you would have a full control over the order of the slide show.
EDIT
Here it is. Drop it on your page and it will not be sorted.
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
John, I would like to give it a try if you wouldn't mind.
[Comment Update]
a big :)
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Yes, please. :)
(It's in my previous post.)
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Hi John:
Works with the stacking order; however, it plays the bottom-most first. Can that be changed to play the top-most first? (I tried removing the "R" in the script assuming in meant "reverse" but that did not work).
Also, can that script code be appended to autoplay-photopopup code that is currently in the page's Tracker Code?
John
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Quote:
Originally Posted by
jclements
it plays the bottom-most first.
Correct.
Quote:
Can that be changed to play the top-most first?
Can't you reorder images on your page?
Quote:
Also, can that script code be appended to autoplay-photopopup code that is currently in the page's Tracker Code?
Yes, but append it in front of the autoplay code.
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Yes, photos can be reordered.
Nitpicking, I guess, but logically it would match the Arrange Order icons in WD6.
Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page
Well this is the way the Highslide displays the slide show. The first image in the HTML is first in the the slide show. And the first image in the HTML is the bottom image in WD as every following image in HTML is rendered on top of the previous. So this all makes perfect sense. :)