PDA

View Full Version : Drop-in content box v2.0 positive position bug



jscheuer1
01-26-2015, 05:51 PM
1) Script Title: Drop-in content box v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem: If positive integers are used for the positioning array, it doesn't work. Problem is that the show: function accounts for the possibility of negative values or the word 'center' but does nothing if the values are positive. Those (positive values) should simply be passed through unchanged, but instead they're dropped (lost, not used). As a result, the box doesn't appear. Here's a modified version of the script which fixes that:

5584

ddadmin
01-27-2015, 05:11 AM
Thanks John, did a simple replace with the modified .js file. :)