English > Scripts and Templates
Export template: HTML List (English + German)
svenne:
...and some kind of minor update... ;-)
- the active movie link always lost focus after rearranging/filtering the list. That was a little bit annoying so I changed it.
- added some descent artwork
svenne:
- added: search function
- bug fix: two coding issues handicapped speculative parsing by the browser
The search function does a full text search. It crawls through each and every movie page in the list (but only through visible entries), which means it is quite slow. Especially when running online (in that case it might take about 30 seconds for 100 movies). Do you like it nevertheless? What do you think? Should I take it out again or keep it?
I added a cache for this function. So if you search a second time (and it doesn't matter if it's for a different search phrase, of course) it will be a lot faster... The cache will persist unless you do a full reload in your browser.
OOmatrixOO:
Thanks for this update. Works good for me and i like the search function.
OOmatrixOO:
Hello.
Can i somehow disconnect the URLs that they are clickable?
I have 2 URLs per movie. When you export is it one URL but then it is not usable.
URL Code:
--- Code: ---<h3 class="cat">URL</h3>
<div class="descr"><span class="info2">URL:</span> <a href="{%value=url}"> {%value=url}</a></div>
--- End code ---
mgpw4me:
You can insert some Javascript into the template.
The following code supports 1 or more urls, separated by one or more spaces. Tested in Firefox.
--- Code: ---<h3 class="cat">URL</h3>
<div class="descr"><span class="info2">URL:</span>
<Script>
var url = '{%value=url}';
var urls = url.split(" ");
for (i in urls)
if (urls[i].length > 1)
document.write(' <a href="' + urls[i] + '">' + urls[i] + '</a> ' );
</Script>
</div>
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version