Enter text and display on logo


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Enter text and display on logo
# 1  
Old 06-26-2003
Java Enter text and display on logo

Okay, lets say I have a entry field, to enter the persons name. Then I have a image of a car, and when the person hits submit on the form , the image loads and the name the person entered is displayed on the door or the car.

How would I do this in a browser.could someone give me a Javascript or something to do this please.
# 2  
Old 06-26-2003
You could try this suggestion from faqts.com
Quote:
How can I display text over an image?
Nov 29th, 2001 04:04

Tony Hookham, Ben Gordon, Carlos Orozco, Joćo Martins
http://www.w3schools.com





I think that the only way to do that is with CSS or DHTML. Plain html
won't do that for you.

You can use the CSS property of position: absolute to achieve this you
would need to place the text in a container like a <p> or a <div> then
you simply add style="position: absolute; top: ??px; left:??px;" to the
tag so it would be like <p style="position: absolute; top: ??px;
left:??px;">Your Text</p> just replace the ?? with the number of pixels
needed to place the text over the image, you will have to play with it
to get it right. Another way would be to use javascript.

In a table you can make the background yourimage.gif, and then put your
text in the TD
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to enforce user to Enter text when login to a UNIX / Linux system?

Hi. I inject my tracklogin.sh script in the profile of each user. $ more .profile ./tracklogin.sh # This is the default standard profile provided to a user. MAIL=/usr/mail/${LOGNAME:?} bash-3.2$ more tracklogin.sh #!/bin/bash tdate=$(date +"%d%m%y") mkdir -p /tmp/root_log... (20 Replies)
Discussion started by: mohtashims
20 Replies

2. UNIX for Dummies Questions & Answers

Text display

I am running a Rasberry Pi using the Rasbpian OS. I have a program that develops a log file. If I look at the log file with a terminal session I can CAT it and it contains just what I expect. If I go to the desktop file manager and double click the file opening it with the text editor nothing... (3 Replies)
Discussion started by: barrygordon
3 Replies

3. UNIX for Dummies Questions & Answers

How to enter special characters in a text file using vi?

Hi, I need to create a test text file with the special characters \342\200\223 in it and to be able to use sed maybe to delete them I tried doing it using vi by pressing CTRL-V and then typing 342 but it does not work. After pressing CTRL-V and typing 342 it seems to just insert the numbers... (1 Reply)
Discussion started by: newbie_01
1 Replies

4. Shell Programming and Scripting

View on screen text file and enter input

Is the below correct syntax for if the user enters something other than "GJB2 or MECP2, or PHOX2B", then they are shown on the screen format.txt and allowed to enter in one of those formats? Thank you :). Basically, the user can see which formats are allowed and enter a variant while viewing... (7 Replies)
Discussion started by: cmccabe
7 Replies

5. Shell Programming and Scripting

Loop logic, enter into respective IF as per enter input file name

have three big data file, however I just need to see the mentioned below one line form the all the file which has SERVER_CONNECTION Value File 1 export SERVER_CONNECTION=//dvlna002:10001/SmartServer File2 export SERVER_CONNECTION=///SmartServer File3 export... (1 Reply)
Discussion started by: Nsharma3006
1 Replies

6. Solaris

Set display to text

How do I set up my solaris 10 machine to display in text mode instead of graphics mode, permanently? (1 Reply)
Discussion started by: jastanle84
1 Replies

7. Shell Programming and Scripting

display 5 lines from the particular text

Hi All, please help me to display 5 continious lines from a particular text. my file is as below. file1.txt ------ Good 1 2 3 4 5 luck 1 2 3 I want to diplay 5 lines from the word Good. (4 Replies)
Discussion started by: little_wonder
4 Replies

8. Shell Programming and Scripting

Perl - Enter text in a file in a place.

Hi, I have a simple question: I need to enter some text in a text file at a certain place via perl. I would first need to find that specific text in the file and then I would like to insert a line after that particular line. Say I have this text file: I am a great Perl Programmer I... (1 Reply)
Discussion started by: som.nitk
1 Replies

9. Shell Programming and Scripting

how to display multiline text

I am writing script that can run on solaris 10, Linux Fedora and windows taht has cybwin installed. I want to display a variable containing muli-line text. using echo command, the variable display all rows in single line i.e. it loses the format. Is there any other command that displays... (2 Replies)
Discussion started by: mmunir
2 Replies

10. UNIX for Dummies Questions & Answers

How to enter month name and display no.

SPls help me. Need a simple shell script. To enter month name and display its no. eg: If i enter january. Then answer should be 1. (7 Replies)
Discussion started by: siddhesh2515
7 Replies
Login or Register to Ask a Question