if window.location = 'http://www.xtremetop100.com/dekaron'
{
alert ("Thanks for vote!");
window.location="http://www.dawnofdekaron.info.tm/votenow.php";
setTimeout(' document.location=document.location' ,0);
}
else
{
}
There should be ( ) around window.location = 'http://www.xtremetop100.com/dekaron'
and { in front of the if with another } at the end.
Can u post original how that must look thanks for reply ![]()
if window.location = 'http://www.xtremetop100.com/dekaron'
{
alert ("Thanks for vote!");
window.location="http://www.dawnofdekaron.info.tm/votenow.php";
setTimeout(' document.location=document.location' ,0);
}
else
{
}
{if
(window.location = 'file:///C:/Users/jon/Desktop/Untitled-3.html#')
{
alert ("Thanks for vote!");
window.location="http://www.google.com";
setTimeout('document.location=document.location' ,0);
}
else
{
}}
EDIT: Obviously I used some of my own links, you would put yours back in.
I figured the code posted wasn't complete, that it was likely part of a function that he didn't write for whatever reason. something like:
<script type="text/javascript">
function ClickAlert()
{if
(window.location = 'http://www.xtremetop100.com/dekaron')
{
alert ("Thanks for vote!");
window.location="http://www.dawnofdekaron.info.tm/votenow.php"
setTimeout('document.location=document.location' ,0);
}
else
{
}}
</script>
North America
Europe, Middle East and Africa
Asia Pacific