<object> vs deprecated <applet>

S

Stephen T. Fox

I have a problem I'm sure someone can help me with. I have an applet from the Natl Center for Missing & Exploited Children on my site and I want my site to be XHTML 1.0 strict. The applet runs as either an applet or an object, but I have to use the "code=" to make it function which is not an attribute of <object>. See the problem at http://home1.gte.net/res04j39/index.html . I have tried to substitute all the apparent substitute attributes that apply to <object>, but none of them work. Is there a work-around or must I admit defeat on this page. It runs OK, but it doesn't validate. Bummer. Please help.


Thanks
 
B

brucie

in post: <
Stephen T. Fox said:
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a problem I'm sure someone can =
help me with.=20

please post in plain text only. you'll probably need to read this as
well:

How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post
I have an applet from the Natl Center for Missing & Exploited Children

URL where you can get it?

DNS lookup failure
I have tried to substitute all the apparent substitute attributes that
apply to <object>, but none of them work.

i don't know where to get the applet to see the markup they want you to
stick in your page and i cant access your page to see your markup. it
makes it very difficult to help you.
It runs OK, but it doesn't validate.

"HTML validation" is a good tool, but just a tool
http://www.cs.tut.fi/~jkorpela/html/validation.html
 
D

DU

Stephen said:
I have a problem I'm sure someone can help me with. I have an applet from the Natl Center for Missing & Exploited Children on my site and I want my site to be XHTML 1.0 strict. The applet runs as either an applet or an object, but I have to use the "code=" to make it function which is not an attribute of <object>. See the problem at http://home1.gte.net/res04j39/index.html . I have tried to substitute all the apparent substitute attributes that apply to <object>, but none of them work. Is there a work-around or must I admit defeat on this page. It runs OK, but it doesn't validate. Bummer. Please help.


Thanks


1- Please post in plain text only. There is no need to post HTML.

How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post

In Outlook Express 6:
Tools/Options.../Send tab/News Sending Format/Check the Plain text radio
button and then/Plain Text Settings... button/Automatically wrap text at
** 72 ** characters, when sending.

2- Try changing this:
<object code="NCMECbanner.class"
codebase="http://banner.missingkids.com/java/" width="342px"
height="128px"></object>

to this:
<object codetype="application/java" classid="java:NCMECbanner.class"
codebase="http://banner.missingkids.com/missingkids/servlet/"
width="342" height="128">Warning: NCMECbanner.class applet could not be
loaded</object>

Not tested.

HTH

DU
 
S

Stephen T. Fox

In brucie <[email protected]> typed:
:| in post: <:| "Stephen T. Fox" <[email protected]> said:
:|
:| > </HEAD>
:| > <BODY bgColor=3D#ffffff>
:| > <DIV><FONT face=3DArial size=3D2>I have a problem I'm sure someone
:| > can = help me with.=20
:|
:| please post in plain text only.

Sorry about that. I WILL learn!

:|
:| > I have an applet from the Natl Center for Missing & Exploited
:| > Children
:|
:| URL where you can get it?

http://www.missingkids.com/missingkids/servlet/BannerServlet?LanguageCountry=en_US

Work back up the food chain if other settings are needed.

:|
:| > http://home1.gte.net/res04j39/index.html
:|
:| DNS lookup failure

Link works for me. Try http://206.46.189.90/reso4j39/html

:|
:| > I have tried to substitute all the apparent substitute attributes
:| > that apply to <object>, but none of them work.
:|
:| i don't know where to get the applet to see the markup they want you
:| to stick in your page and i cant access your page to see your
:| markup. it makes it very difficult to help you.
:|
:| > It runs OK, but it doesn't validate.
:|
:| "HTML validation" is a good tool, but just a tool
:| http://www.cs.tut.fi/~jkorpela/html/validation.html

Yeah, I know, but I want what I want when I want it. (foot stomp) Besides,
there MUST be a way.

:|
:|
:| --
:| b r u c i e
 
B

brucie

in post: <
Stephen T. Fox said:

it must be evil, my proxy kills off the entire page but its probably
just the "banner" in the url.

i went to try the IP before but the service i use to find out fun giggly
things like that was also icky poo. but anyway the IP doesn't work
either so it must be something other than the DNS. during the day a lot
of sites have been off and i've seen mention of it in other groups. my
initial thought was that the alien invasion had finally begun but the
power station which would be a primary target thats located close to me
is still there.

i just noticed i really bubble some shit when i'm off my face. (more so
than usual).

