Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:51:00-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13135 2011-12-20T09:51:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=57881#p57881 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: December 20, 2011, 9:51 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 20th, 2011, 9:51 am


]]>
2011-12-07T01:04:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=55563#p55563 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: December 7, 2011, 1:04 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 7th, 2011, 1:04 am


]]>
2011-11-05T19:26:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=51937#p51937 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: November 5, 2011, 8:26 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — November 5th, 2011, 7:26 pm


]]>
2011-10-29T20:36:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=50033#p50033 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: October 29, 2011, 9:36 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 29th, 2011, 8:36 pm


]]>
2011-10-17T15:40:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=47827#p47827 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: October 17, 2011, 1:40 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 17th, 2011, 3:40 pm


]]>
2011-10-11T14:36:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=46228#p46228 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: October 11, 2011, 12:36 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 11th, 2011, 2:36 pm


]]>
2011-10-03T15:48:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=44358#p44358 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: October 3, 2011, 1:48 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:48 pm


]]>
2011-10-03T03:42:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=43065#p43065 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: October 3, 2011, 1:42 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:42 am


]]>
2011-09-27T05:27:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=41311#p41311 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: September 27, 2011, 3:27 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 27th, 2011, 5:27 am


]]>
2011-09-26T21:04:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=40067#p40067 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: September 26, 2011, 7:04 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 26th, 2011, 9:04 pm


]]>
2011-09-17T17:02:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=38211#p38211 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: September 17, 2011, 3:03 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 17th, 2011, 5:02 pm


]]>
2011-09-14T01:28:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=36790#p36790 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: September 13, 2011, 11:28 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 14th, 2011, 1:28 am


]]>
2011-09-13T12:03:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=35518#p35518 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: September 13, 2011, 10:03 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 13th, 2011, 12:03 pm


]]>
2011-08-15T15:15:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=31629#p31629 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: August 15, 2011, 4:15 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\menu-pages\menu-pages.js /** * Core JavaScript routines for administrative menu pages. * * This is the development version of the code. * Which ultimately produces menu-pages-min.js. * * This file is included with all WordPress® themes/plugins by WebSharks, Inc. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package WebSharks\Menu Pages * @since x.xx */ /* These routines address common layout styles for menu pages. */ jQuery(document).ready (function($) { var $groups = $('div.ws-menu-page-group'); /* Query groups. */ $groups.each (function(index) /* Go through each group, one at a time. */ { var $this = $(this), ins = 'ins+/ins', $group = $this, title = $.trim ($group.attr ('title')); /**/ var $header = $('div class="ws-menu-page-group-header"' + ins + title + '/div'); /**/ $header.css ({'z-index': 100 - index}); /* Stack them sequentially, top to bottom. */ /**/ $header.insertBefore ($group), $group.hide (), $header.click (function() { var $this = $(this), $ins = $('ins', $this), $group = $this.next (); /**/ if ($group.css ('display') === 'none') $this.addClass ('open'), $ins.html ('-'), $group.show (); /**/ else /* Else remove open class and hide this group. */ $this.removeClass ('open'), $ins.html ('+'), $group.hide (); /**/ return false; }); /**/ if ($groups.length 1 && index === 0) /* These are the buttons for showing/hiding all groups. */ { $('div class="ws-menu-page-groups-show"+/div').insertBefore ($header).click (function() { $('div.ws-menu-page-group-header').each (function() { var $this = $(this), $ins = $('ins', $this), $group = $this.next (); /**/ $this.addClass ('open'), $ins.html ('-'), $group.show (); /**/ return; /* Return for uniformity. */ }); /**/ return false; }); /**/ $('div class="ws-menu-page-groups-hide"-/div').insertBefore ($header).click (function() { $('div.ws-menu-page-group-header').each (function() { var $this = $(this), $ins = $('ins', $this), $group = $this.next (); /**/ $this.removeClass ('open'), $ins.html ('+'), $group.hide (); /**/ return; /* Return for uniformity. */ }); /**/ return false; }); } /**/ if ($group.attr ('default-state') === 'open') $header.trigger ('click'); /**/ return; /* Return for uniformity. */ }); /**/ if ($groups.length 1) /* We only apply these special margins when there are multiple groups. */ { $('div.ws-menu-page-group-header:first').css ({'margin-right': '140px'}); $('div.ws-menu-page-group:first').css ({'margin-right': '145px'}); } /**/ $('div.ws-menu-page-r-group-header').click (function() { var $this = $(this), $group = $this.next ('div.ws-menu-page-r-group'); /**/ if ($group.css ('display') === 'none') $('ins', $this).html ('-'), $this.addClass ('open'), $group.show (); /**/ else /* Otherwise, we hide it. */ { $('ins', $this).html ('+'), $this.removeClass ('open'); $group.hide (); } /**/ return false; }); /**/ $('div.ws-menu-page-group-header:first, div.ws-menu-page-r-group-header:first').css ({'margin-top': '0'}); $('div.ws-menu-page-group div.ws-menu-page-section:first-child h3').css ({'margin-top': '0'}); $('div.ws-menu-page-readme div.readme div.section:last-child').css ({'border-bottom-width': '0'}); /**/ $('input.ws-menu-page-media-btn').filter (function() /* Only those that have a rel attribute. */ { return ($(this).attr ('rel')) ? true : false; /* Must have rel targeting an input id. */ })/**/ .click (function() /* Attach click events to media buttons with send_to_editor(). */ { var $this = $(this); /* Record a reference to the media button here. */ /**/ window.send_to_editor = function(html) /* Works with Thickbox. */ { var $inp, $txt, rel = $.trim ($this.attr ('rel')); /**/ if (rel && ($inp = $('input#' + rel)).length 0) /* And input field? */ { var oBg = $inp.css ('background-color'), src = $.trim ($(html).attr ('src')); src = (!src) ? $.trim ($('img', html).attr ('src')) : src; /**/ $inp.val (src), $inp.css ({'background-color': '#FFFFCC'}), setTimeout(function() { $inp.css ({'background-color': oBg}); }, 2000); /**/ tb_remove (); /* Close. */ /**/ return; /* Return for uniformity. */ } else if (rel && ($txt = $('textarea#' + rel)).length 0) /* Textarea? */ { var oBg = $txt.css ('background-color'), src = $.trim ($(html).attr ('src')); src = (!src) ? $.trim ($('img', html).attr ('src')) : src; /**/ $txt.val ($.trim ($txt.val ()) + '\n' + src), $txt.css ({'background-color': '#FFFFCC'}), setTimeout(function() { $txt.css ({'background-color': oBg}); }, 2000); /**/ tb_remove (); /* Close. */ /**/ return; /* Return for uniformity. */ } }; /**/ tb_show('', './media-upload.php?type=image&TB_iframe=true'); /**/ return false; }); /**/ $('form#ws-mlist-form').submit (function() { var errors = ''; /* Intialize string of errors. */ /**/ if (!$.trim ($('input#ws-mlist-fname').val ())) errors += 'First Name missing, please try again.\n\n'; /**/ if (!$.trim ($('input#ws-mlist-lname').val ())) errors += 'Last Name missing, please try again.\n\n'; /**/ if (!$.trim ($('input#ws-mlist-email').val ())) errors += 'Email missing, please try again.\n\n'; /**/ else if (!$('input#ws-mlist-email').val ().match (/^([a-z_~0-9\+\-]+)(((\.?)([a-z_~0-9\+\-]+))*)(@)([a-z0-9]+)(((-*)([a-z0-9]+))*)(((\.)([a-z0-9]+)(((-*)([a-z0-9]+))*))*)(\.)([a-z]{2,6})$/i)) errors += 'Invalid email address, please try again.\n\n'; /**/ if (errors = $.trim (errors)) { alert('— Oops, you missed something: —\n\n' + errors); /**/ return false; } /**/ return true; }); }); [ full view ]s2member\includes\menu-pages\menu-pages.js Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 3:15 pm


]]>
2011-07-11T17:31:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=27798#p27798 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: July 11, 2011, 6:31 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\menu-pages\menu-pages.js /** * Core JavaScript routines for administrative menu pages. * * This is the development version of the code. * Which ultimately produces menu-pages-min.js. * * This file is included with all WordPress® themes/plugins by WebSharks, Inc. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package WebSharks\Menu Pages * @since x.xx */ /* These routines address common layout styles for menu pages. */ jQuery(document).ready (function($) { $('div#ws-mlist-div-header').click (function() { var $this = $(this), $container = $('div#ws-mlist-div-container'); /**/ if ($container.css ('display') === 'none') $('ins', $this).html ('-'), $this.addClass ('open'), $container.show (); /**/ else /* Otherwise, we hide it. */ { $('ins', $this).html ('+'), $this.removeClass ('open'); $container.hide (); } /**/ return false; }); /**/ $('form#ws-mlist-form').submit (function() { var errors = ''; /* Intialize string of errors. */ /**/ if (!$.trim ($('input#ws-mlist-fname').val ())) errors += 'First Name missing, please try again.\n\n'; /**/ if (!$.trim ($('input#ws-mlist-lname').val ())) errors += 'Last Name missing, please try again.\n\n'; /**/ if (!$.trim ($('input#ws-mlist-email').val ())) errors += 'Email missing, please try again.\n\n'; /**/ else if (!$('input#ws-mlist-email').val ().match (/^([a-z_~0-9\+\-]+)(((\.?)([a-z_~0-9\+\-]+))*)(@)([a-z0-9]+)(((-*)([a-z0-9]+))*)(((\.)([a-z0-9]+)(((-*)([a-z0-9]+))*))*)(\.)([a-z]{2,6})$/i)) errors += 'Invalid email address, please try again.\n\n'; /**/ if (errors = $.trim (errors)) { alert('— Oops, you missed something: —\n\n' + errors); /**/ return false; } /**/ return true; }); /**/ var $groups = $('div.ws-menu-page-group'); /* Query groups. */ $groups.each (function(index) /* Go through each group, one at a time. */ { var $this = $(this), ins = 'ins+/ins', $group = $this, title = $.trim ($group.attr ('title')); /**/ var $header = $('div class="ws-menu-page-group-header"' + ins + title + '/div'); /**/ $header.css ({'z-index': 100 - index}); /* Stack them sequentially, top to bottom. */ /**/ $header.insertBefore ($group), $group.hide (), $header.click (function() { var $this = $(this), $ins = $('ins', $this), $group = $this.next (); /**/ if ($group.css ('display') === 'none') $this.addClass ('open'), $ins.html ('-'), $group.show (); /**/ else /* Else remove open class and hide this group. */ $this.removeClass ('open'), $ins.html ('+'), $group.hide (); /**/ return false; }); /**/ if ($groups.length 1 && index === 0) /* These are the buttons for showing/hiding all groups. */ { $('div class="ws-menu-page-groups-show"+/div').insertBefore ($header).click (function() { $('div.ws-menu-page-group-header').each (function() { var $this = $(this), $ins = $('ins', $this), $group = $this.next (); /**/ $this.addClass ('open'), $ins.html ('-'), $group.show (); /**/ return; /* Return for uniformity. */ }); /**/ return false; }); /**/ $('div class="ws-menu-page-groups-hide"-/div').insertBefore ($header).click (function() { $('div.ws-menu-page-group-header').each (function() { var $this = $(this), $ins = $('ins', $this), $group = $this.next (); /**/ $this.removeClass ('open'), $ins.html ('+'), $group.hide (); /**/ return; /* Return for uniformity. */ }); /**/ return false; }); } /**/ if ($group.attr ('default-state') === 'open') $header.trigger ('click'); /**/ return; /* Return for uniformity. */ }); /**/ $('div.ws-menu-page-section:first h3').css ({'margin-top': '0'}); $('div.ws-menu-page-group-header:first').css ({'margin-top': '0'}); $('div.ws-menu-page-hr:first').css ({'margin-top': '10px', 'margin-bottom': '20px'}); $('div.ws-menu-page-group div.ws-menu-page-section:first-child h3').css ({'margin-top': '0'}); /**/ if ($groups.length 1) /* We only apply these special margins when there are multiple groups. */ { $('div.ws-menu-page-group-header:first').css ({'margin-right': '140px'}); $('div.ws-menu-page-group:first').css ({'margin-right': '145px'}); } /**/ $('div.ws-menu-page-readme div.readme div.section:last-child').css ({'border-bottom-width': '0'}); /**/ $('input.ws-menu-page-media-btn').filter (function() /* Only those that have a rel attribute. */ { return($(this).attr ('rel')) ? true : false; /* Must have rel targeting an input id. */ })/**/ .click (function() /* Attach click events to media buttons with send_to_editor(). */ { var $this = $(this); /* Record a reference to the media button here. */ /**/ window.send_to_editor = function(html) /* Works with Thickbox. */ { var $inp, $txt, rel = $.trim ($this.attr ('rel')); /**/ if (rel && ($inp = $('input#' + rel)).length 0) /* And input field? */ { var oBg = $inp.css ('background-color'), src = $.trim ($(html).attr ('src')); src = (!src) ? $.trim ($('img', html).attr ('src')) : src; /**/ $inp.val (src), $inp.css ({'background-color': '#FFFFCC'}), setTimeout(function() { $inp.css ({'background-color': oBg}); }, 2000); /**/ tb_remove (); /* Close. */ /**/ return; /* Return for uniformity. */ } else if (rel && ($txt = $('textarea#' + rel)).length 0) /* Textarea? */ { var oBg = $txt.css ('background-color'), src = $.trim ($(html).attr ('src')); src = (!src) ? $.trim ($('img', html).attr ('src')) : src; /**/ $txt.val ($.trim ($txt.val ()) + '\n' + src), $txt.css ({'background-color': '#FFFFCC'}), setTimeout(function() { $txt.css ({'background-color': oBg}); }, 2000); /**/ tb_remove (); /* Close. */ /**/ return; /* Return for uniformity. */ } }; /**/ tb_show('', './media-upload.php?type=image&TB_iframe=true'); /**/ return false; }); }); [ full view ]s2member\includes\menu-pages\menu-pages.js Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — July 11th, 2011, 5:31 pm


]]>
2011-07-09T06:12:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13135&p=25430#p25430 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\menu-pages\menu-pages.js
Docs updated: December 20, 2011, 9:51 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — July 9th, 2011, 6:12 am


]]>