Click here to Skip to main content
12,401,864 members (56,943 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET Javascript HTML
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 15-Jan-13 21:28pm
Updated 15-Jan-13 21:30pm
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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?
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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>
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100