Results 1 to 2 of 2

Thread: Drop down/ Overlapping Content script in html5

  1. #1
    Join Date
    Jan 2011
    Posts
    52
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default Drop down/ Overlapping Content script in html5

    Script : http://www.dynamicdrive.com/dynamici...lapcontent.htm

    I am using this in responsive html5 file but it is not showing up.

    It is at bottom most "Show Prices" button at http://www.emailforusa.com/travel/

    Any help ?
    Last edited by jscheuer1; 07-01-2014 at 01:02 AM. Reason: format

  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

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    Two more problems I see:

    1) This content should be a direct child of the body tag:

    Code:
    <div id="subcontent" style="position:absolute; visibility: hidden; border: 9px solid orange; background-color: white; width: 300px; padding: 8px;">
                                                       Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
                                                  </div>
    Easiest way to ensure that is to place it right before the closing </body> tag.


    2) There's no initialization. To fix that, add something like so after the above content:

    Code:
    <script>
    dropdowncontent.init("showpriceslink", "left-top", 300, "click");
    </script>
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Paramasivan (07-01-2014)

Similar Threads

  1. Drop down/ Overlapping Content script
    By davelf in forum Dynamic Drive scripts help
    Replies: 10
    Last Post: 01-01-2016, 01:11 PM
  2. Help with Drop Down/ Overlapping Content script
    By qwikad.com in forum JavaScript
    Replies: 3
    Last Post: 01-10-2014, 04:31 PM
  3. Drop down/ Overlapping Content script
    By flightoffancy in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-15-2011, 05:28 AM
  4. help with Drop down/ Overlapping Content script
    By clicky081 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-05-2010, 10:38 AM
  5. Drop down/ Overlapping Content Script
    By Megan1967 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 08-15-2006, 12:36 AM

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
  •