By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,825 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,825 IT Pros & Developers. It's quick & easy.

Well JSObject did it.

P: n/a
For awhile I have been trying to take a commercial java cube (each face is a
link) and make it
better. When I say better I'm referring to making the cube provide CLEARLY
the destination of each link.
Previously the destination only showed in the status bar (IE5+) . That
matching up the face of the cube with
the destination was somewhat problematic. For it's hard to have one eye
cocked up and the other cocked down.

So I thought I would make a stack of 6 divs at the level of the cube and
when the mouse is over a face of the java cube, the appropriate div would
change it's color signifying the face the mouse is over.

Tweren't easy. There is a good java decompiler called Front End by Martin
Cowley. He made the IDE the
decompiler is actually made by someone else. Fact is though it works pretty
good. So this is how I did it if anyone
is interested.

I decompiled the applet. Then I put this in the code in the place where the
status bar changes. It was a mousemove
event. (This is one of the flaws).

showStatus(cB[cq - 1]); //msgstatus
try
{
JSObject jsroot = JSObject.getWindow(this);
JSObject jsdoc = (JSObject) jsroot.getMember("document");
JSObject jsloc = (JSObject) jsdoc.getMember("location");
String sLoc = (String) jsloc.getMember("href");
try
{
jsroot.eval("ovrApplet('"+cB[cq - 1]+"');");
}
catch (Exception _ev){System.out.println(_ev.getMessage());}
}
catch(JSException _js){System.out.println(_js.getMessage());}

Next I had to put the function ovrApplet in the web page's javscript:

Before the </body>:

<script type="text/javascript">
<!-- Begin
function ovrApplet(x){
var MsgA = new Array(6);
var actLink = 0;
if ((x != 'empty') && (x != null)){
try
{
for (var i = 0; i < 6; i++)
MsgA[i] = '<div id="odivMenu'+i+'"><table class="track"><tr><td
id="oCell'+i+'"
valign="middle">'+document.getElementById('oBoy'). getParameter('statusmsg' +
(i + 1)) +
'&nbsp;&nbsp;&nbsp;&hellip;&hellip;&hellip;&hellip ;&hellip;&nbsp;&nbsp;&nbsp
;</td><td><img src="' + document.getElementById('oBoy').getParameter('imag e'
+ (i + 1)).substring(0,document.getElementById('oAnfy').g etParameter('image'
+ (i + 1)).lastIndexOf('.')) + '_.gif' + '" height="48"
width="48"/></td></tr></table></div>';
Msg = MsgA.join('');
if ((x != 'empty') && (x != null))
change(x);
}
catch (e)
{
Msg = 'Hold on a sec...';
alert(e);
change(null);
}
}
return true;
}
</script>

and before </head>

<script type="text/javascript">
<!-- Begin
function change(y){
var strHtml;
if ((Msg == null) || (y == null))
strHtml = 'Hello';
else
strHtml = Msg;
if (y != null){
document.getElementById('oNotice').innerHTML = strHtml;
switch(y){
case document.getElementById('oBoy').getParameter('stat usmsg1'):
document.getElementById('odivMenu0').style.backgro und = '#00FF00';
document.getElementById('oCell0').style.color = '#0000FF';
break;
case document.getElementById('oBoy').getParameter('stat usmsg2'):
document.getElementById('odivMenu1').style.backgro und = '#00FF00';
document.getElementById('oCell1').style.color = '#0000FF';
break;
case document.getElementById('oBoy').getParameter('stat usmsg3'):
document.getElementById('odivMenu2').style.backgro und = '#00FF00';
document.getElementById('oCell2').style.color = '#0000FF';
break;
case document.getElementById('oBoy').getParameter('stat usmsg4'):
document.getElementById('odivMenu3').style.backgro und = '#00FF00';
document.getElementById('oCell3').style.color = '#0000FF';
break;
case document.getElementById('oBoy').getParameter('stat usmsg5'):
document.getElementById('odivMenu4').style.backgro und = '#00FF00';
document.getElementById('oCell4').style.color = '#0000FF';
break;
case document.getElementById('oBoy').getParameter('stat usmsg6'):
document.getElementById('odivMenu5').style.backgro und = '#00FF00';
document.getElementById('oCell5').style.color = '#0000FF';
break;
default:
break;
}
document.getElementById('floattrack').style.visibi lity = 'visible';
}
}
// End -->
</script>

