广告联盟网

标题: 付费求代码!随机跳转的代码。 [打印本页]

作者: 岳贵    时间: 2007-7-15
标题: 付费求代码!随机跳转的代码。
求个代码!随机跳转的代码~<br /><br /><br />访问index.html<br /><br />可以跳转到 2.htm 或者 3.htm<br /><br />找半天没找到<br /><br />10元求<img src="images/smilies/wink.gif" smilieid="4" border="0" alt="" />
作者: nengdo    时间: 2007-7-15
<img src="http://www.live30.cn/tt.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.live30.cn/tt.gif');}" onmousewheel="return imgzoom(this);" alt="" /><br /><br /><br /><img src="images/smilies/ohh.gif" smilieid="19" border="0" alt="" /> <img src="images/smilies/ohh.gif" smilieid="19" border="0" alt="" />
作者: MJJ就MJJ吧    时间: 2007-7-15
弄个随即数就行了!!!!!!!!!!
作者: czyes    时间: 2007-7-15
我好像有。。<img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" /> <img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" />
作者: susanla    时间: 2007-7-15
<img src="http://img.phpwind.net/attachout/Mon_0707/76_895942_ee4643fab1c6a9b.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://img.phpwind.net/attachout/Mon_0707/76_895942_ee4643fab1c6a9b.jpg');}" onmousewheel="return imgzoom(this);" alt="" /><br />敢盗用偶的!<img src="images/smilies/cool.gif" smilieid="5" border="0" alt="" />
作者: 化聊仙    时间: 2007-7-15
asp代码就有<br />&lt;%<br />Randomize()<br />count=Int((5-1+1)*Rnd())+1<br />if count=4 then<br />Response.Redirect (&quot;http://&quot;)<br />else <br />Response.Redirect (&quot;http://&quot;)<br />end if<br />%&gt;
作者: robots    时间: 2007-7-15
&lt;% <br />randomize<br />Num=(int(rnd()*3)+1)<br />Select Case Num<br />case 1<br />response.redirect(&quot;ad1.htm&quot;)<br />case 2<br />response.redirect(&quot;ad2.htm&quot;)<br />end select<br />'response.write num<br />%&gt;
作者: 网鬼    时间: 2007-7-15
这个实现应该不难!<br />用js!
作者: 风之诺    时间: 2007-7-15
rand ?
作者: 化聊仙    时间: 2007-7-15
付款付款
作者: 岳贵    时间: 2007-7-15
是HTML 变,不是ASP,PHP ,那个我有。<br /><br />好象只有JS可以实现
作者: l12ab    时间: 2007-7-15
来晚了
作者: tanweihai    时间: 2007-7-15
脚本说明:<br />把如下代码加入&lt;body&gt;区域中<br><br><div class="msgbody"><div class="msgheader"><div class="right"><a href="###" class="smalltxt" onclick="copycode($('code0'));">[Copy to clipboard]</a> <a class="smalltxt" href="###" onclick="toggle_collapse('code0');">[ <span id="code0_symbol">-</span> ]</a></div>CODE:</div><div class="msgborder" id="code0">&lt;script language=&quot;JavaScript&quot;&gt;<br />&lt;!--Hide from non JavaScript browsers<br />an = 3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;//跳转目标页面个数<br />var ran = Math.random();<br />var talet = Math.round(ran * (an-1))+1;<br />function create() {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;this.src = ''<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<br />}<br /><br />b = new Array()<br />for(var i=1; i&lt;=an; i++) { b = new create() }<br /><br />b[1].src&nbsp; &nbsp; = &quot;http://www.xxx.com/index1.html&quot;<br />b[2].src&nbsp; &nbsp; = &quot;http://www.xxx.com/index2.html&quot;<br />b[3].src&nbsp; &nbsp; = &quot;http://www.xxx.com/index3.html&quot;<br />var vis = &quot;&quot;;<br />vis += b[talet].src;<br />//--&gt;<br />&lt;/script&gt;<br />&lt;script language=&quot;JavaScript&quot;&gt;<br />&lt;!--<br />setTimeout(&quot;document.location=b[talet].src&quot;,10); <br />//--&gt;<br />&lt;/script&gt;</div></div><br>欢迎支付到支付宝&nbsp; &nbsp;&nbsp;&nbsp;<img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" /> <img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" /> <img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" /><br /><br />[<i> 本帖最后由 tanweihai 于 2007-7-15 18:52 编辑 </i>]
作者: 岳贵    时间: 2007-7-15
搞了,好象不转,是直接放在HTML 里面,还是要搞个JS啊<br /><br />HTML 是空白页面,里面什么都没
作者: tanweihai    时间: 2007-7-15
直接放在HTML 里面<br><br><div class="msgbody"><div class="msgheader"><div class="right"><a href="###" class="smalltxt" onclick="copycode($('code1'));">[Copy to clipboard]</a> <a class="smalltxt" href="###" onclick="toggle_collapse('code1');">[ <span id="code1_symbol">-</span> ]</a></div>CODE:</div><div class="msgborder" id="code1">&lt;html&gt;<br />&lt;body&gt;<br />&lt;script language=&quot;JavaScript&quot;&gt;<br />&lt;!--Hide from non JavaScript browsers<br />an = 3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;//跳转目标页面个数<br />var ran = Math.random();<br />var talet = Math.round(ran * (an-1))+1;<br />function create() {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;this.src = ''<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<br />}<br /><br />b = new Array()<br />for(var i=1; i&lt;=an; i++) { b = new create() }<br /><br />b[1].src&nbsp; &nbsp; = &quot;http://www.xxx.com/index1.html&quot;<br />b[2].src&nbsp; &nbsp; = &quot;http://www.xxx.com/index2.html&quot;<br />b[3].src&nbsp; &nbsp; = &quot;http://www.xxx.com/index3.html&quot;<br />var vis = &quot;&quot;;<br />vis += b[talet].src;<br />//--&gt;<br />&lt;/script&gt;<br />&lt;script language=&quot;JavaScript&quot;&gt;<br />&lt;!--<br />setTimeout(&quot;document.location=b[talet].src&quot;,10); <br />//--&gt;<br />&lt;/script&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;</div></div><br>
作者: 岳贵    时间: 2007-7-15
好了,用起了,已经支付<br /><br />即时到账付款成功!<br /> <br />您的付款金额为:10.00元。对方 XXX 将立即收到您的此笔付款。
作者: tanweihai    时间: 2007-7-15
收到了&nbsp; &nbsp;谢谢拉&nbsp;&nbsp;<img src="images/smilies/ohh.gif" smilieid="19" border="0" alt="" /> <img src="images/smilies/ohh.gif" smilieid="19" border="0" alt="" />
作者: xiaozeng    时间: 2007-7-15
收到,谢谢..我说的是代码.呵呵




欢迎光临 广告联盟网 (https://ggads.com/) Powered by Discuz! X3.2