广告联盟网

标题: 请教关于JS调用 [打印本页]

作者: Drёω    时间: 2007-7-18
标题: 请教关于JS调用
网站数据过多换代码都用再生成一次静态太累了。<br />想用JS调用GG。我直接用转化的工具转的。<br />有经验的朋友帮我看看这样行不?谢谢!<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">document.writeln(&quot;&lt;script type=\&quot;text\/javascript\&quot;&gt;&lt;!--&quot;);<br />document.writeln(&quot;google_ad_client = \&quot;pub-xxxxxx\&quot;;&quot;);<br />document.writeln(&quot;google_ad_width = 728;&quot;);<br />document.writeln(&quot;google_ad_height = 90;&quot;);<br />document.writeln(&quot;google_ad_format = \&quot;728x90_as\&quot;;&quot;);<br />document.writeln(&quot;google_ad_type = \&quot;text_image\&quot;;&quot;);<br />document.writeln(&quot;google_ad_channel = \&quot;\&quot;;&quot;);<br />document.writeln(&quot;google_color_border = \&quot;FFFFFF\&quot;;&quot;);<br />document.writeln(&quot;google_color_bg = \&quot;FFFFFF\&quot;;&quot;);<br />document.writeln(&quot;google_color_link = \&quot;666666\&quot;;&quot;);<br />document.writeln(&quot;google_color_text = \&quot;333333\&quot;;&quot;);<br />document.writeln(&quot;google_color_url = \&quot;333333\&quot;;&quot;);<br />document.writeln(&quot;\/\/--&gt;&quot;);<br />document.writeln(&quot;&lt;\/script&gt;&quot;);<br />document.writeln(&quot;&lt;script type=\&quot;text\/javascript\&quot;&quot;);<br />document.writeln(&quot;&nbsp;&nbsp;src=\&quot;http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\&quot;&gt;&quot;);<br />document.writeln(&quot;&lt;\/script&gt;&quot;);</div></div><br>
作者: tnt2008    时间: 2007-7-18
可以,我就是用JS的
作者: Drёω    时间: 2007-7-18
<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">原帖由 <i>tnt2008</i> 于 2007-7-18 15:34 发表 <a href="http://club.adsenser.org/redirect.php?goto=findpost&amp;pid=263591&amp;ptid=36615" target="_blank"><img src="http://club.adsenser.org/images/common/back.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://club.adsenser.org/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br />可以,我就是用JS的 </div></div><br>tnt2008,我上面转换的代码没错误吧?
作者: tnt2008    时间: 2007-7-18
没问题啊,你不是用工具转的吗!我用的是站长网站提供的转换工具转的,一直在用<br />http://tool.chinaz.com/Trans/Html_Js.asp
作者: ggads    时间: 2007-7-18
是这样的。
作者: Drёω    时间: 2007-7-18
谢谢tnt2008和admin。我的就是用站长站的工具转化的。现在可以安心的用JS调用了。




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