Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Need help!!

  1. #1
    Join Date
    Jan 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need help!!

    1) Script Title: Combine Image Thumbnail Viewer II & Ultimate Fade-in slideshow

    2) Script URL (on DD):
    here is the link to the thread http://www.dynamicdrive.com/forums/s...ad.php?t=40319

    3) Describe problem:
    I am very new to the Forum and Java Scripting, but by reading this thread I managed to use these scripts and it is working fine - just what I was looking for! I have one question. Is it possible to take it further and make so that the slide show continues from slide1 to slide2, etc. In other words, not only the images that belong to slide1 row will appear but all of them?
    Sorry, if I sound not too clear - I am trying my best.

    Thank you

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Like this, but with the fade-in slide show still continuing when the mouse is not over the thumbnail.
    Something like this: http://varianscuirs.com/cuirs_luxe/c...mes-pin-up.htm
    But I want the slide show moving through all the images, from one "slide row" to another, but with the ability to see the enlarged image when mouseover.

    Thanks for quick response!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The fade in slide show does continue when the mouse moves off of the thumbnails, in fact - that behavior is configurable, but it just so happens that in the demo I linked to, it does continue.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jan 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thank you and more...

    Thank you for your help. Sorry, but, I am afraid, I would need more explanations on coding.
    All the coding part is really hard for me - I am more on visual part and I am just learning scripts by copying and adopting from others, reading forums, etc.. I am trying hard. So, if you would be able to help, I will be very thankful.
    Here is what I was looking for.

    On the link that you sent, I would only need small thumbnail images and the window where I could see the enlarged versions of them and the fade-in slide show going on meanwhile.
    The link that you referred almost perfect, except I do not need any texts or buttons. And also, somehow the fade in slide show is not happening when mouse is off the thumbnail.
    Also, at this point, I do not think I could be able to write any scripts myself.
    Do you think, this is too much to ask?

    Oodles of thanks in advance!

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What's happening is that although mousing over the thumbnails only pauses the slide show, mousing over the larger image is stopping it. This config will eliminate the extra buttons that you don't want and change the stop on the larger image to a pause:

    Code:
    <script type="text/javascript">
    viewfadeslide.config = { //place comma after each entry except the last
    //Use true or false or {Object} containing boolean values for separate primary load areas
    
     enableCaption : false, //Should "title" attribute of link and any paired image's 3rd parameter to be used as caption?
     captionTop : false, //Place caption at the top of the image?
     makeTitle : true, //Make title attribute for enlarged image from name attribute of trigger link?
     hideImgMouseOut : false, //Hide enlarged image when mouse moves out of anchor link? (if enlarged image is hyperlinked, always set to false!)
     disableOnClick : true, //Disable default onclick for mouseover triggers?
     populateWithFirst : true, //Fire first link in load area group(s) onload?
     enableCount : true,
    
    //Use true or false
    
     enableTransition : true, //Enable GradientWipe transition in IE 6+? (if true & not IE or an earlier IE, a fade transition will be attempted)
    
    //Use true or false or {Object} containing boolean values or tag name for separate primary load areas
    
     writeNumberButtons : false, //Also requires element with id of load_area_idNum ex: <div id="loadareaNum"></div>
     writeControlButtons : false, //Also requires element with id of load_area_idControl ex: <span id="loadareaControl"></span>
     
     useButtons : true, //Allows choosing individual Control buttons by numbers, ex:  useButtons : {loadarea: {4 : true, 5 : true}},
     //Works off array: 0 = 'Next', 1 = 'Previous', 2 = 'First', 3 = 'Last', 4 = 'Run', 5 = 'Stop' - otherwise just set to true
    
     enableSlideShow : true, //Enable slide show(s) use - true/false or {load_area : delay}
     startSlideShow : true,
     swapControlVals : false, //true false or object with boolean values - should running/paused state affect buttons?
    //Below three (only valid if slide show running) may use 'pause', 'stop' or 'none', boolean objects or global values
     slideHoverBehavior : 'pause', //What happens onmouseover of larger images if slide show is running
     slideTriggerBehavior : 'pause', //What happens when triggers are activated if slide show is running
     slideNumberButtonsBehavior : 'stop', //What happens when numbered buttons are clicked if slide show is running
    
    //Set to true only if using lightbox 2.04a add on and lightbox groups
     enableLightBoxGroups : false //Enable writing out all lightbox group links (lightbox[groupname]) links to a display none div? (true/false only)
    }; //No comma After last entry in the above (viewfadeslide.config)
    </script>
    Since I don't think you will be using the Lightbox 2.04a add on, and I know you don't want the buttons, your markup can look like so (goes in the body section):

    Code:
    <div class="vacthumb"><a class="" href="images/image_01.jpg" name="Caribbean&nbsp;Princess" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_01_tbn.jpg" alt=""></a><a
     href="images/image_02.jpg" name="Heidi&nbsp;&amp;&nbsp;Heather" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_02_tbn.jpg" alt=""></a><a
     href="images/image_03.jpg" name="Corn&nbsp;Dog&nbsp;(Waldo)" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_03_tbn.jpg" alt=""></a><a
     href="images/image_04.jpg" name="Tree&nbsp;House" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_04_tbn.jpg" alt=""></a><a
     href="images/image_05.jpg" name="Freedom&nbsp;Pond" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_05_tbn.jpg" alt=""></a><a
     href="images/image_06.jpg" name="Pigs" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_06_tbn.jpg" alt=""></a><a
     href="images/image_07.jpg" name="Margaret&nbsp;Todd&nbsp;(rigging)" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_07_tbn.jpg" alt=""></a><a
     href="images/image_08.jpg" name="Margaret&nbsp;Todd&nbsp;(starboard&nbsp;bow)" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_08_tbn.jpg" alt=""></a><a
     href="images/image_09.jpg" name="Figaro" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_09_tbn.jpg" alt=""></a><a
     href="images/image_10.jpg" name="Rock&nbsp;Sculpture" rel="vfsimage::mouseover" rev="vac"
    ><img src="images/image_10_tbn.jpg" alt=""></a>
    </div>
    <div id="vac"></div>
    Be sure to copy the styles (minus those for the buttons you are not using) and put them in the head of your page:

    Code:
    <style type="text/css">
    /* All Styles Optional */
    body {
    color: #ddd;
    background-color: #000;
    margin: 0;
    padding: 0;
    }
    .content {
    margin: 15px 10px;
    }
    #container {
    margin-top: 1em;
    }
    img {
    vertical-align: middle;
    border: none;
    }
    .vacthumb img {
    border: 1px solid #000;
    height: 56px;
    width: 75px;
    padding: 1ex;
    margin-bottom: 1ex;
    }
    .vacActive img {
    border: 1px solid #ccc;
    }
    #vac {
    margin: 1em;
    height: 425px;
    width: 400px;
    float: left;
    position: relative;
    background-color:#666;
    }
    </style>
    Put the script call in the head of your page, right after the styles and before the configuration:

    Code:
    <script type="text/javascript" src="vfs_min.js">
    
    /* Omni Image View, Fade, and/or Slide Script ©2008 John Davenport Scheuer
       as first seen in http://www.dynamicdrive.com/forums/
       username: jscheuer1 - This Notice Must Remain for Legal Use
       */
    
    </script>
    Save the minified version of the main script (right click on the below and choose 'Save As'):

    http://home.comcast.net/~jscheuer1/side/vfs/vfs_min.js

    and place it in the the same folder as your page.
    Last edited by jscheuer1; 01-17-2009 at 07:22 PM.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Jan 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello and Thank YOU very much!!! It is working wonderfully. I was not even expected that someone could help me that much. Of course, I better start learning myself, but meanwhile it is a big help.
    One minor thing. Sorry for demanding that much.
    Since I built the whole site using tables (I know some prefer CSS), when I try to place the DIV inside the table the fade in function is not working.
    I need the thumbnails be side by side with image window.

    Thank you, again for your patience and for being there for me!
    Anastasia

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not sure why that would happen, but the display area for the slide show is actually two tables within a division and the script looks at those tables to help it figure out how to fade. So having it in another table might be messing with that, but I really don't think so, unless you have set some styles that are getting picked up by those tables (like if all tables or td elements are given background). But, who knows? I'd have to see it to be sure:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Jan 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think I did something wrong with the styles.
    Here is the link to what I did so far:

    http://www.knitsandpieces.com/design_gallery.htm

    Thank you, again!

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I can't find the problem. It only appear to happen in IE 7 (I don't have IE 8, so it may happen in it too). All other browsers are fading fine, as is IE 6. It has something to do with the table, but I think it is a bug in IE 7, as even the IE 7 developer toolbar shows that the opacity changes are taking place, you just cannot see them happening for some weird reason.

    I did test this out enough to know that it is not anything you did. Any table will stop the fading in IE 7.

    I'll keep playing with it, but it may just be a bug. We may have to position the vac div outside of the table.
    Last edited by jscheuer1; 01-19-2009 at 04:48 AM. Reason: spelling
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •