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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying <IMG> on the screen 1

Status
Not open for further replies.

soho34

IS-IT--Management
Dec 28, 2004
102
US
Hi,

I used to know how to do this, but forgot.

I want to inform the user on something, and I want to keep <IMG> on my screen.

How do I go about doing that in my code?

Thanks in advance,
soho34
 
I'll attempt to answer your question to the best of my ability given the wealth of information and depth of explanation you have gone to in this instance.

Scroll down the page to the image... and put a post-it note somewhere on the screen (with the message for the user). Take a photo of it... and then put that photo on the web (instead of your web page). You now have user feedback, showing the image... and stored as an image.

Make sure you remind users to enable images.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 


My goal is to explicity state <IMG> on the screen instead of having it processed as HTML.

 
You just want to show an image? In that case, type the URL of the image into the browser (or redirect them there using whatever client or server language you want)...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
This should work for you.
Code:
<p>&lt;IMG&gt;</p>
Add appropriate html code around.
 
Hi,

That's ok. I figured it out.

FYI. For anyone who is ever writing a tutorial or instructions and wants to literally tell the user: "Click on an <IMG> symbol, etc......"

Type this:

&##60;IMG&##62;

instead of this: <img>......

Hope this helps.

soho34
 
Hi Vragabond,

You understood what I was asking! Thanks for all of your responses. Vragabond was correct.

I had posted mine before I saw yours - thanks again.

soho34
 
Oh, now I see what you want...[smile]


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
soho,

Just so you know - it really was less-than-obvious from your initial description what it was you were actually after. Even knowing now what it was you wanted, I'd not guess that from your description.

Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
P.S., you really only need to escape the less-than sign. After that, you can use an actual ">" sign at the end. The same cannot be said to be true for just escaping the final greater-than sign. Try this:

Code:
<body>
4<5 
&lt;one>
<two&gt; 5>4
</body>

Output looks like:
4<5 <one> 4
although you might be expecting
4<5 <one> <two> 5>4

...in IE6, anyway.

Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top