Click to See Complete Forum and Search --> : adding links to this applet


chris9902
08-19-2003, 12:19 PM
i downloaded this applet to scroll text but i want to add links to it.

<applet code="text_scroller.class" width=160 height=220>
<param name=info value="Applet by Gokhan Dagli,textscroller.tripod.com">
<param name=textcolor value="03FEFE">
<param name=bgcolor value="000000">
<param name=enable_bgpicture value="0">
<param name=speed value="50">
<param name=textdimension value="12">
<param name=fonttype value="Arial">
<param name=paragraph_number value="3">
<param name=parag1 value="to TextScroller Java Applet.">
<param name=parag2 value="Vertical text scroll effect. You can use background image.">
<param name=parag3 value="Please visit textscroller.tripod.com for download latest version of textscroller.">
</applet>

but how do i add links to the text

i can post the class file if you need it

Khalid Ali
08-19-2003, 01:27 PM
If applet allows it( that means the writer of the applet has not restricted it to be plain text) then you should be able to do something like this

<param name=parag1 value="to TextScroller Java Applet.">

add a link to the above

<param name=parag1 value="&lt;a href='www.w3c.org'&gt;W3c.ORG webiste.&lt;/a&gt;">

I am sure this will work provided that applet allows it.

BTW
to make any changes,one would require *.java file
*class file can not be modified.

AdamGundry
08-19-2003, 01:28 PM
This is a Java applet, not Javascript, and I presume that it is not possible to add hyperlinks unless a way is given in the applet's documentation - normal HTML is presumably not used.

You should not be using text scrollers for accessibility reasons, but if you must there are some available at http://www.dynamicdrive.com/dynamicindex2/index.html.

Adam