Name
Clickable —
objAdRot
.Clickable =
blnClickable
Synopsis
Sets or returns whether the ad graphic represents a clickable image that will redirect the client to a URL for the ad's home page.
Parameters
-
blnClickable A Boolean value that determines whether the ad graphic, when clicked, will transport the user to the homepage of the ad. The default value is
True.
Example
<%
' The following code creates an Ad Rotator object and
' sets its Clickable property to False. This makes the
' ad a standalone image that is not clickable by the
' client.
Dim objAdRot
Set objAdRot = Server.CreateObject("MSWC.AdRotator")
objAdRot.Clickable = False
%>Notes
If the Clickable property is set to True, you must
have a URL set for this ad in the rotator schedule file or you must
use a redirection file with a default URL. If the Clickable property
is set to False for the component, the ad's
URL in the rotator schedule file will be ignored.
In addition to this example, see the full example at the end of this chapter.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access