Does that make sense? [linksBegin] could remain as the way to export all your links with the same bit of code, like it is now. So it would be backward compatible.

Thanks for always listening, appreciate it.

Code: Select all
<div ref="[link:type]"><a href="[link:url]">[link:name]</a></div>
Code: Select all
function removeUnwantedLinks() {
links = document.getElementsByTagName('div');
for (indexX in links) {
nextLink = links[indexX];
if (nextLink.ref != 'Wallpaper') {
nextLink.style.visibility = 'hidden';
}
}
}
<body onload="removeUnwantedLinks()">
Code: Select all
Wallpaper example code:
Export code: <!--IFlinks [linksBegin:"Wallpaper"]<div id="wallpaper">
<a href="[link:url]"><img src="http://static.wallpaper.com/images/thumbs/[link:name].jpg" alt="[link:name]"/></a>
<h2 class="title"><a href="[link:url]">[link:name]</a></h2>
<span class="date">[key:dateAdded]</span>
</div>
[linksEnd] ENDlinks-->
Code: Select all
Video example code:
Export code: <!--IFlinks [linksBegin:"Movie"]<div class="full_title">[link:name]</div>
<div class="description">[key:summary]</div>
<div class="date">[key:dateAdded]</div>
<div class="duration">[key:duration]</div>
<div class="rating">[key:rating]</div>
<div class="rated">[key:rated]</div>
<div class="watch_this_video"><a href="[link:url]">Watch [link:name] now</a></div>
[linksEnd] ENDlinks-->
Code: Select all
<!--IFlinks
[linksBegin]
<div ref="[link:type]"><img src="../../images/[link:name].jpg" border="0"/></div>< br/>
<br>
[linksEnd]
ENDlinks-->
Code: Select all
function toogle(visibleLayer)
{
if (document.getElementById(visibleLayer).style.display == "none") {
document.getElementById(visibleLayer).style.display = "";
document.getElementById(visibleLayer + "Show").style.display = "none";
}
else {
document.getElementById(visibleLayer).style.display = "none";
document.getElementById(visibleLayer + "Show").style.display = "";
}
}
function removeUnwantedLinks() {
links = document.getElementsByTagName('div');
for (indexX in links) {
nextLink = links[indexX];
if (nextLink.ref != 'Image') {
nextLink.style.visibility = 'hidden';
}
}
}
<body onload="removeUnwantedLinks()">
Code: Select all
<!--IFlinks
[linksBegin]
<br>
<div class="links" ref="[link:type]"><img src="../../images/[link:name].jpg" border="0"/></div>
[linksEnd]
ENDlinks-->
Code: Select all
<!--BeginRepeat-->
<title>[key:title]</title>
</head>
<body onload="removeUnwantedLinks()">
Check your PM.noisyscott wrote:Sorry to bump such an old thread