Showing posts with label images. Show all posts
Showing posts with label images. Show all posts

Monday, March 26, 2012

Suddenly my web run very slow.

I have very big and complicated website. Suddenly (in the past few days) it started to run very slow. In each page it "can't find" one or two images (usually very small ones like arrow or something) and the browser show "open 1 item…" and stuck. As much as I can remember I didn't change any thing that related to the images or to my home page.

Does any body have idea what can cause such behavior?

Have you rebooted recently? You might have some memory issues on the server.

Nick


oh, yes... again and again.

Tuesday, March 13, 2012

swap images

Is there an easier way to swap two images on mouseover. In dreamweaver I used to use about 20 lines of code to do it, I'm just wondering if there are easier ways to do this with .net. I tried the image button but couldn't get it to work.

No probs I found it

<asp:ImageButtonID="ImageButton1"runat="server"

ImageUrl="~/image1.gif"

BorderWidth="0.2"

onmouseover="this.src='image2.gif';"

onmouseout="this.src='image1.gif';"

AlternateText="Click"

/>