Results 1 to 4 of 4

Thread: DHTML Window Widget 1.03

  1. #1
    Join Date
    Jun 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget 1.03

    1) Script Title: DHTML Window Widget 1.03

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Describe problem:

    Loaded this on a version of OSCommerce using
    <script type="text/javascript" src="includes/windowfiles/dhtmlwindow.js">


    Problem:
    The div in not layered. It shows up when opened in the upper left hand corner of the browser, not as a layered window. [tested and confirmed in IE and FF]

    Sample code:
    http://osctb.biasolutions.com/
    select the second "tab" in the tabbed table ("Shipping Details")
    at the bottom of the tab is a link ("View Shipping Policy") that should open the layered ajax window. When clicked it opens in the browser in the upper left hand corner
    Last edited by Met00; 06-14-2007 at 05:37 AM. Reason: Cleaned up the description a bit (fixed problem 1... now need to resolve problem 2 - not creating the floating div)

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

    Default

    Do you have something in your .htaccess file preventing the loading of .css files? When I try to call:

    http://osctb.biasolutions.com/includ...htmlwindow.css

    I get a forbidden error. The DHTML window's styling is done via this CSS file, including the "layering".

    BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice for the scripts on DD you're using.

  3. #3
    Join Date
    Jun 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    1) I feel like a jerk, I didn't even think of directory/file protections
    2) the credit notice is in the .js file (which is loaded on every page) although I didn't want to include it in the areas where I use the links as there are planned to be 10-15 divs that will use the link code
    3) there are other credit notices on the page where I use the tabbed table (since I am only using one on the page)
    4) there are also credit notices on the product_info pages where I use lightbox

    Finally, where can I make a paypal donation for the scripts I am using?

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

    Default

    Hi:
    The credit notice per the usage terms should be within the <script> tags in the case of external .js files, for example:

    Code:
    <script type="text/javascript" src="/includes/windowfiles/dhtmlwindow.js">
    
    /***********************************************
    * DHTML Window Widget- &#169; Dynamic Drive (www.dynamicdrive.com)
    * This notice must stay intact for legal use.
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    </script>
    I'm sympathetic to specific situations where it's not possible to abide by this requirement, and you can email me if you fit into that category.

    Thanks for the desire to donate; right now I'm not accepting them.

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
  •