Script urls generated reference the Http handler and cause it to load the specified JavaScript to display a given banner. The a=s querystring parameter specifies to load the script code to display the banner.
The following Url loads the next banner in the dotnet category (note that the handler name is configurable):
<script src='/Weblog/wwBanner.ashx?&t=633473068200376000&a=s&c=dotnet' type='text/javascript'> </script>
The following script include loads a specific banner based on the id= parameter passed:
<script src='/WebLog/wwBanner.ashx?id=41231111&t=633473068200376000&a=s' type='text/javascript'> </script>
The above syntax is automatically generated by RenderBanner() or RenderNextBanner() to show banners, so you never need to manually type in these script includes, but rather use:
<%= BannerManager.Current.RenderBanner("1231222") %> <%= BannerManager.Current.RenderNextBanner("dotnet") %>
or similar to embed the banner content.
The following actions are handled:
If an ID parameter is also passed that particualar banner is loaded, otherwise GetNextBanner() is called to retrieve the next banner in the category specified (c parameter) is loaded.