yes, i could here what i can find from it
if its not appropriate then i'll remove
The pages source i can find
what?
yes, i could here what i can find from it
if its not appropriate then i'll remove
The pages source i can find
<script type="text/javascript" src="popup.js"></script>
<body onLoad = "popup_show('popup', 'popup_drag', 'popup_exit', 'screen-center', 0, 0);" />
<!-- Popup Window -->
<div id="popup" style="display: none;">
<div id="popup_drag">
<img id="popup_exit" src="form_exit.png"/>
<embed style="width:560px; height:456px;" id="VideoPlayback" type="application/x-shockwave-flash" src="redirect.swf"> </embed>
</div>
</div>
<!-- END -->
In the javascript, you have to leave it like this:OK thanks but it does not work, it is probably just a mistake made by me because I do not understand javascript well. The page is here so you can check what mistake I have made and tell me: http://www.circuitz4u.com/preview.php
look at the bottom left!
<!-- Put the following code into <head> section -->
<script language="JavaScript1.2">
var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"
var bouncelimit
var direction="up"
var usedropin=1
function PopupMe(){
if (!dom&&!ie&&!ns4){
window.open("video.html", "", "scrollbars=1")}else{
bouncelimit=32 //(must be divisible by 8)
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
crossframe=(dom)?document.getElementById("cframe") : ie? document.all.cframe : document.cframe
crossframe.src="video.html"
if(usedropin){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top-250+calunits}
crossobj.visibility=(dom||ie)? "visible" : "show"
if(usedropin){
dropstart=setInterval("dropin()",50)}}}
function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top){
crossobj.top=parseInt(crossobj.top)+40+calunits
if (parseInt(crossobj.top)>100+scroll_top){crossobj.top=100+scroll_top}}else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)}}
function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)}}
function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"}
function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}
</script>
<body onload="javascript:PopupMe()">
<div id="dropin" style="position:absolute;visibility:hidden;left:100px;top:100px;width:604px;height:500px;background-color:#F5F5F5;border:solid thin #cccccc">
<div align="right" style="background-color:navy"><a href="#" onClick="dismissbox();return false"><FONT COLOR="#FFFFFF">[X]</FONT></a></div>
<IFRAME ID="cframe" SRC="" width=600 height=500 FRAMEBORDER=0></IFRAME></div>
I would say that since the video continues to play after it slides off to the right, just add a stop(); in the slide in flash. That would solve that problem too.