And the "signpost" is here:

<div id="floattrack">
<div class="track"><span id="oNotice"></span></div></div>

Works pretty good. The only trouble is that the mouse has to be manually
moved for the Active (colored) div to
follow the mouse. If anyone has any suggestions on the use of the JSObject
or the way I keep the <div id="floattrack"
from disappearing I'd appreciate any feedback. It's just my first attempt
at something like this so
please excuse the redundancy and the bloat.

Thanks all here who helped me with this.

--
George Hester
__________________________________

Jul 23 '05 #1
Share this Question
Share on Google+
24 Replies


P: n/a
here you go if you're interested:

http://home.nycap.rr.com/foryorisonly/cube/cube.htm

--
George Hester
__________________________________
"George Hester" <he********@hotmail.com> wrote in message
news:sF*******************@twister.nyroc.rr.com...

Jul 23 '05 #2

P: n/a
George Hester wrote:
here you go if you're interested:

http://home.nycap.rr.com/foryorisonly/cube/cube.htm


All I see there is a broken Java icon.......

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

P: n/a
On Sat, 07 Aug 2004 18:22:58 -0400, Randy Webb wrote:
George Hester wrote:

...
http://home.nycap.rr.com/foryorisonly/cube/cube.htm


All I see there is a broken Java icon.......


When I read that, I suspected George had
written a post MSVM applet with no graceful
degradation.

I checked the applet in IE6 using both Java
1.5 and the MSVM and saw the 'rotating cube'
of book images both times..

Note to George. I left and returned to the page
to see that menu at left had been partially obscured
behind the the lower applet.. is that your intent?

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #4

P: n/a
Um no and I didn't write the applet. I made the floating div which highlights each destination on the left. The bottom applet is just old hat. Please ignore it. Let me know please exactly the issue you had with the floating div. That I can fix the applet itself I cannot. For it is a commercial product that I have no control over.

--
George Hester
__________________________________
"Andrew Thompson" <Se********@www.invalid> wrote in message news:16******************************@40tude.net.. .
On Sat, 07 Aug 2004 18:22:58 -0400, Randy Webb wrote:
George Hester wrote:

..
http://home.nycap.rr.com/foryorisonly/cube/cube.htm


All I see there is a broken Java icon.......


When I read that, I suspected George had
written a post MSVM applet with no graceful
degradation.

I checked the applet in IE6 using both Java
1.5 and the MSVM and saw the 'rotating cube'
of book images both times..

Note to George. I left and returned to the page
to see that menu at left had been partially obscured
behind the the lower applet.. is that your intent?

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

Jul 23 '05 #5

P: n/a
That means your virtual machine is not working. Or your security is set too high for the page. I know this applet works just fine with Sun's JVM. It always has.

--
George Hester
__________________________________
"Randy Webb" <Hi************@aol.com> wrote in message news:Vc********************@comcast.com...
George Hester wrote:
here you go if you're interested:

http://home.nycap.rr.com/foryorisonly/cube/cube.htm


All I see there is a broken Java icon.......

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #6

P: n/a
On Sun, 08 Aug 2004 15:39:42 GMT, George Hester wrote:

Could I ask you not to top-post George?
I find it most confusing..
<http://www.physci.org/codes/javafaq.jsp#netiquette>

See further comments in-line.
"Andrew Thompson" <Se********@www.invalid> wrote in message...
On Sat, 07 Aug 2004 18:22:58 -0400, Randy Webb wrote:
George Hester wrote: ..
http://home.nycap.rr.com/foryorisonly/cube/cube.htm

All I see there is a broken Java icon.......
.... I checked the applet in IE6 using both Java
1.5 and the MSVM and saw the 'rotating cube'
of book images both times..

