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 fire pixel 2

Status
Not open for further replies.

spicymango

Programmer
May 25, 2008
119
CA
How do we fire a pixel. My understanding is whatever you put in

<script> tags
<img tags
<iframe> tags

get executed. So we can fire pixel by doing

<img src=" >
OR
<SCRIPT language=JavaScript src=" </script>

OR
<iframe>src ="
OR
<SCRIPT language=JavaScript src=" </script>

Are above example correct? Are there other tags as well?
 
What on earth is 'firing a pixel'?

You clearly need to clarify your requirements. Perhaps you want to load an image? Perhaps you want to load content from a web server?

If the former, then use an IMG tag or request a background image via CSS.

If the latter, then use either of the above, or an iframe or AJAX (or a SCRIPT element if it's JS you want to retrieve).

If none of these, then you need to clarify your requirements, as 'firing a pixel' is not familiar terminology whatsoever.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Thanks for your replies.
What is the whole concept of pixel. Its is basiaccly for tracking purpose right?

Lets suppose we are using an image. We send a request to server to send the image. And in doing so server tracks what page was hit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top