|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Jul 1999
Location: Denver
Posts: 395
|
Losing Java Script while editing a web page in Word
I am by no means a Java expert but I seem to be having the following problem.
I have a web page on which I'm using a Java script to dynamically update the day, month, date, and time. If I open this page in IE and then choose "Edit with Microsoft Word" and then save the page while in Word I seem to lose all of my variable definitions near the top of the page. The script for the actual display of the day, month, date and time still remains but if I try to open the web page it starts telling me that certain variables relating to the date, time, etc. are not defined because their definitions have been deleted after I saved the page in Word. Any suggestions? Must I use an actual web page editor to make changes to web pages that contain Java script? Thanks, Wanabe Last edited by Wanabe; 12-13-2001 at 05:14 PM. |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
Word isn't a good web page editor.
Try either notepad (or other text editor) if you want to get to grips with the code or frontpage (dreamweaver if you have it) for WYSIWYG. By the way JavaScript and Java are actually different languages - the names are similar only due to marketing strategies. |
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Jul 1999
Location: Denver
Posts: 395
|
Thanks dj4uk.
What I really want to accomplish is to provide a really easy way for one of our VPs to update this page with a company bulletin every few days. This is why I liked Word, because it was a no brainer for someone to easily update the page without having to deal with HTML. Do you know of any program that could be used to easily update web page text without having to deal with the HTML/JavaScript or formating? I have been playing with a demo of Dreamweaver. Can I use Dreamweaver to edit the page text without getting into the HTML side of things? Thanks, Wanabe |
|
|
|
|
|
#4 |
|
Member (10 bit)
|
For a no brainer solution without viewing HTML/JavaScript or WYSIWYG (What you see is what you get) then it is probably best to use Microsoft Frontpage which I believe can be downloaded free from Microsoft.
Dreamweaver is better than Frontpage but has many more functions and therefore is more complex to use and would probably be over the top for what you need (plus it costs alot more). Hope that helps. |
|
|
|
|
|
#5 |
|
Member (9 bit)
Join Date: Jul 1999
Location: Denver
Posts: 395
|
Thanks dj.
I'll have to see if I can get my hands on FrontPage. Unfortunately you must pay Microsoft even for the Trial Software. It's a rare occasion when you can use the words "Free" and "Microsoft" in the same sentence. Wanabe |
|
|
|
|
|
#6 |
|
Member (12 bit)
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
|
Dreamweaver, though, is a little better about creating compliant, and accessible, HTML.
If you work for a government agency, you are required by law to make webpages accessible to people with diasbilities -- and many companies require this, as well. Dreamweaver makes this a little easier.
__________________
Paul M. Victorey ------------------ I am not responsible for any problems that may arise as a result of following my advice. This includes, but is not limited to, computer failure, loss of data, nuclear war, famine, boils, no clean laundry, your daughter running off with a biker gang, or armageddon. Take my advice at your own risk. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|