PDA

View Full Version : Ultimate Fade In - looking for auto smooth pop up of description panel



mannkumar
04-19-2010, 10:30 AM
1) Script Title:
Ulitmate Fade In

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:
I'm looking for help to modify the description panel to pop up (scroll up) automatically in a slow, smooth manner rather than on mouseover. Although you can set the descreveal option to always on, i would like it to matches the pop-ups of Jon Design's smooth gallery used on my blog

my web site link is ;
www.lotus-architects.com (using U-fade-in)

and i would like it to match my blog
www.arty-tecture.com (using smoothgallery)

(PS many thanks for the fantastic work to date on the scripts)

ddadmin
04-19-2010, 10:48 PM
Try using the undocumented onslide() event handler inside your initialization code to accomplish this:


var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["http://i30.tinypic.com/531q3n.jpg"],
["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: "",
onslide:function(){
var slideshow=this
this.showhidedescpanel('show')
setTimeout(function(){slideshow.showhidedescpanel('hide')}, this.setting.displaymode.pause-fadeSlideShow_descpanel.slidespeed)

}
})

Basically the code in red animates the description panel automatically into view each time a slide is shown, then hides it just before the script changes slide.

I might add this option directly into the script the next time it's updated.

mannkumar
04-20-2010, 08:51 AM
many, many, many thanks ! (keep up the fantastic work)

on a minor another minor query, and i have to apologise if its inappropriate to ask this but i
on my history page below, i also used colorbox to pop up some text boxes, which also uses jquery/1.3.2.

but i could n't get it work by loading it once...(i.e. i could only get it to work when loading it twice) - do you know if i've put the references in the wrong place ?

http://lotus-architects.com/-history-.html

ddadmin
04-20-2010, 08:49 PM
Hmm I'm not familiar with the inner workings of ColorBox unfortunately, so it's hard for me to say what the issue could be just at a glance. In FF3.6 for me though, the images on that page do change from the very beginning, with the text boxes animating up and down.

mannkumar
04-21-2010, 08:58 AM
ok - thnks v much for your help / input