Note that there are some explanatory texts on larger screens.

plurals
  1. USdavesters81
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COHave you tried to use the .index() function in jQuery? If you just call .index() on an element. It will give you a zero-based index number based on it's siblings in the nearest parent element. So, you can test if ($(this).index() == 0)
      singulars
    2. COI think a little more info on the CSS and markup would be helpful to better troubleshoot it. However, have you tried to test init against window.scrollTop() instead of body.scrollTop? Also, have you already set the body variable to the body element? like var body = $('body'); somewhere above this code?
      singulars
    3. COThese are one-dimensional arrays, not multi-dimensional arrays. They are also hashes, which do not contain numerically indexed keys, but rather named keys. So, you can't insert it into a specified position because they do not really have a position. You can use array_slice for that. array_merge is how you would combine them together into a single array. The first array you specify in array_merge is the base, and all other arrays passed to array_merge after that will be added to the end. You need to assign the result of array_merge to a new variable. Look it up on php.net for more info.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload