Coder's Guild Mailing List

javascripting

Posted by Fabian.Wolf@xxxxxx.xxxxxx.xx (Wolf Fabian) on 1999-07-27

hi all,

many, many years before somebody asked, if it's possible to create
changing pictures in javascript, without setting a link to another site.
.. well, thats a netscape problem, but...

ok, here we go. the solution is to use following simple routine instead
an anchor to another site:

<script language="javascript">
<!-- hiding, you know that shit...
  function DoNot()
    {
    // DoNothing.Virus
    }
//-->
</script>
^<HEAD>.
well, who doesnt know the DoNothing-Virus - here's a short explanation:
the DoNothing-Virus is named after it's function: it does absolutely
NOTHING.
wow. what a surprise. the same my DoNot()-function does... well, what
does it do?
guess what... cant believe it! NOTHING. yeepee!

and the rest of code:

..blablabla... <a href="javascript:DoNot()"
onMouseOver="ChangePic(0,hilite)" onMouseOut="ChangePic(0,normal)"><img
src="xyz.jpg" width=55 height=77 border=0 alt="my was I a dumb idiot...
guguh.. this time..."></a>...

and this peace of dope-uhm-code, goes into your body... exactly, onto a
place in your <BODY> you want it.

so, thats it, cu, w0lf.


--
-----
theSceneUnited:
  http://www.scene.de

-----
biz4free:
  http://biz4free.goodies.de

  "alles was es kostenlos im internet fuer
  gewerbliche nutzung gibt"

-----
F. Wolf-Webdesign:
  http://www.puk.de/coronary/fww/