Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 10-22-2005, 09:42 AM
beachgal's Avatar
beachgal beachgal is offline
Real Estate WebMaster
 
Join Date: Jun 2004
Location: Pensacola, Florida
Posts: 186
beachgal is on a distinguished road
Default How to save Java as an external file

I've created a rotating banner using Java. I want to save the script as an external file, so could someone please give me step by step instructions.

TIA
__________________
beachgal
Realtor and wannabe webmistress.

Pensacola Real Estate
Florida Pre-Construction Condos
Reply With Quote
Old 10-22-2005, 06:46 PM
Boston Condo Guy Boston Condo Guy is offline
Advanced Webmaster
 
Join Date: Jul 2005
Location: Boston, MA
Posts: 563
Boston Condo Guy is on a distinguished road
Default Re: How to save Java as an external file

I assume that you mean javascript, if so:

1. Save the javascript in an external file (give it a name such as banner.js).
2. Upload the banner.js file in the directory of your choice (let's assume that you place it in your root directory).
3. Within your index.htm file, place the following tag inside the <head> tag, for instance:

<head>
...
...
<SCRIPT SRC="banner.js"></SCRIPT>
</head>

4. Upload your index file, and you should now have the ability to call the banner.js code from the index file.

Let me know if that works for you.
__________________
285 Columbus Lofts - New 63-unit Boston loft development in the former Red Cross building
FP3 Boston Condos - FP3 Fort Point Channel Boston Seaport Condos
Court Square Press Lofts - High-end luxury amenity loft building in South Boston featuring 130 condos
Reply With Quote
Old 10-23-2005, 12:02 PM
sarahk's Avatar
sarahk sarahk is offline
Uber Real Estate Webmaster
 
Join Date: Jun 2004
Location: Auckland, New Zealand
Posts: 591
sarahk is on a distinguished road
Send a message via ICQ to sarahk Send a message via AIM to sarahk Send a message via Yahoo to sarahk
Default Re: How to save Java as an external file

and omit the <script> tags and the <!-- bits from the javascript file. They're not needed.

Normal javascript comments can start with //
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

REW Conference

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 09:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.