Before you can display marketing content with
multiple click actions in an e-Marketing Spot, you must add support
for multiple click actions in the e-Marketing Spot JSP file.
About this task
The procedure for adding image map support to an existing
e-Marketing Spot JSP file can differ depending on whether your store
is based on the Aurora or the Madions starter
store model. If you are adding support for existing Madisons starter
store e-Marketing Spot JSP files, see Adding image map support to existing Aurora starter store e-Marketing Spot JSP files
Procedure
- In your file management program, navigate to the directory
that contains the JSP file for your e-Marketing Spot.
where
store_dir is the directory name for
your store.
- Locate the JSP file for the e-Marketing Spot that you want
to update to support multiple click actions.
For example, ContentAreaESpot.jsp.
Open the file for editing.
- Navigate to the samples directory that contains the sample WebServiceeMarketingSpotDisplay.jsp file.
This file contains sample code that supports the use of multiple click
actions in marketing content. Open this file to view its contents.
- In the WebServiceeMarketingSpotDisplay.jsp file,
locate the sections of code that begins with the following lines of
code:
<%-- BEGIN Marketing Content Image Map--%>
And ends with the following lines of code:
<%-- END Marketing Content Image Map --%>
- Copy and paste the code between the preceding sections
of code in the corresponding locations in your e-Marketing Spot JSP
file. This code adds support for the use of multiple click actions
in the form of an image map in your e-Marketing Spot. Modify the code
to match the requirements for your e-Marketing Spot.
For
example, to add this support to the
ContentAreaESpot.jsp file,
add the code before the following line of code:
<c:if test="${!empty marketingSpotData.marketingContent.url}">
- Save and close your file.
Results
You have added support for image maps to your e-Marketing
Spot JSP files.