Click here to Skip to main content
Rate this: bad
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 22:28pm
Edited 15-Jan-13 22:30pm
Rate this: bad
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.
Nguyễn Minh Phúc at 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
Please Sign up or sign in to vote.

Solution 2

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()
    {"http://mywebsite/adv.aspx", "adv_win", "height=200px,width=200px");

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

  Print Answers RSS
0 OriginalGriff 650
1 Maciej Los 525
2 Suvendu Shekhar Giri 229
3 Sascha Lefévre 229
4 Richard Deeming 195
0 Sergey Alexandrovich Kryukov 9,693
1 OriginalGriff 9,185
2 Peter Leow 5,112
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,876

Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2015
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