Java quirks
Moderator: Scott Danziger
- gmattson
- Site Admin
- Posts: 6073
- Joined: Wed Sep 16, 1998 6:01 am
- Location: Lake Mary, Florida
- Contact:
Java quirks
I've been working on learning enough java to post a scrolling news banner on our front page. I just put up another one today
http://uechi-ryu.com
and discovered that it doesn't always work.
If anyone (with real skills) has time, I'd appreciate if they would check out the page and let me know how to make the scrolling script more stable.
Thanks,
George
http://uechi-ryu.com
and discovered that it doesn't always work.
If anyone (with real skills) has time, I'd appreciate if they would check out the page and let me know how to make the scrolling script more stable.
Thanks,
George
- Scott Danziger
- Posts: 929
- Joined: Thu Sep 17, 1998 6:01 am
- Location: Long Island
- Contact:
Java quirks
I won't profess to have any real skills with Java. My edumacated guess would be in the code or some kind of conflict. However, when it didn't run for me, I held down the shift key and clicked refresh and it worked fine.
The reason I say the code of the applet is because I have had similar problems with Java applets in the past. The one I put up on the video page seemed to work all the time so I stuck with it. At least it works all the time when I view it.
BTW: I like the one you put up. I hope someone here can help out with it's unstableness.
The reason I say the code of the applet is because I have had similar problems with Java applets in the past. The one I put up on the video page seemed to work all the time so I stuck with it. At least it works all the time when I view it.
BTW: I like the one you put up. I hope someone here can help out with it's unstableness.
Java quirks
It ran alright for me earlier this afternoon, George, and it was an impressive banner. However, right now your script tags are not balanced. 
------------------
Allen Moulton from Uechi-ryu Etcetera

------------------
Allen Moulton from Uechi-ryu Etcetera
- gmattson
- Site Admin
- Posts: 6073
- Joined: Wed Sep 16, 1998 6:01 am
- Location: Lake Mary, Florida
- Contact:
Java quirks
Al: By "balanced", do you mean there are missing <> or other signs?
Java quirks
On line 122 there is an end script tag that seems to be without a mate. Where is the matching begin script tag?
<pre>
</script></font></td>
</pre>
<pre>
</script></font></td>
</pre>
Java quirks
This thing doesn't seem to take code imbedded inside code or pre tags.
<p`>  `; </script`></font`></td`>

<p`>  `; </script`></font`></td`>

Java quirks
FOOEY! I present this unscriptulous thing to you as a gif
I couldn't find the matching tag although your teletype banner seems to be working now. You didn't write that by hand, did you? Code is so hard to investigate sometimes when a machine produces the code. Nor do they place the tags in locations that make it easy for inspection-type debugging.
What Ilike to do, George, is put my javascripts in another file and make the "call" to that file between script pairs to simplify my life. Below is an example of something that goes down easy plus is reusable:
[This message has been edited by Allen M. (edited March 05, 2001).]

I couldn't find the matching tag although your teletype banner seems to be working now. You didn't write that by hand, did you? Code is so hard to investigate sometimes when a machine produces the code. Nor do they place the tags in locations that make it easy for inspection-type debugging.
What Ilike to do, George, is put my javascripts in another file and make the "call" to that file between script pairs to simplify my life. Below is an example of something that goes down easy plus is reusable:

[This message has been edited by Allen M. (edited March 05, 2001).]
- gmattson
- Site Admin
- Posts: 6073
- Joined: Wed Sep 16, 1998 6:01 am
- Location: Lake Mary, Florida
- Contact:
Java quirks
Al: The applet seems to be working now.
I had the creator of the applet look at the site. He said it was working OK.
He mentioned that I should clear the browser cache, if I still couldn't see the banner.
Did that and it worked.
Regarding that extra code. I'll try deleting it to see if it affects anything.
Re the reference to an outside file: I'll give that a try as well.
Thanks...
George
I had the creator of the applet look at the site. He said it was working OK.
He mentioned that I should clear the browser cache, if I still couldn't see the banner.
Did that and it worked.
Regarding that extra code. I'll try deleting it to see if it affects anything.
Re the reference to an outside file: I'll give that a try as well.
Thanks...
George
Java quirks
I figured you'd be out playing golf with flourescent balls today, George?
Glad you discovered your problem. Now you are into java scripting, you have to make sure it works with all browsers PLUS there are many companies/browsers that disallow java due to the inherent security problems.
Any extra code like what I did an elongated circle-block on may or may not cause you trouble today, but if you leave it in and forget about it, it could come back and bite you in the arse and take out a rather big chunk latter on, George.
For the sake of saving your hair and the precious lining on the inside of your stomach, go through all your code by hand, line by line and match all your tags.
or at least use indenting rules so you can clearly see what you are doing. Pays off in big dividends.
I think I'm going to relax for a while and watch the snowflakes fall with a fresh cup of java.
------------------
Allen Moulton from Uechi-ryu Etcetera
Glad you discovered your problem. Now you are into java scripting, you have to make sure it works with all browsers PLUS there are many companies/browsers that disallow java due to the inherent security problems.
Any extra code like what I did an elongated circle-block on may or may not cause you trouble today, but if you leave it in and forget about it, it could come back and bite you in the arse and take out a rather big chunk latter on, George.
For the sake of saving your hair and the precious lining on the inside of your stomach, go through all your code by hand, line by line and match all your tags.
or at least use indenting rules so you can clearly see what you are doing. Pays off in big dividends.
I think I'm going to relax for a while and watch the snowflakes fall with a fresh cup of java.
------------------
Allen Moulton from Uechi-ryu Etcetera
Java quirks
George,
This is designed for Front Page and is not very expensive at all:
http://www.frontlook.com/default.asp
Check it out. it's got all kinds of toys you can play with.
Tony
This is designed for Front Page and is not very expensive at all:
http://www.frontlook.com/default.asp
Check it out. it's got all kinds of toys you can play with.
Tony
Java quirks
It looks like Version 1 has the Scrolling Text Message applets you'd be interested in.
- gmattson
- Site Admin
- Posts: 6073
- Joined: Wed Sep 16, 1998 6:01 am
- Location: Lake Mary, Florida
- Contact:
Java quirks
Al, you can't imagine how productive I am during the Winter! Nothing else to do. Hate the cold weather, so spend all my free time on all those projects I didn't complete during the rest of the year.
Tony: Those samples are Fantastic! I put the first one up in about 25 seconds!
Thanks a million! You are 'da man'!
------------------
GEM
Tony: Those samples are Fantastic! I put the first one up in about 25 seconds!
Thanks a million! You are 'da man'!
------------------
GEM
Java quirks
That software package is sweet. Not a bad price either.... drag and drop right in front page. So far, I've spent $250 on web software and havn't done a damn thing! hah hah. I think I want to buy that Frontlook package myself.
You won't like Florida right now by the way, it's in the 60's..... Freezing!!!!
You won't like Florida right now by the way, it's in the 60's..... Freezing!!!!