Note to George. I left and returned to the page
to see that menu at left had been partially obscured
behind the the lower applet.. is that your intent?

Um no and I didn't write the applet. I made the
floating div which highlights each destination on
the left. The bottom applet is just old hat.
Please ignore it.
It is easier to ignore if it is not there..
Let me know please exactly the issue you had with the
floating div.
A picture speaks a thousand words, here's two..
<http://www.physci.org/test/screenshot/>
The pic's are hester1.png and hester2.png.

The first shows the menu div slipping beneath
both applets. The second is after I had put
the mouse over the applet, then moved it away..
the menu vanished (in an unpredictable way,
sometimes it was there, sometimes not).
That I can fix the applet itself I cannot.


Graceful degradation can be done in the HTML,
it requires no changes to the applet. Since
these applets seem to work in Java 1.1, the only
things you need to account for are the browsers
with 'No Java' or 'Java disabled'.

Neither of your applet tags has an 'alt'
(Java disabled) attribute defined. For the
'alternate HTML' they have "Get a Java Virtual
Machine you don't support Java(tm)." which
seems rude, and "Enable your JavaScripting",
which is just plain wrong.

If you wish to discuss it further it is
best taken up on comp.lang.java.help

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #7

P: n/a
On Sun, 08 Aug 2004 15:41:31 GMT, George Hester wrote:
That means your virtual machine is not working.
Blame the user? How about 'the page is broke'?

(Even when a Java applet breaks, or cannot operate
properly, there is no need to leave your visitors
looking at a 'grey square'..)
...Or your security is set too high for the page.


No, that is not the issue. Both applets work just
fine in my browser with default security settings.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #8

P: n/a
George Hester wrote:
That means your virtual machine is not working.
My Virtual Machine works just fine.
Or your security is set too high for the page.
No, it is set to the default settings.
I know this applet works just fine with Sun's JVM. It always has.


You are making the common mistake of thinking that because it works in
your browser that the problem is my browser. Its not, its your code. If
you like, I will post two screenshots for you. The first will be a shot
of a Java applet working properly (to show that my JVM does indeed
"works") the second will be your page with the broken applet icons. Do
not make the mistake of thinking that I have the JVM set up for my
preferred browser.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #9

P: n/a

My client wants it on top. For me to do as you ask requires quite a lot of work on
my part. But I'm obliging see below.
__________________________________
"Andrew Thompson" <Se********@www.invalid> wrote in message news:18******************************@40tude.net.. .
On Sun, 08 Aug 2004 15:39:42 GMT, George Hester wrote:

Could I ask you not to top-post George?
I find it most confusing..
<http://www.physci.org/codes/javafaq.jsp#netiquette>

See further comments in-line.
"Andrew Thompson" <Se********@www.invalid> wrote in message...
On Sat, 07 Aug 2004 18:22:58 -0400, Randy Webb wrote:
George Hester wrote:
..
> http://home.nycap.rr.com/foryorisonly/cube/cube.htm

All I see there is a broken Java icon....... ... I checked the applet in IE6 using both Java
1.5 and the MSVM and saw the 'rotating cube'
of book images both times..

Note to George. I left and returned to the page
to see that menu at left had been partially obscured
behind the the lower applet.. is that your intent?

Um no and I didn't write the applet. I made the
floating div which highlights each destination on
the left. The bottom applet is just old hat.
Please ignore it.


It is easier to ignore if it is not there..
Let me know please exactly the issue you had with the
floating div.


A picture speaks a thousand words, here's two..
<http://www.physci.org/test/screenshot/>
The pic's are hester1.png and hester2.png.

The first shows the menu div slipping beneath
both applets. The second is after I had put
the mouse over the applet, then moved it away..
the menu vanished (in an unpredictable way,
sometimes it was there, sometimes not).
That I can fix the applet itself I cannot.


Graceful degradation can be done in the HTML,
it requires no changes to the applet. Since
these applets seem to work in Java 1.1, the only
things you need to account for are the browsers
with 'No Java' or 'Java disabled'.

