Topic RSS
Mark,
Thanks so much for this plugin, it's ideal for us!
The only question I have so far is:
*) On the site http://www.bethel-clydach.co.uk/sermons/ there is a link up the top to "show/hide" the filters. I want to do this, but with the Notes section of an individual sermon. I want to include a transcript of the sermon there, however I'm aware that this will be quite a large amount of text, hence want to start with it hidden… Any ideas? My amateur searches in the plugin files haven't turned anything up…
That's not a bad idea. If you were to have a go yourself, you should be looking at the javascript one the html page (search for jquery). The effect is done with about six lines of javascript. It would be relatively easy to add that to the description (and possibly the Scripture text, too). If you don't do it yourself, I'll consider it for a future version.
Hi,
Thanks for the help. I'm looking into it, but (being the noob javascript coder I am) I can't actually find where to modify the javascript calls for the page… I presume it's not something I edit in the templates, where do I need to put the javascript in? ( I assume that the html does go as usual into the template)
I finally just put it all into the template … Not particularly pretty, but it works!
The code is:
<script type="text/javascript"> jQuery(document).ready(function() { var notes_visible = false; jQuery("#mainnotes").hide(); jQuery("#show_hide_notes").text("[ Show Preacher's Notes ]"); jQuery("#show_hide_notes").click(function() { jQuery("#mainnotes:visible").slideUp("slow"); jQuery("#mainnotes:hidden").slideDown("slow"); if (notes_visible) { jQuery("#show_hide_notes").text("[ Show Preacher's Notes ]"); notes_visible = false; } else { jQuery("#show_hide_notes").text("[ Hide Preacher's Notes ]"); notes_visible = true; } return false; }); }); </script>
(and the you need the <div id="mainnotes"></div> around the text, and <a href="#" id="show_hide_notes"></a> where you want the link to be)
Most Users Ever Online: 40
Currently Online: Rich Brown, 0be1
17 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
malpan - 2453
jogen - 2440
VanWatterson - 652
GeraldSebring - 364
LucasWoltman - 362
RandellFeenstra - 362
Member Stats:
There have been 7 guest posters
There are 1937 members
There are 1 moderators
There are 1 admins
Forum Stats:
Groups: 1
Forums: 2
Topics: 973
Posts: 3782
Newest Members: damianv, twinton, ellison13579, Daigh, mchunful, jesua
Moderators: Ben Miller (383 )
Administrators: Mark Barnes (425)
Log In
Register
Home
Offline


