메인창에 자동팝업창 띄우는방법좀 알려주세요? 정보
메인창에 자동팝업창 띄우는방법좀 알려주세요?본문
해당사이트는 www.hwasumok.kr 이며, 그누보드로 작업되어 있습니다.
index.php 파일에 팝업창 소스를 넣으려고 하는데.. "</head>"가 없어 팝업창 소스를 위에 넣지도
못하고 아무데나 넣으니 <액세스 거부>가 발생 합니다.
팝업창 파일은 popup.php 별도로 만들어 놓았습니다.
고수님들의 조언 부탁드립니다.
고수님들의 조언 부탁드립니다.
------ 아래 index.php 파일 소스태그 올립니다.------
<?
define("_INDEX_", TRUE); // index 파일
define("_INDEX_", TRUE); // index 파일
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
include_once("./_head.php");
?>
<!-- 메인화면 시작 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="300" height="90"><a href="<?=$g4['path']?>/page/menu5.php"><img src="img/specialfood.jpg" width="241" height="80" border="0" /></a></td>
<td width="91"><a href="<?=$g4['path']?>/page/gallery.php"><img src="img/gallery.jpg" width="81" height="80" /></a></td>
<td>
<script type="text/javascript">
doc_write(flash_movie("<?=$g4[path]?>/flash/index_roll.swf", "indexroll", "230", "80", "transparent"));
</script>
</td>
<td width="280" align="right"><a href="<?=$g4['path']?>/page/about2.php"><img src="img/ban.jpg" width="261" height="80" border="0" /></a></td>
</tr>
</table>
<!-- 메인화면 끝 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="300" height="90"><a href="<?=$g4['path']?>/page/menu5.php"><img src="img/specialfood.jpg" width="241" height="80" border="0" /></a></td>
<td width="91"><a href="<?=$g4['path']?>/page/gallery.php"><img src="img/gallery.jpg" width="81" height="80" /></a></td>
<td>
<script type="text/javascript">
doc_write(flash_movie("<?=$g4[path]?>/flash/index_roll.swf", "indexroll", "230", "80", "transparent"));
</script>
</td>
<td width="280" align="right"><a href="<?=$g4['path']?>/page/about2.php"><img src="img/ban.jpg" width="261" height="80" border="0" /></a></td>
</tr>
</table>
<!-- 메인화면 끝 -->
<?
include_once("./_tail.php");
?>
include_once("./_tail.php");
?>
추천
0
0
댓글 1개
뭐 .. 팝업이라하면 저같은 경우는 이렇게합니다만.
<style>
/* Popup Source */
.popup {
position : absolute;
z-index : 팝업의 우선순위;
width : 넓이;
heigh t :높이
}
</style>
<div class="popup" style="margin-top:팝업의 위치값 위로부터 몇; margin-left: 옆으로부터 몇">
<? include ("./popup.php");?>
</div>
뭐이렇게요 하면되겟네요 ㅎㅎ^^ 도움됫나요
</div>
<style>
/* Popup Source */
.popup {
position : absolute;
z-index : 팝업의 우선순위;
width : 넓이;
heigh t :높이
}
</style>
<div class="popup" style="margin-top:팝업의 위치값 위로부터 몇; margin-left: 옆으로부터 몇">
<? include ("./popup.php");?>
</div>
뭐이렇게요 하면되겟네요 ㅎㅎ^^ 도움됫나요
</div>