Neither of your applet tags has an 'alt'
(Java disabled) attribute defined. For the
'alternate HTML' they have "Get a Java Virtual
Machine you don't support Java(tm)." which
seems rude, and "Enable your JavaScripting",
which is just plain wrong.

If you wish to discuss it further it is
best taken up on comp.lang.java.help

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Wow interesting. It doesn't do that with anyone else I know of. You are using IE 6 that's for sure.
I assume in Windows XP. The reason you get that is because your browser must be wide enough.
Try setting to 800x600 screen display and open your browser the width of your screen.
That should fix the overlap of the div and the cube.

There is really nothing I can do about the overlap if the user chooses to use small browser width
and or low screen resolution. I suppost I could try to work around that but right now I need to fix
the small issue I have left. Concurrency.

Why the other applet appears so far up in the page has me scratching my head. It doesn't do that here
(IE 5.5 SP2 Windows 2000) but that's easy enough to fix. Thanks. Yeah that's weird I don't
know why yours is doing that. Here's mine:

http://home.nycap.rr.com/foryorisonly/images/mycube.gif

Notice the bottom applet starts much further down the page. Oh well.

The unpredictable way is right. It is an issue with the Applet executing the javascript code during
the onmouseout event. That's the concurrency issue and is what I am trying to fix at the moment.

Java Scripting will be necessary for this applet to work as I have made it. So that's a requirement.
Yes "Get a Java Virtual Machine" seems rude. Oh well I'm not really very nice. Please don't hold that
against me. I'll consider changing that.

Finally the alt tag in the Applet? I do not want that tip appearing over the applet when it works.
Won't that happen? Or is it just restricted to when the applet doesn't function?

All your comments I appreciate.

Finally I have posted one question to the java.help group. The question is specific to JSObject in the
class (the concurrency issue). The rest of the issues are strictly Java Script and user configuration I believe.

________________
George Hester
Jul 23 '05 #10

P: n/a
Of course blame the user when it's the user. Why not? The user said he got a broken java icon.
That means his JVM ain't working or some other issue on the part of the user. I just
took a stab in the dark saying security. Could be his AV too you know.

--
George Hester
__________________________________
"Andrew Thompson" <Se********@www.invalid> wrote in message news:13******************************@40tude.net.. .
On Sun, 08 Aug 2004 15:41:31 GMT, George Hester wrote:
That means your virtual machine is not working.


Blame the user? How about 'the page is broke'?

(Even when a Java applet breaks, or cannot operate
properly, there is no need to leave your visitors
looking at a 'grey square'..)
...Or your security is set too high for the page.


No, that is not the issue. Both applets work just
fine in my browser with default security settings.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

Jul 23 '05 #11

P: n/a
It is the way you have your system set up that you get the broken icon.
You may have a valid reason for doing so so let me be more specific.

You get the broken icon because your system is not set up to use Java as the vast majority of those
who do not do what you do do. You are the only person who has had this issue so far that I know of.
Out of close to 7 right now who have given me feedback on what I have done. Note though. That is
only there. I have used this Java applet at my site for 4 years now. I have 30+
George Hester
__________________________________
"Randy Webb" <Hi************@aol.com> wrote in message news:dK********************@comcast.com...
George Hester wrote:
That means your virtual machine is not working.


My Virtual Machine works just fine.
Or your security is set too high for the page.


No, it is set to the default settings.
I know this applet works just fine with Sun's JVM. It always has.


You are making the common mistake of thinking that because it works in
your browser that the problem is my browser. Its not, its your code. If
you like, I will post two screenshots for you. The first will be a shot
of a Java applet working properly (to show that my JVM does indeed
"works") the second will be your page with the broken applet icons. Do
not make the mistake of thinking that I have the JVM set up for my
preferred browser.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #12

P: n/a
George Hester wrote:
Of course blame the user when it's the user. Why not? The user said he got a broken java icon.
Yep, thats what I said. The "blame the user" mentality died out some
time in 1995 or 1996, you might want to update your thinking.
That means his JVM ain't working or some other issue on the part of the user.
No, its a fault on the part of the web author who fails to take into
account that not everyone will have the JVM installed and set up to use.
You are aware that WinXP ships without the JVM aren't you?
I just took a stab in the dark saying security.
And that stab was just as wrong as any other stab you have taken.
Could be his AV too you know.


