Quantcast
Channel: Digicrafts » PhotoFlip
Viewing all articles
Browse latest Browse all 2

Adding link and link target to item click action

$
0
0

1. Add link in the xml file.

For custom xml

<items id = "items">

<item path = "menu/icon_1.png" width = "128" height = "128" type = "bitmapfile">
<title>Item Title</title>
<description>Item description</description>
<link>URL_TO_YOUR_FILE</link>
<linktarget>_BLANK</linktarget>
</item>

For PhotoShop xml

<image
path = "1.jpg"
width = "350"
height = "350"
thumbpath = "1.jpg"
thumbwidth = "200"
thumbheight = "200">
<meta name = "title"><![CDATA[description]]></meta>
<meta name = "link"><![CDATA[http://www.abc.com]]></meta>
<meta name = "linktarget"><![CDATA[_BLANK]]></meta>
</image>

2.Enable getURL action in component inspector.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images