[pmwiki-users] javascript history button for pmwiki

Hans Bracker design at softflow.co.uk
Mon Sep 10 12:05:35 CDT 2012


Hi John,

try this:
add to config.php:

 Markup('goback', '>block', '/\\(:goback:\\)/',
  '<form><input type="button" value="Go Back" onclick="history.go(-1)" /></form>');

then add your "Go Back" anywhere using this markup directive:
  (:goback:)


Best regards,
Hans   
www.softflow.co.uk




More information about the pmwiki-users mailing list