This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes mayscript attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "mayscript attribute" Watch "mayscript attribute" New topic

mayscript attribute

Sarva Pandian

Joined: Sep 21, 2000
Posts: 17
I have the line mayscript="true" in the embed tag of the html file. Still netscape 6.0 is not able to show the applet and showing the error "mayscript attribute is required for the applet tag". Is there any specific way in which the mayscript attribute has to be declared ?
Sarva Pandian
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
Are you putting this in the embed tag or the applet tag? I have never used the mayscript attribute, but from what I have seen it would just look like this:

Sarva Pandian

Joined: Sep 21, 2000
Posts: 17
Hi Bill,
I am using the attribute in the embed tag. I have mayscript="true" in the embed tag. But still netscape 6.0 is not able to open up a new window (which needs to access a java class and javascript codes. I get the error message " mayscript attribute is needed for the applet ". Do you have any idea?.
Sarva Pandian
I agree. Here's the link:
subject: mayscript attribute
It's not a secret anymore!