PDA

View Full Version : Amazon-style Drop-In box - help please!



ttesteve
10-24-2004, 04:49 PM
Love the site and the Amazon-style drop in script
(http://www.dynamicdrive.com/dynamicindex17/amazondrop.htm)

I was planning to use it on a number of my sites but wondered if anyone knew how I could make either or both of the following tweaks to it...

1) Is there a way to set it so that it NEVER loads on its own but instead has a clickable link/image that triggers it.

2) Is it possible to make it move in from right to left, rather than top to bottom?

I'm no scripting expert by any stretch so any suggestions gratefully received!

~~steve~~
www.tellytunes.com

ddadmin
10-27-2004, 02:59 AM
For 1), that's easy to do. Just follow the below steps:

1) First, make sure the display mode is set to "always" near the top of the script.

2) Remove the entire bottom code block:

if (displaymode=="oncepersession"...){
"
"
}

3) Finally, use a link like the below to manually drop down the box:

<a href="javascript:initboxv2()">Drop down</a>

ttesteve
10-27-2004, 04:25 PM
Great stuff - that worked perfectly!

Thanks very much, much appreciated.

~~steve~~
www.tellytunes.com