Again, your guess is wrong. Its bad coding on your part not to take into
account the possible lack of the JVM. Almost sounds like the Flash
people.......
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #13

P: n/a
Randy no it is not. If the user does not have a JVM then expecting to go to a site which specifically talks about an applet is sort of like going to the beach expecting to ski. This applet should work in most major browsers with a JVM installed. Without it then as far as I am concerned they should go get one. I have not put the directions on how to do that because Google ought to take care of it. If they are Google challenged then oh well no applet for them.

--
George Hester
__________________________________
"Randy Webb" <Hi************@aol.com> wrote in message news:MY********************@comcast.com...
George Hester wrote:
Of course blame the user when it's the user. Why not? The user said he got a broken java icon.


Yep, thats what I said. The "blame the user" mentality died out some
time in 1995 or 1996, you might want to update your thinking.
That means his JVM ain't working or some other issue on the part of the user.


No, its a fault on the part of the web author who fails to take into
account that not everyone will have the JVM installed and set up to use.
You are aware that WinXP ships without the JVM aren't you?
I just took a stab in the dark saying security.


And that stab was just as wrong as any other stab you have taken.
Could be his AV too you know.


Again, your guess is wrong. Its bad coding on your part not to take into
account the possible lack of the JVM. Almost sounds like the Flash
people.......
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #14

P: n/a
George Hester wrote:
Randy no it is not.


Yes George, it is. It is just as easy to make a page non-JVM compatible
as it is to require the JVM. You asked for thoughts/comments on the page
and my preferred browser gave the results I stated. That means your page
is a failure.

And it is that attitude that you display that has gained you the
reputation in c.l.j where most people won't bother with you. It detracts
from what you have done/learned.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #15

P: n/a
You are lovely. Would you like to galavant a little?

--
George Hester
__________________________________
"Randy Webb" <Hi************@aol.com> wrote in message news:TN********************@comcast.com...
George Hester wrote:
Randy no it is not.


Yes George, it is. It is just as easy to make a page non-JVM compatible
as it is to require the JVM. You asked for thoughts/comments on the page
and my preferred browser gave the results I stated. That means your page
is a failure.

And it is that attitude that you display that has gained you the
reputation in c.l.j where most people won't bother with you. It detracts
from what you have done/learned.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #16

P: n/a
Lastly Randy you provided a comment on the page that has nothing to with the applet which is what I was looking
for. Your response was I don't want to see the applet I want to make sure it degrades gracefully. That is not what
I posted the link for. If I asked you to comment on the dress I was wearing and you said the beard I have detracts
from my dress I would say well, he's got a stick up his ass. Which you do.

The point is people with sticks up their ass I don't care what they say. The same as what you think many here feel
about me. Fact is there are many people in the world without sticks up their asses and when I run into one well then shove it.

--
George Hester
__________________________________
"Randy Webb" <Hi************@aol.com> wrote in message news:TN********************@comcast.com...
George Hester wrote:
Randy no it is not.


Yes George, it is. It is just as easy to make a page non-JVM compatible
as it is to require the JVM. You asked for thoughts/comments on the page
and my preferred browser gave the results I stated. That means your page
is a failure.

And it is that attitude that you display that has gained you the
reputation in c.l.j where most people won't bother with you. It detracts
from what you have done/learned.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #17

P: n/a
On Sun, 08 Aug 2004 18:43:56 GMT, George Hester <he********@hotmail.com>
wrote:
It is the way you have your system set up that you get the brokenicon.
You may have a valid reason for doing so so let me be morespecific.
Yes, I believe it's called personal choice. That's as good a reason as any.

You run the web page, we (the visitors) run our computers. What happens on
them is not dictated by you or anyone else.
You get the broken icon because your system is not set up to useJava as
the vast majority of those who do not do what you do do.You are the only
person who has had this issue so far that I knowof.
What, you think that everyone who would have a problem with your site will
immediately rush to report it? Yeah, right.

