Cypriano

7 września, 2008

KeyNav – wtyczka do Zenphoto

Filed under: Projekty — Cypriano 2008-09-07 @ 21:22 Modified: 2009-07-22 o 10:54
Tagi: , , ,

Plugin do galerii Zenphoto, dodający funkcję przeglądania zdjęć za pomocą klawiszy < i >.

Po zainstalowaniu, do wszystkich pól <input type=”text” />, a także pól <textarea> w pliku image.php aktywnego tematu, należy dodać następujący kod:
onfocus="unlocked=false;" onblur="unlocked=true;"
co będzie wyglądało np. tak
<input type="text" id="name" name="name" size="20" value="<?php echo $stored['name'];?>" class="inputbox" onfocus="unlocked=false;" onblur="unlocked=true;" />

Pobierz keynav-v.0.9.0


KeyNav is a Zenphoto plugin that enables images navigation with use of < and > keys.

After plugin installation modify all  <input type=”text” />, and  <textarea> fields in your current theme’s imge.php file. Add the following code:
onfocus="unlocked=false;" onblur="unlocked=true;"
so the final result for input element will be (example):
<input type="text" id="name" name="name" size="20" value="<?php echo $stored['name'];?>" class="inputbox" onfocus="unlocked=false;" onblur="unlocked=true;" />

Download keynav-v.0.9.0

Popularity: 13% [?]

Brak komentarzy »

Brak komentarzy.

Kanał RSS z komentarzami do tego wpisu. TrackBack URL

Dodaj komentarz

Powered by WordPress