Click to See Complete Forum and Search --> : Javascript problem


Mathcom
09-22-2003, 02:14 PM
The functions descripted below the text are only tiny part of greater set program. Unfortunatly, there is a problem with the following code : window.document.links[0].onclick = Show_The_Clock;. Normally, when i clicking the mouse on the images/linked text (link[0]), it's supposed to call the function Show_The_Clock() . But nothing is happening.

Is there a program error or what ?

Is somebody can suggest a solution.

Thank-you.


function Show_The_Clock()
{
alert("Message");
return;
}



function Gestion_Images()
{
window.document.links[0].onclick = Show_The_Clock;
return true;

Khalid Ali
09-22-2003, 02:19 PM
post the link wher eyou ahve this implemented...