Gossamer Forum
Home : Products : Links 2.0 : Customization :

adding java applet

Quote Reply
adding java applet
I have a news scroller I would like to add to my Links home page,,, But where do I place the NewsScroller.class file. so it loads when page loads??
(beginner ya know)

Quote Reply
Re: adding java applet In reply to
Don't know much 'bout Java. But you'll need to edit home.html in the links/admin/templates folder. Something like this:

<APPLET
[CODEBASE=codebaseURL] (This specifies the base URL of the applet code)
CODE=appletFile.class>

...

</APPLET>

See http://www.irt.org/...cles/js067/index.htm for more info.

Martin Webster
--
Cebidae's UK Internet Resource
http://www.cebidae.co.uk/
Quote Reply
Re: adding java applet In reply to
Are you a templates or non-templates user?

Quote Reply
Re: adding java applet In reply to
I tried this and still can't make it work....any other solutions?

Quote Reply
Re: adding java applet In reply to
using templates....I thought that the class file should still be called from the server and the directory that the Links folder is in.

Quote Reply
Re: adding java applet In reply to
I am trying to do something similar, it appears that HOME.html becomes index.html when the pages are built.

NewsScroller.class should be in the folder you designated in "$build_root_path = "/full/path/to/links";".

The applet can be called using:
<APPLET CODE= NewsScroller.class>
Param....
</APPLET>

Hope this works, it is what I would try first ...

Quote Reply
Re: adding java applet In reply to
Hi

I have tried this in the past, yes you are correct home.html becomes your index.html page in the pages directory.

If I am right the .class file needs to be placed in the same directory, so place a copy in the pages directory, that will operate your index page.

If you wish to place it in category.html, you will need to place a copy of the .class file in every sub directory under pages, just try and remember to do this every time you add a new directory.

Sorry not the best answer in the world but it should work

DavyC

Quote Reply
Re: adding java applet In reply to
Thanks to everyone on the advice....I have it working..
this is a great thing to know that there are so many helping people out there.
faribo(Mark)

Quote Reply
Re: adding java applet In reply to
I have an applet on my home page. I have my .class file in the directory where the pages are made (not in cgi bin). I've called mine /links/pages/ - when you modify the home page through the admin.cgi it will have created the pages in a directory? that you specified and the home page will be called index.html - that's the directory you upload your .class file to. Take a look at mine and view the source code to see the path: http://www.thehorsesource.com/links/pages/index.html

Hope this helps!

Specializing in, but not limited to Equine Web Dzyn.
Quote Reply
Re: DHTML In reply to
Hello!

I would like to know if it's possible to do with DHTML or java like Tracey's site :
http://www.thehorsesource.com/links/pages/Just_For_Kids/
"home", "classified", "ressources"... at the top!

BUT with categories, subcategories, "subsubcategories"???

Thanks for your help

Ciao

Quote Reply
Re: DHTML In reply to
I would suggest taking a look at the "POP-UP" script from http://www.brainjar.com/

Quote Reply
Re: DHTML In reply to
thanks :o)