 |
| ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

October 16th, 2003, 11:24 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Advertisement popups
Hello,
I was wondering if it is possible, or if anybody can get me in a right start, to program those avertisements that pop up on a web page in .NET. I thought maybe you could use the drawing library or the GDI+ library to do it, but I'm not familiar with the graphics libraries.
Thanks,
Brian Mains
__________________
Brian
|
|

October 17th, 2003, 12:42 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
What exactly are you trying to do? If you want popups, all you need is to send some JavaScript to the browser that request a new page with an ad in a new window.
Why do you think you need the GDI+ Library?
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

October 17th, 2003, 02:17 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
I'm not talking a new window, I'm talking the advertisements that pop up right on the page itself. Like yahoo does where something goes accross the screen, or some advertisement pops up.
|
|

October 17th, 2003, 02:28 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Well, that's basically the same. Using ASP.NET does not add .NET capabilities to the end results of your pages. In the end, all you're sending from the server to the client is HTML, JavaScript, images etc. No fancy stuff like GDI+ can be done directly in the browser.
Take a look at the pages that have these behaviors. Yahoo is a good example, and so is Amazon. If you look at the source, you'll see some DHTML techniques, basically a mix of HTML elements and JavaScript. All this can be done by sending client-side JavaScript to the browser.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

October 19th, 2003, 03:22 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
OK, thank you Imar.
|
|

October 20th, 2003, 01:00 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Also, the more complicated (and animated) ads are done with flash. Flash can make things fly around in the browser as well.
Peter
|
|
 |