最近の検索


最近の検索はありません

Dave Kavalsky's Avatar

Dave Kavalsky

参加日2021年5月28日

·

前回のアクティビティ2021年10月27日

フォロー中

0

フォロワー

0

合計アクティビティ

8

投票

0

サブスクリプション

1

アクティビティの概要

さんの最近のアクティビティ Dave Kavalsky

Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Thanks!
I actually may have jumped the gun a bit though. Looking at this further, "More..." is no longer rendering either so I might be back to square one but I know that the closing is causing this behavior somehow. If the tag were left open from "More..." through to the "See all" links, we should be good.

コメントを表示 · 投稿日時:2014年8月22日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント


Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Hi @Wes and @Janet

Just wanted to post a quick note that I found the culprit of this issue but fixing it seems to have caused another issue. Toward the end of the JS, there is this line of code...

  $("" + linkText +  "").insertAfter($(categories[j]));

This line of code seems to mostly only apply if you have more than 6 articles in a given section. The problem is that it closes the link for the word "More..." and then the .insertAfter($(categories[j])); code adds the "See all # articles" text. So basically, the closing causes "More..." and "See all # articles" to be treated as two separate links because one link closes and the other then opens.

So removing that closing solves the problem while still showing only 3 articles per section but if you have 4-6 articles in the section, it actually no longer shows a link of any kind below the first three articles and I can't figure out why. I'm going to keep digging into this and will keep you guys posted but I feel like I'm getting closer.

コメントを表示 · 投稿日時:2014年8月22日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント


Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Hi @Janet

I did notice that but I was able to make an adjustment to the JS that Wes provided to keep them the same size. More specifically, the snippet Wes provided declares the link class as a "MoreTopics" class whereas the normal links use the "see-all-articles" class. By changing "moretopics" to "see-all-articles," the link styling becomes consistent.

I'm also leaning toward just changing the text altogether but I really want to find a way to let users know how many articles are in that section.

コメントを表示 · 投稿日時:2014年8月19日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント


Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Thanks @Wes

If possible, I would really like to keep the current wording but as one cohesive link. If I rename it, is there a way for me to dynamically call on the number of articles in the section?

コメントを表示 · 投稿日時:2014年8月18日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント


Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Hi @Wes

Just wanted to confirm that I am also using the Swift Elk theme.

コメントを表示 · 投稿日時:2014年8月18日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント


Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Thanks! @Wes!

I really appreciate it.

コメントを表示 · 投稿日時:2014年8月15日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント


Dave Kavalskyさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Hi Wes,

The sample code has been great but I'm running into an issue with it for any section that has more than 6 articles in it. More specifically, everything renders fine for sections that have 4-6 articles in it but if there are 7 or more articles, "More..." and "See all # articles" underline separately as if they are for separate links. Both links function properly but it's driving me nuts that any section with 7 or more articles looks like "More..." and "See all # articles" are separate links.

Have you seen this before? Do you know how I can fix this?

Thanks!

コメントを表示 · 投稿日時:2014年8月14日 · Dave Kavalsky

0

フォロワー

0

投票

0

コメント