½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
PHP
ASP
CSS
mysql
html
jquery
������
image
mobile
API
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 281 | Á¶È¸¼ö 5,328 | µî·ÏÀÏ 2009-06-02 13:34:51

´Ð³×ÀÓ

dreamct00

À̸ÞÀÏ

dreamct00@naver.com

Á¦¸ñ

À¥ÆäÀÌÁö ¹è°æÀ̹ÌÁö ½Ã°£¿¡ µû¶ó ·£´ýÇÏ°Ô º¯°æÇÏ´Â ¹æ¹ý
³»¿ë

¾È³çÇϼ¼¿ä?

À¥ÆäÀÌÁö¿¡ ¹è°æÀ̹ÌÁö ¿©·¯°³¸¦ ÁغñÇؼ­ ½Ã°£ÀÌ Áö³²¿¡ µû¶ó ·£´ýÇÏ°Ô º¯ÇÏ°Ô ÇÒ·Á°í ÇÕ´Ï´Ù.

À¥»ó¿¡¼­ ¼Ò½º¸¦ Çϳª ã±ä Çߴµ¥, ÀÌ°Ç °æ·Î°¡ ÄÄ»ó¿¡ ÀÖÀ» ¶§¸¦ °¡Á¤Çؼ­ ¸¸µé¾îÁ® ÀÖ´õ±º¿ä.

------------------------------------------------------------------------------

<html>
<head>
  <title>My Wallpaper</title>
<HTA:APPLICATION ID="objHTA" APPLICATIONNAME="My Wallpaper" WINDOWSTATE="maximize" NAVIGABLE="yes">
</head>
<body SCROLL="no" style="position:absolute;width:100%;height:100%;left:0px;top:0px;padding:0px;margin:0px;border:0px;">

<script language="JScript">
var P_INTERVAL = 2000; //2Ãʸ¶´Ù À̹ÌÁö¸¦ ·£´ýÇÏ°Ô ¹Ù²Ù°Ô µË´Ï´Ù. ¾Ë¸Â°Ô Á¶Á¤Çϼ¼¿ä.

//Á¤ÇØÁø ½Ã°£¸¶´Ù ¹Ýº¹Çϸ鼭 ¹è°æ À̹ÌÁö¸¦ ¹Ù²Û´Ù.
function changeImage(){
  var arr = getImageList();
  var n   = Math.floor(Math.random()*arr.length);
  document.body.style.background="ivory url("+arr[n]+") no-repeat middle center";
  setTimeout("changeImage()", P_INTERVAL);
}
changeImage();

//µð·ºÅ͸®¿¡ ÀÖ´Â À̹ÌÁö ¸®½ºÆ®¸¦ Array ·Î ¹ÝȯÇÑ´Ù.
function getImageList(){
  var arr = new Array();
  var fso,cnt=0;
  fso = new ActiveXObject("Scripting.FileSystemObject");
  var f  = fso.GetFolder('d:\\homepage\\page_test\\img'); //À̹ÌÁö Æú´õ ¾Ë¸Â°Ô º¯°æÇϼ¼¿ä. \\ ÀÌ°Å µÎ°Ô ³Ö´Â°Å ÀØÁö ¸¶½Ã±¸¿ä.
  var fc = new Enumerator(f.files);
  var s = "";
  for (; !fc.atEnd(); fc.moveNext()){
    var path = String(fc.item());
    var ext  = path.substring(path.lastIndexOf(".")).toLowerCase();
    if(ext=='.jpg'||ext=='.bmp'||ext=='.png'||ext=='.gif'){ //À̹ÌÁöÀÇ È®ÀåÀÚ¸¦ ³ª¿­ÇÏ½Ã¸é µË´Ï´Ù.
      arr.length = ++cnt;
      arr[cnt-1]="
file:///"+path;
    }
  }
  return arr;
}

</script>


</body>


</html>

------------------------------------------------------------------------

fso = new ActiveXObject("Scripting.FileSystemObject");

var f  = fso.GetFolder('d:\\homepage\\page_test\\img'); //À̹ÌÁö Æú´õ ¾Ë¸Â°Ô º¯°æÇϼ¼¿ä. \\ ÀÌ°Å µÎ°Ô ³Ö´Â°Å ÀØÁö ¸¶½Ã±¸¿ä.

ÀÌ ºÎºÐÇÏ°í

arr[cnt-1]="file:///"+path;

ÀÌ ºÎºÐÇÏ°í ¶§¹®ÀÎÁö´Â ¸ð¸£°ÚÁö¸¸, °æ·Î°¡ ÄÄ»ó¿¡ ÀÖÀ» ¶§·Î °¡Á¤Çؼ­ ¸¸µé¾îÁö³×¿ä.

