sitedesign

how to make a php automation background script for Windows and Unix?

寵の児 提交于 2019-12-13 04:29:48
问题 I have a script that creates thumbnails of larger images and it works fine, the problem is that it is placed at the beginning of the page where both images are viewed and to my understanding would run every time someone visits the page. This doesn't seem very performant. I would rather the script have its own page and somehow detected when more large images had been added to the directory it scans and go to work then. How would i go about setting this up or improving it in someway? found this

jQuery mouseover to show hidden div and to show div if only mouse still over the div

99封情书 提交于 2019-12-12 10:56:26
问题 I have a problem with my mouseover and mouseout functions. When I mouseover a link, it shows a hidden <div> , and when I mouseout of the div it hides the div. The problem is that if I mouseover a link, then I move mouse somewhere else which is not over the div, the div won't go away. If I use the mouseout event of the link to set the visibility of the div, then I won't be able to hover on the div. Here's my HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3