Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Loss of applet HTML code editing in Netscape

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use Netscape 6's "Edit Page" utility to edit the HTML code of my pages. However, if I choose a page that has an applet, Netscape wipes out all of the HTML code for the applet as soon as the code is edited.
In a little more detail, here is what happens:
When I select "Edit Page" the applet appears in Normal mode. All of the applet HTML code is included. When I choose the option to view the HTML, and then immediately re-select the Normal option, nothing changes. However, if I view the HTML source and edit in any way, when I choose Normal mode all of the applet code disappears. The applet also disappears.
Java is enabled, so that doesn't seem to be it. Any ideas?
 
Tina Parks
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I found out what the problem was, and so for the sake of posterity I will post the solution. Maybe others will have the same problem.
It appears that Netscape 6 Composer cannot recognize the <applet> tag unless you insert it manually using Composer. So here is a summary of what I found:
1. Pre-existing <applet>...</applet> code will be wiped out by Composer once the HTML is edited in any way.
2. To insert an applet that Composer will not remove, you must use the Insert -> HTML... menu.
3. Any attempt to manually type in the <applet>...</applet> code will be negated once the file is saved or the Normal view mode is chosen. In other words, Composer will simply remove it. It wants you to use the Insert -> HTML menu, or else.
4. Once the <applet> and </applet> tags are inserted using the Insert -> HTML menu, then any manual changes to the HTML will be honored by Composer.
5. You cannot use more than one set of <>..</> commands at a time when using the Insert -> HTML menu. This includes <p> statements, and such. In other words, if you tried to insert the statement <p><applet>...</applet></p> it simply will not do it. However, it has no problem wth <applet>...</applet>.
Netscape Composer is HORRIBLE. I am still having a hard time getting it to insert javascript commands correctly.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic