JABVA APPLETS can be made to work at FTE...

Thread Tools
 
Search this Thread
 
  #1  
Old 01-13-2010, 07:58 PM
Greywolf's Avatar
Greywolf
Greywolf is offline
Fleet Owner
Thread Starter
Join Date: Aug 2001
Location: Drummonds, TN USA
Posts: 29,941
Likes: 0
Received 3 Likes on 3 Posts
JABVA APPLETS can be made to work at FTE...

We can't upload them, but if we know where they are at another web location they can be called using the "CODEBASE" parameter, providing you see 'HTML is ON' in the block at the lower left of the advanced post editor.

I didn't know that...

Just tonight I proved out the theory in the test forum. EXAMPLE:

<applet code="PoolMenu" CODEBASE=http://greywolf.clubfte.com width=586 height=459>
<param name=image value=https://www.ford-trucks.com/forums/picture.php?albumid=2171&pictureid=10038>
</applet>

If you have never tinkered with java before, most of the following will be double Greek written in hyroglyphics.

In this breakdown of the code script (true web address of the example applet "PoolMenu" I don't think I'd better reveal) you can see the codebase parameter in use:

(applet code="PoolMenu" CODEBASE=http://www.SomeOtherWebsite.com width=586 height=459)
(param name=image value=https://www.ford-trucks.com/forums/picture.php?albumid=2171&pictureid=10038)
(/applet)

*To show the syntax of this application I had to substitute ( and ) for the html code < and >
The forum kept trying to run the script anyway instead of show the code I used

For an image - I just used one straight out of one of my own albums. What this little jewel does is create an interesting 'Ripple' effect behind a mouse pointer dragged across the picture.

The JAVA "CLASS" has to be uploaded to someplace online that it can be called up from, such as a directory of stuff you've uploaded somewhere on the web. In this example the size of the image has to be known and set as height and width parameters, but that's peculiar to this particular applet.

Applets are like small programs. This one is known to me to be harmless.

My point here being that rather than having to have a java class uploaded to the same directory as (in this case) an image that it will be used on - the codebase parameter can be used to get it from a completely different one than the one you are looking at.

Since we cannot upload java applets to FTE this makes various applets still workable in the forums, much like linking to a graphic hosted at some other website.

I've been wondering if it was possible to do that for a very long time, and obviously IT DOES WORK!

(All of which is probably a lot more than most people here wanted to know - but some users might)


~Dutch
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Greywolf
Testing.....
4
01-02-2010 12:47 PM
fordtrucklover94
General NON-Automotive Conversation
16
02-23-2005 04:45 PM
jniolon
User Gallery & Picture Display
4
01-10-2003 01:11 AM
Greywolf
General NON-Automotive Conversation
2
02-12-2002 11:57 AM



Quick Reply: JABVA APPLETS can be made to work at FTE...



All times are GMT -5. The time now is 03:15 AM.