i'm going into town soon for some munchies, does anyone want anything
while i'm in there? (its only a 24hr servo so don't get too adventurous
but they make really good chicken salad buns - mmmmmmm)

i should also drop off my library books while i'm in there. it'll save
another trip but i have to pick up the last LOTR DVD in the morning
anyway so maybe i'll wait until the library opens so i can get some
more.
:| "HTML validation" is a good tool, but just a tool
Yeah, I know, but I want what I want when I want it.

how can you be so sure you want what you want when you want it?
(foot stomp)

next time you notice someone doing that when they have a hissy fit take
note of their hair color. its usually blonde. true.
Besides, there MUST be a way.

of course, any page can be made valid. if all else fails use a custom
dtd.
 
S

Stephen T. Fox

In brucie <[email protected]> typed:
:| in post: <:| "Stephen T. Fox" <[email protected]> said:

:| >:| > http://home1.gte.net/res04j39/index.html
:| >:| DNS lookup failure
:| > Link works for me. Try http://206.46.189.90/reso4j39/html
:|
:| i went to try the IP before but the service i use to find out fun
:| giggly things like that was also icky poo. but anyway the IP doesn't
:| work either so it must be something other than the DNS. during the
:| day a lot of sites have been off and i've seen mention of it in
:| other groups. my initial thought was that the alien invasion had
:| finally begun but the power station which would be a primary target
:| thats located close to me is still there.
:|

Gave you another wrong steer. IP should be
http://206.46.189.90/res04j39/html with a zero four. Learning to type is on
my list, too. It was right in the original post, though. I wish verizon
would let customers changes their primary id. Maybe it's time for an ISP
change.

:| i just noticed i really bubble some shit when i'm off my face. (more
:| so than usual).
:|
:| i'm going into town soon for some munchies, does anyone want anything
:| while i'm in there? (its only a 24hr servo so don't get too
:| adventurous but they make really good chicken salad buns - mmmmmmm)
:|
Chicken salad buns sound good. I want chips with mine.
:|
:| > (foot stomp)
:|
:| next time you notice someone doing that when they have a hissy fit
:| take note of their hair color. its usually blonde. true.

How's bald?
|
:| --
:| b r u c i e
 
S

Stephen T. Fox

In DU <[email protected]> typed:
:| Stephen T. Fox wrote:
:| > I have a problem I'm sure someone can help me with. I have an
:| > applet from the Natl Center for Missing & Exploited Children on my
:| > site and I want my site to be XHTML 1.0 strict. The applet runs as
:| > either an applet or an object, but I have to use the "code=" to
:| > make it function which is not an attribute of <object>. See the
:| > problem at http://home1.gte.net/res04j39/index.html . I have tried
:| > to substitute all the apparent substitute attributes that apply to
:| > <object>, but none of them work. Is there a work-around or must I
:| > admit defeat on this page. It runs OK, but it doesn't validate.
:| > Bummer. Please help.
:| >
:| >
:| > Thanks
:| >
:|
:|
:| 1- Please post in plain text only. There is no need to post HTML.
:|
:| How am I supposed to post my replies in a newsgroup?:
:| http://allmyfaqs.com/faq.pl?How_to_post
:|
:| In Outlook Express 6:
:| Tools/Options.../Send tab/News Sending Format/Check the Plain text
:| radio button and then/Plain Text Settings... button/Automatically
:| wrap text at ** 72 ** characters, when sending.
:|
:| 2- Try changing this:
:| <object code="NCMECbanner.class"
:| codebase="http://banner.missingkids.com/java/" width="342px"
:| height="128px"></object>
:|
:| to this:
:| <object codetype="application/java" classid="java:NCMECbanner.class"
:| codebase="http://banner.missingkids.com/missingkids/servlet/"
:| width="342" height="128">Warning: NCMECbanner.class applet could not
:| be loaded</object>
:|
:| Not tested.
:|
:| HTH
:|
:| DU

I got a nice e-mail from "Joe Java" that contained a link to a solution for
my problem:
http://ww2.cs.fsu.edu/~steele/XHTML/appletObject.html
I t didn't give me cut and paste, but it gave me the clues necessary to
solve the problem. My page now works (at least in IE6) AND it validates.
Check the source at my new digs http://www.stephenfox.us/index.html . Thanks
to all of you for your help and thanks to "Joe Java"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,970
Messages
2,570,162
Members
46,710
Latest member
bernietqt

Latest Threads

Top