Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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