If I come across a site that doesn't work, I'll close the browser tab and
look elsewhere. One of things you can reasonably guarantee with the Web is
that more than one person will have the information you're looking for. If
someone is idiotic enough to produce a unnavigable website, people will go
elsewhere.

Only if I really, *really* want to use a site will I report any problems,
and in several years of Web use, across thousands of sites, I've only
written to one webmaster. What happened in that case? The webmaster did
nothing, so I spent hundreds of pounds with another retailer.
Out of close to 7 right now who have given me feedback on what Ihave
done. Note though. That is only there. I have used this Javaapplet at my
site for 4 years now. I have 30+


I would reply to that, but first I'd have to understand what it means. I
don't think it adds any weight to your argument anyway, so no great loss.

To continue what Andrew mentioned in another part of this thread, please
learn to reply to posts properly[1]. This is hardly the first time you've
been to this newsgroup. Simply saying "my client wants it on top" is not a
viable excuse. I'm sure that pressing Delete a couple of times results in
exactly the same content I start out with when I hit the Reply button.
Besides, if your client is really that bad, get a new one. There are
plenty out there (all with fewer security holes), and many of them are
completely free.

Mike
[1] That includes trimming quotes and grouping responses with the relevant
quoted text, just as I, and all the regulars, do.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail
Jul 23 '05 #18

P: n/a

"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:opscftnpx5x13kvk@atlantis...
On Sun, 08 Aug 2004 18:43:56 GMT, George Hester <he********@hotmail.com>
wrote:
It is the way you have your system set up that you get the brokenicon.
You may have a valid reason for doing so so let me be morespecific.


Yes, I believe it's called personal choice. That's as good a reason as any.

You run the web page, we (the visitors) run our computers. What happens on
them is not dictated by you or anyone else.
You get the broken icon because your system is not set up to useJava as
the vast majority of those who do not do what you do do.You are the only
person who has had this issue so far that I knowof.


What, you think that everyone who would have a problem with your site will
immediately rush to report it? Yeah, right.

If I come across a site that doesn't work, I'll close the browser tab and
look elsewhere. One of things you can reasonably guarantee with the Web is
that more than one person will have the information you're looking for. If
someone is idiotic enough to produce a unnavigable website, people will go
elsewhere.

Only if I really, *really* want to use a site will I report any problems,
and in several years of Web use, across thousands of sites, I've only
written to one webmaster. What happened in that case? The webmaster did
nothing, so I spent hundreds of pounds with another retailer.
Out of close to 7 right now who have given me feedback on what Ihave
done. Note though. That is only there. I have used this Javaapplet at my
site for 4 years now. I have 30+


I would reply to that, but first I'd have to understand what it means. I
don't think it adds any weight to your argument anyway, so no great loss.

To continue what Andrew mentioned in another part of this thread, please
learn to reply to posts properly[1]. This is hardly the first time you've
been to this newsgroup. Simply saying "my client wants it on top" is not a
viable excuse. I'm sure that pressing Delete a couple of times results in
exactly the same content I start out with when I hit the Reply button.
Besides, if your client is really that bad, get a new one. There are
plenty out there (all with fewer security holes), and many of them are
completely free.

Mike


[1] That includes trimming quotes and grouping responses with the relevant
quoted text, just as I, and all the regulars, do.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail


Mike you have hit the point on the noggin.

". If someone is idiotic enough to produce a unnavigable website, people will go elsewhere."

It may not be that the site is "unnavigable" it may be that the Webmaster cares little that you enjoy yourself
there and is perfectly pleased as punch that you do go "elsewhere."

