Forum

 

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
A few questions
22 April, 2009
5:26 am
David Blowes
Enthusiast
Forum Posts: 18
Member Since:
5 March, 2009
Offline

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…

22 April, 2009
10:33 am
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

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.

23 April, 2009
2:30 am
David Blowes
Enthusiast
Forum Posts: 18
Member Since:
5 March, 2009
Offline

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)

23 April, 2009
3:13 am
David Blowes
Enthusiast
Forum Posts: 18
Member Since:
5 March, 2009
Offline

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)

23 April, 2009
3:16 am
David Blowes
Enthusiast
Forum Posts: 18
Member Since:
5 March, 2009
Offline

You can see it in action here:

http://www.matthias.org.au/ser…..ermon_id=2

24 April, 2009
4:18 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

Looks good!

Forum Timezone: Europe/London

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)

 

Comments are closed.