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 21:28pm
Edited 15-Jan-13 21: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 365
1 Nirav Prabtani 252
2 Richard Deeming 215
3 CHill60 170
4 _Amy 145
0 OriginalGriff 8,104
1 Sergey Alexandrovich Kryukov 7,045
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912

Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2014
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