I have put a lot of work into my site to make sure that all visitors to my site (and the one I posted is not my site -
click the cube faces that's my site) will enjoy themselves IF they follow the rules. The rules are:

1) JavaScripting MUST be anabled
2) A JVM must be installed
3) Cookies must be able to be left
4) A disclaimer MUST be signed
5) a username and pass is necessary
6) No using my SMTP server other then the request for user/pass
7) Microsoft Internet Explorer (non-6 preferred - for I scare the bejesus out of them if they do
come with that browser. No harm done. Just makes them pee in their pants.

If the client cannot abide by these rules then I try to make sure the client never comes back. The client
cannot sneak in (still fixing that).

You may think I don't get many visitors. That's fine what matters that?

My site uses these cubes exclusively for navigation once past the homepage. In the homepage I use
MSXML so that's why Netscape does nothing in there. Sun JVM works just fine. There are no errors of any kind in the entire site and we are talking a site of close to 20GB.

No I do not think that everyone will report a problem with the site. I only mean that the seven who provided feedback have had no issue. And then the 50,000 that come into my site don't either. My guestbook can attest to that. Which works off and on dang-it-all.

So here we are I need to get a better client for newsposts; I need to make my navigation menus degrade gracefully,
but for some reason the following does not apply to ME::

"Yes, I believe it's called personal choice. That's as good a reason as any.

You run the web page, we (the visitors) run our computers. What happens on
them is not dictated by you or anyone else."
hmmm...

_________________
George Hester
Jul 23 '05 #19

P: n/a
JRS: In article <TN********************@comcast.com>, dated Sun, 8 Aug
2004 17:28:16, seen in news:comp.lang.javascript, Randy Webb
<Hi************@aol.com> posted :

And it is that attitude that you display that has gained you the
reputation in c.l.j where most people won't bother with you. It detracts
from what you have done/learned.


Indeed. Please help to reduce excessive top-posting and over-quoting by
refraining from responding to the posts of authors who so persistently
disregard accepted convention.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm> : about usage of News.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.
Jul 23 '05 #20

P: n/a
In article <sF*******************@twister.nyroc.rr.com>,
"George Hester" <he********@hotmail.com> wrote:
For awhile I have been trying to take a commercial java cube (each face is a
link) and make it
better. When I say better I'm referring to making the cube provide CLEARLY
the destination of each link.
Previously the destination only showed in the status bar (IE5+) . That
matching up the face of the cube with
the destination was somewhat problematic. For it's hard to have one eye
cocked up and the other cocked down.


I tired your site with Netscape 7.1 on MacOS 10.2.6. I am interested in
buying some books on HTML. You site seemed a possibility. After I
click the left button, I got up a page asking for a userid & password. I
pressed the back button. The cube changed to an image of one paage. I
pressed back again & Netscape quit. I know a Netscape problem, but I do
not care. Your page doesn't work for me.

You seem to like to chase customers away from your site. That your
choice.

Robert
Jul 23 '05 #21

P: n/a
I don't like to chase customers away. I am interested in knowing more of what happened to you. As far as I know you shouldn't have hit anything that has anything to do with incompatibilities with Netscape. If so I'd like to know exactly what happened. Going to the cube I provided here should have put you at one of my websites. Clicking on the faces of that cube should have put you in a location at my main site. I redirect everyone to a logon page because the only way into that site is by username password. Up to this point everything seemd to go OK with you. When you tried to Back to the (let's call it the Book Cube) you started running into difficulties. This is what I would like to concentrate on. Going back to the Book Cube by Back in your browser should not have resulted in any issues. If that is all you did then obviously something is wrong with Netscape. In fact I have experienced this with Netscape in the past. But if you think it is me I'd be more then happay to look into it further.

--
George Hester
__________________________________
"Robert" <rc*******@my-deja.com> wrote in message news:rc*****************************@news1.west.ea rthlink.net...
In article <sF*******************@twister.nyroc.rr.com>,
"George Hester" <he********@hotmail.com> wrote:
For awhile I have been trying to take a commercial java cube (each face is a
link) and make it
better. When I say better I'm referring to making the cube provide CLEARLY
the destination of each link.
Previously the destination only showed in the status bar (IE5+) . That
matching up the face of the cube with
the destination was somewhat problematic. For it's hard to have one eye
cocked up and the other cocked down.


I tired your site with Netscape 7.1 on MacOS 10.2.6. I am interested in
buying some books on HTML. You site seemed a possibility. After I
click the left button, I got up a page asking for a userid & password. I
pressed the back button. The cube changed to an image of one paage. I
pressed back again & Netscape quit. I know a Netscape problem, but I do
not care. Your page doesn't work for me.

