yaniv Posted April 1, 2004 Posted April 1, 2004 i use attribute.add to add a diferent look to my link when the mouse in over. the problem is that their is a delay in the chane of the image. i want to add a preload of the images, but i can't find the way to do it from the code behind, how do i put the images as var, and call them from the code behind, i don't want to use java script in the html page, i want all my function to be in the code behind... can it be done? Quote
Moderators Robby Posted April 1, 2004 Moderators Posted April 1, 2004 You can use RegisterClientScriptBlock() to insert the code to pre-load the images Quote Visit...Bassic Software
yaniv Posted April 1, 2004 Author Posted April 1, 2004 but how do i call it? i mean, when you preload a image you use a variable to keep it, if I use a javascript, the code behind will not recognize this var as a source, didn't it? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.