将广告插入其他网站 [英] Insert an advertisment into others website
本文介绍了将广告插入其他网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我通过ASPX ex设计了一个网页:http://mywebsite/adv.aspx。这是一个广告页面。现在我想通过左下角的弹出窗口显示到其他网站,网站可能是PHP,JSP,ASPX,...如果有任何人从这个网站点击弹出窗口,它将转到http:// mywebsite /adv.aspx并将此页面的路径保存在数据库中以便报告。
我该怎么办?
解决方案
没有抱歉。
不要认为有任何合法的方法。
与...网站的所有者并支付/请求他托管您的添加。
Okyeee ...
假设他同意展示你的副词在他的网站上,然后他/你可以写下面的代码来显示你的弹出窗口...
< script type = text / javascript >
window.onload = function( )
{
window.open( http://mywebsite/adv.aspx, adv_win, height = 200px,width = 200px);
}
< / script > 跨度>
Hi all,
I designed a web page via ASPX ex: http://mywebsite/adv.aspx. It is an ads page. Now I want to show it into others website via a popup on the bottom-left corner, the website may be PHP, JSP, ASPX, ... If anyone from this website click on popup, it will go to http://mywebsite/adv.aspx and save the path of this page in database to report after.
How can i do it?
解决方案
Nope sorry.
Don''t think there are any legal ways of doing that.
Talk to the owner of the site and pay / request him to host your add.
Okyeee...
Suppose he agrees to show your adv. on his site, then he/you can write the following code to show your popup...
<script type="text/javascript"> window.onload = function() { window.open("http://mywebsite/adv.aspx", "adv_win", "height=200px,width=200px"); } </script>
这篇关于将广告插入其他网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文