PDA

View Full Version : DHTML Window Widget 1.03



Met00
06-13-2007, 05:26 PM
1) Script Title: DHTML Window Widget 1.03

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

ddadmin
06-14-2007, 02:59 PM
Do you have something in your .htaccess file preventing the loading of .css files? When I try to call:

http://osctb.biasolutions.com/includes/windowfiles/dhtmlwindow.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.

Met00
06-14-2007, 09:05 PM
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?

ddadmin
06-14-2007, 10:10 PM
Hi:
The credit notice per the usage terms (http://dynamicdrive.com/notice.htm) should be within the <script> tags in the case of external .js files, for example:


<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. :)