Reply
little help with this code please
Old 02-27-2008, 06:28 AM little help with this code please
Junior Talker

Posts: 3
ive got this little script but need help where vote 1,2,3 buttons is i want to put banners or html code


<html>

<head>
<title>Force Voting Script</title>
<script>
t = 10000;
function timer1(){
setTimeout('adview.submit2.disabled = false' , t)
}

function vote1(){
window.open('http://vote1')
}

t = 10000;
function timer2(){
setTimeout('adview.submit3.disabled = false' , t)
}

function vote2(){
window.open('http://vote2')
}

t = 10000;
function timer3(){
setTimeout('adview.submit5.disabled = false' , t)
}

function vote3(){
window.open('http://vote3')
}

function vote5(){
vote = (unescape(''));
self.location = vote + 'http://download?';
}
</script>
</head>

<body bgcolor="black" text="white" link="lime" vlink="lime" alink="lime">
<p><font face="Impact"><span style="font-size:20pt;">Please </span></font><font face="Impact" color="red"><span style="font-size:20pt;">VOTE</span></font><font face="Impact"><span style="font-size:20pt;"> before Downloading</span></font><HR color=#394146 SIZE=1 width="50%" align="left">
<b><span class="TEXT_main-bold">Click
on &quot;VOTE 1&quot;<font color="#FF0000"><br></font></span></b><font face="Arial, Helvetica, sans-serif" size="2"><input type=button name="submit1" value=" VOTE 1 " onClick="timer1();vote1()" style="font-family: verdana; font-size: 10px; color: #000000">
<br>
</font>
<form name="adview">
<p><font face="Arial, Helvetica, sans-serif" size="2"> </font><b><span class="TEXT_main-bold">Click
on &quot;VOTE 2&quot;<font color="#FF0000"><br></font></span></b><font face="Arial, Helvetica, sans-serif" size="2"><input type=button name="submit2" value=" VOTE 2 " DISABLED onClick="timer2();vote2()" style="font-family: verdana; font-size: 10px; color: #000000">
<br>
</font></p>
<p><font face="Arial, Helvetica, sans-serif" size="2"> </font><b><span class="TEXT_main-bold">Click
on &quot;VOTE 3&quot;<font color="#FF0000"><br></font></span></b><font face="Arial, Helvetica, sans-serif" size="2"><input type=button name="submit3" value=" VOTE 3 " DISABLED onClick="timer3();vote3()" style="font-family: verdana; font-size: 10px; color: #000000">
<br>
</font> <HR color=#394146 SIZE=1 width="50%" align="left">
<p><font face="Arial, Helvetica, sans-serif" size="2">
<input style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: verdana" disabled onClick=vote5() type=button value="DOWNLOAD NOW!" name=submit5>
</font></p>
</form>
</body>

</html>
untimerhost is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-27-2008, 08:57 AM Re: little help with this code please
Average Talker

Posts: 21
Name: Carl
I'm not sure what you're trying to do.

Could you be more descriptive?

Thanks
carlg is offline
Reply With Quote
View Public Profile
 
Old 02-27-2008, 09:13 AM Re: little help with this code please
Junior Talker

Posts: 3
where vote1, button is i want a ad instead off a button same with 2 and 3 so you have to visit my ads or banners before downloading here is the sript in working condition http://your.300mb.us.to/

Last edited by untimerhost : 02-27-2008 at 09:17 AM.
untimerhost is offline
Reply With Quote
View Public Profile
 
Old 02-27-2008, 10:00 AM Re: little help with this code please
Jaryth000's Avatar
Average Talker

Posts: 29
Name: Jaryth
Location: Canada
after a quick google search for "input html image" I think I found exactly what you want, from the first result.

See, the code you have there now for the input is:
HTML Code:
<input type=button name="submit1" value=" VOTE 1 " onClick="timer1();vote1()" style="font-family: verdana; font-size: 10px; color: #000000">
but if you used a 'type' such as 'image' then you could use the src attribute like any image.

For example:

HTML Code:
<input type="image" src="http://www.google.ca/intl/en_ca/images/logo.gif" name="submit1" value=" VOTE 1 " onClick="timer1();vote1()" style="font-family: verdana; font-size: 10px; color: #000000">
Would show the Google Banner as the input.
And thus, an image instead of a button.

Hope that helps.
__________________
http://jaryth.net/ My personal website
-Jaryth (UID590)

Last edited by Jaryth000 : 02-27-2008 at 10:01 AM. Reason: Spelling mistake and adding more.
Jaryth000 is offline
Reply With Quote
View Public Profile Visit Jaryth000's homepage!
 
Old 02-28-2008, 01:55 AM help with coding needed
Junior Talker

Posts: 3
Im looking for a script?
What the script must do is i want for instance whe call the first page index. on the index page must be a ad html or banner ad. When to user clicks on the ad the ad must open in a new window and the index page must redirect to next page.

Can anyone help or is there a script like this

Thanks in advance
actionx
untimerhost is offline
Reply With Quote
View Public Profile
 
Old 02-28-2008, 03:16 AM Re: little help with this code please
chrishirst's Avatar
Super Moderator

Posts: 13,480
Location: Blackpool. UK
[merged threads]
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to little help with this code please
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.29422 seconds with 12 queries