You seem to like to chase customers away from your site. That your
choice.

Robert

Jul 23 '05 #22

P: n/a
"Andrew Thompson" <Se********@www.invalid> wrote in message news:18******************************@40tude.net.. .
On Sun, 08 Aug 2004 15:39:42 GMT, George Hester wrote:

Could I ask you not to top-post George?
I find it most confusing..
<http://www.physci.org/codes/javafaq.jsp#netiquette>

See further comments in-line.
"Andrew Thompson" <Se********@www.invalid> wrote in message...
On Sat, 07 Aug 2004 18:22:58 -0400, Randy Webb wrote:
George Hester wrote:
..
> http://home.nycap.rr.com/foryorisonly/cube/cube.htm

All I see there is a broken Java icon....... ... I checked the applet in IE6 using both Java
1.5 and the MSVM and saw the 'rotating cube'
of book images both times..

Note to George. I left and returned to the page
to see that menu at left had been partially obscured
behind the the lower applet.. is that your intent?

Um no and I didn't write the applet. I made the
floating div which highlights each destination on
the left. The bottom applet is just old hat.
Please ignore it.


It is easier to ignore if it is not there..
Let me know please exactly the issue you had with the
floating div.


A picture speaks a thousand words, here's two..
<http://www.physci.org/test/screenshot/>
The pic's are hester1.png and hester2.png.

The first shows the menu div slipping beneath
both applets. The second is after I had put
the mouse over the applet, then moved it away..
the menu vanished (in an unpredictable way,
sometimes it was there, sometimes not).
That I can fix the applet itself I cannot.


Graceful degradation can be done in the HTML,
it requires no changes to the applet. Since
these applets seem to work in Java 1.1, the only
things you need to account for are the browsers
with 'No Java' or 'Java disabled'.

Neither of your applet tags has an 'alt'
(Java disabled) attribute defined. For the
'alternate HTML' they have "Get a Java Virtual
Machine you don't support Java(tm)." which
seems rude, and "Enable your JavaScripting",
which is just plain wrong.

If you wish to discuss it further it is
best taken up on comp.lang.java.help

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

_______________________________________
OK I think I fixed the concurrency issue. Where you mentioned the issue
of the destination menu not behaving right.

The issue of not degrading gracefully I'm not sure how to accomplish that.
I don't want to give the user the opportunity to d/l a JVM for a couple of
reasons. I hoped that the <applet>Message</applet> would have been
enough which I have made more friendly but I guess not.

Lastly liked your site Andrew.

George Hester
Jul 23 '05 #23

P: n/a
On Tue, 10 Aug 2004 02:12:00 GMT, George Hester wrote:

My apologies to the group. This has gone very
off-topic, largely due to a comment I made.
Further, I will make one more post on it, I
swear this will be my last on this thread.

I hope you can forgive me, I do it in the hope
of improving the experience of internet surfers..
The issue of not degrading gracefully I'm not sure how to accomplish that.


<applet code="TheApplet.class"
alt='This applet requires Java enabled, please enable Java to proceed.'
width=200
height=200>
This applet requires the free Java Plug-In, available from ...
</applet>

This gives everybody the best experience.

The user with Java gets the applet, they
never see the alternate messages.

The user who's browser has never heard of Java
gets the last message, telling them about Java's
existence and where they can get it.

The user who has Java disabled, or is using
a system (library, internet cafe, business
intranet) that has it disabled, gets the
*reason* why the applet does not appear.

[ And nobody has to get nailed to
anything, ..or pee their pants. ;-) ]

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #24

P: n/a
"George Hester" <he********@hotmail.com> wrote in message news:<TN*****************@twister.nyroc.rr.com>...
I don't like to chase customers away.


Tried this URL:

http://home.nycap.rr.com/foryorisonly/cube/cube.htm

but I got back just Boo.

Robert
Jul 23 '05 #25

This discussion thread is closed

Replies have been disabled for this discussion.