카테고리:여보세요? 조회 : 111
재미가... 없겠죠..^^;;
재미가 있어야 답변을 주신다고 했는데.. 재미없어서 죄송..
그래도 혹시 몰라 도움의 손길을 기다려봅니다.
PHP스쿨에 올렸는데.. 답변이 하나도 달리지 않더군요..ㅠㅠ
질문내용은..
움직이는 이미지 gif 멈추는 스크립트 관련 질문입니다.
test.html 내용..
test.html 단독 실행에서는 움직이는 gif 이미지가 잘 멈춥니다.
<script type="text/javascript">
// 움직이는 이미지 멈추기..
function animatedImgStatChg(stat)
{
if (stat == "stop")
{
document.execCommand('stop'); // ie7경우
animatedImgStat.innerHTML = "<span><a href=javascript:animatedImgStatChg('reload');><img src='./img/sim_bottom_btn02_1.gif' width='70' height='20' border='0' id='animatedImgStat'></a></span>";
return;
}
else if (stat == "reload")
{
window.location.reload();
}
}
</scrip>
<span id="animatedImgStat">
<a href="javascript:animatedImgStatChg('stop');"><img src="./img/sim_bottom_btn02.gif" width="70" height="20" border="0"></a>
</span>
하지만 b.html에 test.html을 iframe 삽입시에는 이미지가 멈추질 않네요..ㅠㅠ
<iframe src="test.html" frameborder="0" marginwidth="0" marginheight="0" width="720px" height="2400px" scrolling="no" name="auGallery"></iframe>
옥션은 iframe 안의 이미지도 멈추던데..
예를 들면 http://stores.auction.co.kr/Front/Store.aspx?StoreNo=1000059742
이페이에서.. 우측 하단 이미지 고정 클릭시 모든 이미지가 멈춥니다.
스크립트 소스는 http://script.auction.co.kr/common/uwing_fuction.js
uwing_fuction.js의..
Class AniGif - Gif image stop function 정의 이부분부터인데 봐도 모르겠더라구요.
p.s 답변을 달아주세요.^^; 질문은 재미 없지만 웃긴얘기 적어봅니다..^0^
친구한테 민토앞에서 보자고 했더니 민병철 토익학원 앞에 서있었다는 얘기..
주유소에 알바하는 남자중에 괜찮은 사람 있어서 눈도장 찍을라고 매일 휘발유 1L씩 사갔는데 어느날 그 동네에 연쇄 방화사건이나서 경찰들이 조사하러 다니는데 그 알바생이 경찰한테 그 여자 말해서 1차 용의자로 지목된거..
p.s 2 에디터가 신기하네요..