Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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?
Posted
Updated 15-Jan-13 21:30pm
v2
Comments
[no name] 16-Jan-13 3:32am    
Yes You can do that by assigning the path to an asp control (in C#) and set the path for the website.

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.
 
Share this answer
 
Comments
Nguyễn Minh Phúc 16-Jan-13 3:34am    
Certainly, I will pay/request him first then he will insert my code (may be a javascript code) into his website to show popup. Can anyone guide me to do that?
Okyeee...

Suppose he agrees to show your adv. on his site, then he/you can write the following code to show your popup...

JavaScript
<script type="text/javascript">
    window.onload = function()
    {
         window.open("http://mywebsite/adv.aspx", "adv_win", "height=200px,width=200px");
    }
</script>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900