Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Question 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
    Last edited by jclements; 13 April 2010 at 12:11 AM.

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default 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>
    John.

  3. #3
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Thumbs up 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
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	orgchart_photopopups.jpg 
Views:	229 
Size:	65.4 KB 
ID:	71404  
    Last edited by jclements; 13 April 2010 at 01:53 PM.

  4. #4
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default 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.
    Attached Files Attached Files
    Last edited by covoxer; 13 April 2010 at 02:32 PM.
    John.

  5. #5
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default 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

  6. #6
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page

    Yes, please.
    (It's in my previous post.)
    John.

  7. #7
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default 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

  8. #8
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: TWEAK REQUEST, Auto play PhotoPopUps upon loading a page

    Quote Originally Posted by jclements View Post
    it plays the bottom-most first.
    Correct.
    Can that be changed to play the top-most first?
    Can't you reorder images on your page?
    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.
    John.

  9. #9
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default 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.

  10. #10
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default 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.
    John.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •