-
Dec 15th, 2013, 09:07 PM
#1
Thread Starter
Fanatic Member
Open page in blank
Hello,
How to make this code, when i click on the button Vote to open the page link in _blank ?
<script language="Javascript" type="text/javascript">seconds=5</script><script language="Javascript" type="text/javascript">
seconds2 = seconds*1000
var c=seconds
var t
function timedMsg(){
var t=setTimeout("clearTimeout(t); document.getElementById(\'register_time\').innerHTML = \'<input class=\"input\" type=\"submit\" name=\"Submit\" value=\"Vote\" onClick=\"return check_form()\">\'",seconds2)
}
var milisec=0
var seconds=seconds
function display(){
if (milisec<=0){
milisec=9
seconds-=1
}
if (seconds<=-1){
milisec=0
seconds+=1
}
else
milisec-=1
document.getElementById("count_time").value=seconds+"."+milisec
setTimeout("display()",100)
}
</script>
-
Dec 15th, 2013, 09:22 PM
#2
Thread Starter
Fanatic Member
Re: Open page in blank
ahh my mistake, it doesnt read www. only http:// and open in new self but clean link my mistake
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|