How Ethical To Use Libraries That Are Available On The Net

Jun 24, 2010

I want to do something with JavaScript on my website but don't know how to implement it, but i've found it has already been written by someone and is available to download free as they've put it on net. So is it right morally to use something that someone has already been written? does this count as cheating? does it infringe any copyright?

View 1 Replies


ADVERTISEMENT

JQuery :: Using With Other Libraries?

Dec 7, 2010

Ok, my jq slider is clashing with light box. Found the answer here: [URL]...but don't know where to insert my code within my head below for it to work ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--Twitter Feed-->
<script type="text/javascript" src="http://twitterjs.googlecode.com/svn/trunk/src/twitter.min.js"></script>

[Code]...

View 4 Replies View Related

Mike Foster's X Libraries

Apr 5, 2004

Will it possible to do what CBE does with only x? For instance the slider made in the demo using CBE how will that be possible with x?

View 9 Replies View Related

JSON Libraries (stringifier/parser) ?

Mar 27, 2007

I'm interested in finding some JSON libraries for javascript that
contain a stringifier and/or parser. I've been using what appears to
be the reference implementation from json.org (written by Douglas
Crockford?), but I'm running into two problems:

(1) The lack of support for the hasOwnProperty method in Safari

(2) Odd, intermittent errors in Gecko browsers, something to the
effect of "llegal operation on WrappedNative prototype object."

If anyone's familiar with other libraries, or with ideas for working
with these issues in using the json.org library, I'd love to hear
about them.

View 1 Replies View Related

Postal Address Validation Libraries?

Nov 17, 2009

There is this technology used in this great website that doesn't stop amusing me, I was just hoping someone could cypher the technology behind it and perhaps reveal it is done with the help of some freely available Library the link to this DSL Internet provider company is:

[URL]

just insert this postal zip code in there to test the service: 68161that is a German Zip coad for the city Mannheim.

View 6 Replies View Related

Integrate Third-party Libraries In Userscripts

Dec 30, 2011

I need to use a couple of third-party Javascript libraries which have multiple JS files. Since @require doesn't work on Chrome, how can I add multiple external JS libraries to a userscript? I'm considering all the possibilities before choosing one.I know you can add jQuery using this method. I have personally used that. But all my other code would have to run inside the main function of this code! I think that would be a problem when there are many libraries to work with.

View 5 Replies View Related

Libraries Or Functions To Escape Quotes, Tabs, Etc.

Jan 5, 2007

I was wondering if there are any proper, robust libraries or
functions/methods that I don't know of that will escape all the
problematic characters such as single quotes and tabs.

I find myselfwriting x = x.replace(/'/g,"'"); and the reverse over and over again.
Shouldn't Javascript have a built in method to do this? I know of the
escape() function but I am not sure if this is more for urls. What is
the real world way of storing such an "escaped" variable in a database
that will later be read into a javascript variable? :-/

Maybe one could use escape() and unescape() in some way, but some
expert probably could answer this in a snap.

View 1 Replies View Related

JQuery :: Catch Errors From External Libraries?

May 7, 2009

This is slightly off topic, but if anybody can solve this, it'll be this mailing list.  The basic question is:  Is there a way to catch an error thrown in an external js library so that I can continue parsing the remaining javascript on the page? The more detailed version is this:  I'm using DotNetNuke (DNN) for  my website.  A module that I'm using include Scriptaculous, DotNetNuke uses a mixture of jQuery and MS AJAX.  To avoid namespace pollution, the DNN folk have used the jQuery prefix for jQuery functions and the $ shortcut for MS AJAX (actually, I think this is the only way you can do this).  The third party module uses $ to reference Scriptaculous.  I think we all know where this is going:  the namespace pollution of $ causes an error to be thrown very early on, leaving parts of my page unstyled (cornerz), dates unformatted, etc, etc, etc.  The good news - for me - is this only happens when an admin is logged in. My thought would be to catch the errors and continue parsing <i>my </i>portion of the page.

View 2 Replies View Related

Jquery :: Conflict Between Libraries - Mootools And Prototype

Feb 23, 2011

I have been trying in vain for many days to resolve a conflict between javascript libraries. My homepage uses jquery horizontal css menubar + a combined mootool and prototype accordian type sliding information box in the middle of the webpage. I find that the highlighter of the css menubar does not work when prototype.js is also loaded on the same page. I have read somewhere that $ should be replaced however I have tried every possible option and none works. I have jquery loading first as it is on my template, with this:
<script type='text/javascript' src='../Web/Templates/jquery-1.3.2.js'></script>
<script type='text/javascript' src='js/example.js'></script>

And my mootool and prototype loades further below like this:
<script type="text/javascript" src="scripts/intro/prototype.lite.js"></script>
<script type="text/javascript" src="scripts/intro/moo.fx.js"></script>
<script type="text/javascript" src="scripts/intro/moo.fx.pack.js"></script>
<script type="text/javascript">
function init(){
var stretchers = document.getElementsByClassName('box');
var toggles = document.getElementsByClassName('tab');
var myAccordion = new fx.Accordion(
toggles, stretchers, {opacity: false, height: true, duration: 600}
);
//hash functions
var found = false;
toggles.each(function(h3, i){
var div = Element.find(h3, 'nextSibling');
if (window.location.href.indexOf(h3.title) > 0) {
myAccordion.showThisHideOpen(div);
found = true;
}
});
if (!found) myAccordion.showThisHideOpen(stretchers[0]);
}
</script>

View 1 Replies View Related

Cross Browser Event Management Done Outside Of The Libraries?

Apr 23, 2011

The topic of event handler management has been covered in many places in the past. One location is in the contest by PPK (http:[url]....). The winning submission by John Resig (http:[url]...._and_the_winner_1.html) has a few problems, and the commentary on the site seems to gravitate to the implementation by Dean Edwards (http://dean.edwards.name/weblog/2005/10/add-event2/) after the analysis of the Resig code.I was also able to find a few more implementations on stackoverflow from: Bill Ayakatubby (http:[url]....) and Marco Demaio [url].....

Outside of the JavaScript frameworks, what is generally done for supporting event functionality? There are numerous options each with their own benefits and drawbacks. I'm uncertain of which one to use myself. Is there an undeclared de facto?

View 4 Replies View Related

API Or Libraries To Configure Drag And Drop Options?

Aug 20, 2010

I've decided to use the drag and drop option for my gadgets in my home page. The size of the gadgets may vary and user may choose the gadgets and choose the place too. Is there any api or libraries which I can easily configure the drag and drop option in js and php.

View 1 Replies View Related

Best Libraries To Use To Create A Very Realistic Flip Book Effect?

May 17, 2010

I want to make a flip book effect using only HTML,CSS and Javascript for smartphones like: Iphone and Android

Anybody have an ideea about wich are the best libraries to use to create a very realistic flip book effect ?

View 3 Replies View Related

JQuery :: Good Web UI Component Libraries - Cross Browser Compatible And Have Good Documentation

May 10, 2009

Are there any good web UI component libraries -open source or commercial - that you can recomment? They need to be cross browser compatible and have good documentation. Jquery UI is very good but limited in number of controls it offers. YUI is very verbose and very hard to use. extJs only other one I can think of. Any others you use and like?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved