Results 1 to 2 of 2

Thread: Drop-in content box v2.0 positive position bug

  1. #1
    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 Drop-in content box v2.0 positive position bug

    1) Script Title: Drop-in content box v2.0

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../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:

    dropincontentbox.js
    - John
    ________________________

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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Thanks John, did a simple replace with the modified .js file.
    DD Admin

Similar Threads

  1. Drop-in content box v2.0 - Positive integers not working
    By nycguurl in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-27-2015, 01:12 AM
  2. Replies: 1
    Last Post: 07-07-2010, 06:28 AM
  3. Replies: 3
    Last Post: 03-11-2009, 10:44 PM
  4. Resolved jQuery, make negative values positive
    By Snookerman in forum JavaScript
    Replies: 2
    Last Post: 12-23-2008, 10:28 PM
  5. Replies: 2
    Last Post: 03-14-2008, 12:18 PM

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
  •