September 18th, 2013, 02:20 PM
Read Java Script Library from Website
I was wondering if you know of a way to read the code for Java script that is in a .js folder. I have been looking at code and would like to work with Java and CSS more but I can not find where to look for it. In Google chrome I use the inspect element so I can read the Html. I would like to be able to to this with Java scripts and CSS style folders.
September 19th, 2013, 03:55 AM
September 19th, 2013, 11:42 AM
Yes but is it possible to read any sites Java script like I do HTML? I need to make a Java Script and have seen sites I like but I can not read the Java script to make my own function.
This is still about the Name function where I want to have a drop down tab and be able to click the name and have a bio on each person. I would like to use Java script for this.
September 19th, 2013, 04:25 PM
I am having a really difficult time understanding what you are writing. What do you mean by "is it possible to read any sites Java script like I do HTML?"?
September 19th, 2013, 05:19 PM
Files that are saves off the page that either style or add a function to a website.
September 19th, 2013, 07:22 PM
The main issue with JS is that a lot of sites will minify their JS source so that it appears as a big jumbled mess. There are some tools on the web that can help by re-adding whitespace, but often variable/function names are altered as well so the source is still fairly unreadable.
Recycle your old CD's, don't just trash them
If I helped you out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud
September 20th, 2013, 11:12 AM
Thanks for the help. I was able to find the Java script tag in the Head and then I was able to look at it without the white space. Thought I found that sometimes html pages have the java script on the site as well.
September 23rd, 2013, 11:44 AM
Well I want this it is is an external ".js" file. It is just a text file that contains functions to execute the code of the script as opposed to having all the script in the document itself.
I have a website the I want to use this on. I just wish I know more on this and how to nest the code.
September 25th, 2013, 04:20 PM
Just make sure that the online library you are relying on loads quickly and is hosted by someone reliable; otherwise, your page may get broken,
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ></script>
September 25th, 2013, 06:18 PM
Yes thank I know this I am learning to use dynamic Html and Java script. So that all my pages have the same layout and just one part changes. Thanks for your help.