Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to I get the text centered within my backround image in applett

Status
Not open for further replies.

Wtchbld

Technical User
Aug 2, 2001
6
US
Hello, It's me again! I finally got the applett to work! I was just wondering if you can help me with getting my text to scroll in the center of my backround image. I'm not sure of where or what param to use to accomplish this. Here is what the page looks like:
Here is what the code looks like:

<html>
<head>
<title>Vampiric Obsession</title>
</head>
<body>
<center>
<applet code=&quot;text_scroller.class&quot; width=555 height=626>

<param name=info value=&quot;Applet by Gokhan Dagli,textscroller.tripod.com&quot;>

<param name=textcolor value=&quot;ffd700&quot;>

<param name=bgcolor value=&quot;000000&quot;>

<param name=enable_bgpicture value=&quot;1&quot;>

<param name=bgpicture value=&quot;Bramdrac2.jpg&quot;>

<param name=speed value=&quot;45&quot;>

<param name=textdimension value=&quot;14&quot;>

<param name=fonttype value=&quot;camelot&quot;>

<param name=paragraph_number value=&quot;21&quot;>

<param name=parag1 value=&quot;Vampiric Obsession&quot;>

<param name=parag2 value=&quot;Out of the dark arose an arabian knight,&quot;>

<param name=parag3 value=&quot;Seeking souls in his vampiric flight.&quot;>

<param name=parag4 value=&quot;He has lost his one and only love,&quot;>

<param name=parag5 value=&quot;Swearing vengence to God, above.&quot;>

<param name=parag6 value=&quot;Hear the wolf, in the mist that cries,&quot;>

<param name=parag7 value=&quot;Veiled in the shadows behind it's disguise.&quot;>

<param name=parag8 value=&quot;Pure and virtuous was his soul,&quot;>

<param name=parag9 value=&quot;Now, the night, he must patrol.&quot;>

<param name=parag10 value=&quot;By devine right must he kill,&quot;>

<param name=parag11 value=&quot;His yearning need to fufill.&quot;>

<param name=parag12 value=&quot;Chained unto these ties that bind,&quot;>

<param name=parag13 value=&quot;Through legions of doom, all intertwined.&quot;>

<param name=parag14 value=&quot;Trinkets of deceit weaved in desire,&quot;>

<param name=parag15 value=&quot;Melodic voices singing like a choir.&quot;>

<param name=parag16 value=&quot;His rival for affection must he defeat,&quot;>

<param name=parag17 value=&quot;Mysterously morphing so to be discreet.&quot;>

<param name=parag18 value=&quot;Deviously he seeks out his concubine,&quot;>

<param name=parag19 value=&quot;Unknowingly lost in the essence of time.&quot;>

<param name=parag20 value=&quot;Tempestuously getting her under restrain,&quot;>

<param name=parag21 value=&quot;Hoping her love to now regain.&quot;>



</applet>

</center>
<br><br><br><br><br><br><br><br>


</body>
</html>

Also, are there any errors within the script that I missed?
Thanks so much you guys, you have been such a great help.
 
You don't have any control over where the text goes unless the person who developed the Applet placed in that provision. Check the documentation (if any) for the Applet. Wushutwist
 
Just move the text over till it looks centered. By the way, you're not using Java 2, your use IE java aren't you. &quot;and everything under the sun is in tune
but the sun is eclipsed by the moon.&quot; --Pink Floyd: Eclipse


&quot;I'm going to spend eternity
reinstalling Windows.&quot; --Reinstalling Windows: by some British guy
 
so how'd you get the applet working in the end?
 
I'm getting the impresion that you didnt' vreate this applet. Well, whoever did was using the old IE version of java because it will only open in IE for me (I didn't set IE to use JRE, I downloaded Opera). &quot;and everything under the sun is in tune
but the sun is eclipsed by the moon.&quot; --Pink Floyd: Eclipse


&quot;I'm going to spend eternity
reinstalling Windows.&quot; --Reinstalling Windows: by some British guy
 
The applet wasn't created by him. He got it from a site (I went to the site before and he got some pretty good applets.) Btw, he didn't use Java 2 to create the applet.

Wtchbld : You can't center the text within the applet due to the codes and since you only have the class file, there is nothing much that you can do (unless you want to decompile his codes). Perhaps you might want to try creating the applet yourself? or to request him to help alter his applet.

Leon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top