ÀÌ°É À¥»ó¿¡¼­µµ ÀÎ½ÄµÇµÇ·Ï ÇÏ°í ½ÍÀºµ¥,

¾î¶»°Ô ÇØ¾ß µÇ´ÂÁö ±Ã±ÝÇÕ´Ï´Ù.

À¥ÆäÀÌÁö¿¡ ¹è°æÀ̹ÌÁö¸¦ ½Ã°£¿¡ µû¶ó ·£´ýÇÏ°Ô ¹Ù²î°Ô ÇØÁÖ´Â ½ºÅ©¸³Æ®°¡ ÀÖ´ÂÁöµµ ±Ã±ÝÇÕ´Ï´Ù.

¸¹Àº µµ¿ò ºÎŹµå¸®±¸¿ä.

ÁÁÀº ÇÏ·ç µÇ¼¼¿ä.

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
°Ë¹«Ç÷½Å 2009-06-03 18:09:29
´ä±Û

À§ ½ºÅ©¸³Æ®·Î´Â ƯÁ¤ ¼­¹ö¿¡ Àִ ƯÁ¤Æú´õ¿¡ ÀÖ´Â À̹ÌÁöµéÀ» ºÒ·¯¿Í¼­
º¯°æÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù.
¹Ì¸® ¹è¿­·Î À̹ÌÁö °æ·Î¸¦ Á¤ÇصνÅÈÄ¿¡ ÀÛ¾÷Àº °¡´ÉÇÕ´Ï´Ù.

°Ë¹«Ç÷½Å 2009-06-03 18:09:52
´ä±Û

½ºÅ©¸³Æ®·Î ƯÁ¤À¥¿¡ ÀÖ´Â ÆÄÀϸ®½ºÆ®¸¦ º¼¼ö ÀÖ´Ù¸é ½É°¢ÇÑ º¸¾ÈÀ§ÇèÀÌ µÇ°ÚÁÒ?; ±×·¡¼­ À§ ½ºÅ©¸³Æ®·Î´Â ºÒ°¡´ÉÇÏ´ä´Ï´Ù.

°Ë¹«Ç÷½Å 2009-06-03 18:11:18
´ä±Û

°á·Ð : À¥¿¡¼­ ÀÛµ¿µÇµµ·Ï ÀÚ¹Ù½ºÅ©¸³Æ®¸¦ º¯ÇüÇؼ­ »ç¿ëÇÏ½Ã¸é µÇ°Ú½À´Ï´Ù.
º¯°æÀÛ¾÷½Ã À̹ÌÁöÆÄÀϸíµéÀ» ¹Ì¸® ¹è¿­¿¡ ´ã¾Æ ÇØ´ç À̹ÌÁö¸¦ ¹è°æÀ̹ÌÁö·Î
º¯°æÀÌ µÇµµ·Ï ÇØÁÖ½Ã¸é µË´Ï´Ù.

°Ë¹«Ç÷½Å 2009-06-03 18:11:47
´ä±Û

ÀÛ¾÷Çغ¸½Ã°í Àß ¾ÈµÇ½Ã¸é ±Û ¿Ã·ÁÁÖ¼¼¿ä.
°£´ÜÇÏ°Ô Çϳª ¸¸µé¾îµå¸±²²¿ä.

dreamct00 2009-06-11 10:58:12
´ä±Û

±×·¸±º¿ä.. ÀÚ¹Ù ½ºÅ©¸³Æ®´Â °ÅÀÇ ¸ô¶ó¼­¿ä Á˼ÛÇÏÁö¸¸ °£´ÜÇÏ°Ô ½ºÅ©¸³Æ®¸¦ Çϳª ¸¸µé¾î ÁÖ½Ç ¼ö ÀÖÀ¸½ÅÁö
ÆäÀÌÁö ¹è°æÀ̹ÌÁö°¡ ½Ã°£¿¡ µû¶ó ·£´ýÇÏ°Ô º¯Çϴ°ſä

dreamct00 2009-06-11 10:58:20
´ä±Û

¹ø°Å·Ó°Ô Çصå·Á¼­ Á˼ÛÇϱ¸¿ä. ÁÁÀº ÇÏ·ç µÇ½Ã±â ¹Ù¶ø´Ï´Ù.
Á¦ ¸á ³²°Ü ³õ°Ú½À´Ï´Ù.
dreamct00@naver.com

ÀÌÀü°Ô½Ã±Û °¡±¸ ¹èÄ¡ ½Ã¹Ä·¹ÀÌÅÍ Áú¹®¢¾ 2009-06-01 15:56:44
´ÙÀ½°Ô½Ã±Û ȨÆäÀÌÁö ÀÌÀü db Á¢¼Ó ¹æ¹ý 2009-06-03 09:46:42