View Full Version : credits/copyright question

11-17-2009, 06:39 PM
1) Script Title:
copyright question
2) Script URL (on DD):
3) Describe problem:
First I'm totally new here, first post and obviously I'm bound to ask silly questions.

Second, I want to thank everyone at DD, I'm learning loads!!

And third...

I found the sdmenu script which is triggered by the onload event, however, I have some other objects initialized at the same time. I therefore need to merge the scripts into one js file. :rolleyes:

I want to keep the author's credits in the section of the file where the sdmenu code is located. Can I do this in the js file or must I keep the credits in the html file? :)

To complicate things further, I have taken some interest in the window widget (http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm) script which I'd like to use in the same page. Again, how can I go about giving the credits to the authors. Also, can I modify these scripts?

Sorry about the questions, but I am in the shadows on this, and I always give credits to authors regardless of requirements.

* Slashdot Menu script- By DimX
* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

11-18-2009, 04:44 AM
In cases like these, should I try contacting the authors directly?

11-18-2009, 04:54 AM
It really doesn't matter what you do with the scripts as far as combining them goes. However, each script that you use, it's credit must be able to be viewed in the source code of all pages using the script.

So lets say, just to simplify things a bit, that you have script X and script Y.

Script X's credit is:

/* Hey I'm Script X */

Script Y's credit is:

/* Hey I'm Script Y */

But you've combined them into one script file that you call xy.js and add to your page via an external script tag:

<script type="text/javascript" src="xy.js"></script>

Just make that tag look like so:

<script type="text/javascript" src="xy.js">

/* Hey I'm Script X */

/* Hey I'm Script Y */


11-18-2009, 06:16 AM
In a nutshell, if you have multiple DD scripts on the same page, yes, you can combine the credit notice for each one into just a single one within the chosen DD script, ie:

<script type="text/javascript" src="haccordion.js">

* Horizontal Accordion and Ultimate Slideshow script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more


11-19-2009, 03:39 PM
Sorry guys for not replying or sending a thank note, but in my country we're having power cuts of up to 4hrs a day due to the mental retardation of bureaucrats, so as you can imagine, I'm having some trouble trying to do some work.

Hopefully I'll soon be doing some contributions myself and would certainly like them to be credited. I'm working on a scrollable table with fixed headers to simulate listview controls like those you find in MS OS. I am taking a slightly different approach to the alternatives I've seen so far which heavily rely on IE css hacks (valid and invalid filters), or that are rendered differently accross browsers, but that is another story.

Thx anyhow.