Click to See Complete Forum and Search --> : JS file


Dougj
12-20-2002, 07:19 PM
I saw a menu javascript on "javascript source" that I want to use. However the code page only shows the HTML code which in turn refers to two ".js" files that are needed to run the script. How do I get those ".js" files downloaded?

Thanks

hendrik
12-20-2002, 07:30 PM
I was anxious to know the same

Beach Bum
12-20-2002, 08:27 PM
give us a link to the specific page with the sample and maybe we can answer your question.

Dougj
12-20-2002, 09:02 PM
here is the page URL:

http://navigation.javascriptsource.com/toolbar-menu.html

Thanx...........Doug

Beach Bum
12-20-2002, 09:37 PM
pretty funny. i have looked at many scripts on that site and have not encountered that before. i have no idea where you are supposed to get the scripts. i think they messed up on that one.

hendrik
12-21-2002, 03:35 AM
the menu is even on top of these pages,
but how to get the two .js files

swon
12-21-2002, 07:39 AM
If you want to download and you cannot find out where to download it, look at the source and search after <script src="anystring.js"> and take the full url in your browser.

But, it is not very friendly to catch other owners scripts, only if they want!

gil davis
12-21-2002, 07:57 AM
http://javascript.internet.com/navigation/nwrmenu_var.js
http://javascript.internet.com/navigation/menu_com.js

Right-click on each of the links above, and select "Save As" to download the required files.

(BTW, they are already in your cache, if you know how to find them.)

hendrik
12-21-2002, 10:06 AM
mr. swon if you would have read the initial question closely
probably you would have understood why someone is asking for the corresponding .js files

so please do read the question which is normally justified
closely or please do refrain from comment

swon
12-21-2002, 10:38 AM
mr. hendrik , I haven't say that the owner of the scripts did'nt want that anyone download the script, that was just a note for other sites, and still, learning by doing is the best.

And normally the first thread is answered, otherwise a comment or name is included.

Dougj
12-21-2002, 10:42 AM
I emailed the script author about this but have heard nothing back from her yet. Also tried to contact Javascript source directly but they always refer back to the forums for support.

I guess maybe I will not be using this script! Thanks though for everyones help..

Doug

swon
12-21-2002, 10:47 AM
Dougj,

In IE under 'View' do you have an option called 'Data Security Report' it opens a window with all the included files and images for the site.

Dougj
12-21-2002, 12:17 PM
No I find no such option in IE under view. I am using IE 5.5

Doug

hendrik
12-21-2002, 12:25 PM
Douggie,

Please look at the answer gil davis gave you
that is all you need to know for downloading

schrikkie

Dougj
12-21-2002, 12:34 PM
I searched my HDD and found nothing that I was looking for. Is there a trick I am missing?

Doug

pyro
12-21-2002, 12:52 PM
Here is a .zip of the files. Download and unzip.

Dougj
12-21-2002, 01:11 PM
Thanks for the files.........much appreciated. Howveer for future reference I would still like to know how to get those two files.

Thanks.........Doug

pyro
12-21-2002, 01:36 PM
What OS are you using? In Windows you can view the page and then go to your TEMP folder. It's all stored there -- that is how I normally do it.

Also, say you want to get my .js from my site. You go to my site and view the sorce, to check where I call the javascipt from. Go to http://www.infinitypages.com/webdesign.html and view the source. Near the top you will see this line
<SCRIPT language="javascript" src="infinity.js"></SCRIPT>
So, you can type http://www.infinitypages.com/infinity.js in your browser and then just save the file that it trys to download.

I just thought of an even easier way. Save the page. File>Save As. That should contain all the files needed for viewing. (Unless they use absolute paths for the .js -- which is very possible.)

Dougj
12-21-2002, 01:50 PM
Thanx for all the help.

Beach Bum
12-21-2002, 03:10 PM
oops - sorry

in my first response i did not notice that the menu was already loaded at the top of the page. in that case, yes, the files are already in your cache directory as others have pointed out.

Dougj
12-21-2002, 05:20 PM
the menu actually did not load when I first downloaded this page so I never knew it existed. After I got some of the responses I reloaded the page and got the menu this time. The other problem was that I was using N4 and it renames the .js files in cache to a generic name. That is why I couldn't find them with a HDD search.

Oh well...........got it now.

Thanks again.......Doug