최근 검색
최근 검색 없음

Nicolas Parada (EX)
가입한 날짜: 2021년 4월 16일
·
마지막 활동: 2021년 10월 27일
팔로잉
0
팔로워
0
총 활동 수
6
투표
1
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Nicolas Parada (EX)
Nicolas Parada (EX)님이 에 댓글을 입력함
https://support.elitesingles.com/hc/en-us
FYI : I went with my back up plan : adding a 7th article to PREMIUM MEMBERSHIP section.
댓글 보기 · 2015년 7월 02일에 게시됨 · Nicolas Parada (EX)
0
팔로워
0
투표 수
0
댓글
Nicolas Parada (EX)님이 에 댓글을 입력함
Hi Wes,
doing this solves the double "See all xx articles", but now I have a section that has 6 articles, shows 5 only and no link to access the left article.
My goal is overall to display 3 articles and a "See more" link, adjusting the article length to 3 max gives me the same result. An easy solution is to add another article so I go above the 6 articles native limit.
댓글 보기 · 2015년 6월 30일에 게시됨 · Nicolas Parada (EX)
0
팔로워
0
투표 수
0
댓글
Nicolas Parada (EX)님이 에 댓글을 입력함
Got the same as Yahor on our HC when setting length to 5 (if( articles.length <= 5). If I go for 6, then the nativeMore kicks in, leaving the customized one out but also section with exactly 6 articles. :( here is part of the code I have in the JS.
Thanks for any feedback as this is driving me mad.
if( document.location.href.indexOf('section') == -1 ) {
var categories = $('ul.article-list');
for (var j = categories.length - 1; j >= 0; j--) {
var articles = $(categories[j]).find('li'),
nativeMore = $(categories[j]).siblings('.see-all-articles');
if ( articles.length > 3 ) {
for (var k = 3; k < articles.length; k++ ) {
$(articles[k]).hide();
}
var moreLink = $(categories[j]).parent().find('h3 a').attr('href'),
linkText = '';
if( articles.length <= 5 && nativeMore.length == 0 ) {
linkText += "See all sss" + articles.length + " articles";
}
$("" + linkText + "").insertAfter($(categories[j]));
댓글 보기 · 2015년 6월 29일에 게시됨 · Nicolas Parada (EX)
0
팔로워
0
투표 수
0
댓글