Sha256: 5dffd2d75908f54bebef507d494561e6dcc694fc29ca87143813f60e55dea67a
Contents?: true
Size: 676 Bytes
Versions: 4
Compression:
Stored size: 676 Bytes
Contents
jQuery -> # Some fields should be shown only for blog posts, others only for static content pages if $('input#page_for_blog:checked').length>0 $('#page-short-title').hide() $('#parent-page-title').hide() else $('#page-tag-list').hide() # Toggle fields to be shown when user changes page to/from static content to/from blog post $("input#page_for_blog").change -> if $('input#page_for_blog:checked').length>0 $('#page-short-title').hide(450) $('#parent-page-title').hide(450) $('#page-tag-list').show(450) else $('#page-tag-list').hide(450) $('#page-short-title').show(450) $('#parent-page-title').show(450)
Version data entries
4 entries across 4 versions & 1 rubygems