<html>
<head>
<SCRIPT>
<body style="background-color:#f5f5f5;" onload="bookFav();">
if (!document.getElementById || !document.all) /* object detection to prevent errors */
{alert("Please use your browser menu to bookmark us!");} /* alert for non-supporting browsers */
else {
var el = document.getElementById("bookmark");
myURL = window.location.href; /* gets url of page to bookmark */
myTitle = document.title; /* gets title of page */
el.onClick = addFav(myURL,myTitle); /* this event is supposed to open the bookmark dialog */
}
}
function addFav(aURL,aTitle){
if (document.all) /* is this MSIE? */
{window.external.AddFavorite(aURL,aTitle);} /* if yes then call bookmark dialog for MSIE */
else if(window.sidebar) {window.sidebar.addPanel(aURL,aTitle,"");} /* else call bookmark dialog for NS&FF */
return false;
}
</SCRIPT>
</head>
<body onload="bookFav();">
</body>
</html>
------------
위소스 처럼하면은 확인이 뜨던데 확인누르면은 자동으로 즐겨찾기가 되게 할수 없을까요??
댓글 4개
게시글 목록
| 번호 | 제목 |
|---|---|
| 9434 | |
| 9423 | |
| 9402 | |
| 9399 | |
| 9398 | |
| 9395 | |
| 9390 | |
| 9389 | |
| 9371 | |
| 9369 | |
| 9364 | |
| 9355 | |
| 9352 | |
| 9343 | |
| 9342 | |
| 9336 | |
| 9335 | |
| 9331 | |
| 9323 | |
| 9318 | |
| 9315 | |
| 9312 | |
| 9308 | |
| 9306 | |
| 9305 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기