Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-13-2001, 05:12 PM   #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.
Wanabe is offline   Reply With Quote
Old 12-17-2001, 08:51 AM   #2
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
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.
dj4uk is offline   Reply With Quote
Old 12-17-2001, 09:18 AM   #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
Wanabe is offline   Reply With Quote
Old 12-17-2001, 09:26 AM   #4
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
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.
dj4uk is offline   Reply With Quote
Old 12-17-2001, 11:13 AM   #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
Wanabe is offline   Reply With Quote
Old 12-17-2001, 02:15 PM   #6
Member (12 bit)
 
Paul Victorey's Avatar
 
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.
Paul Victorey is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:49 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2