Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ok, so the basic issue here was <strong>why the first function, <code>runCSStweaks()</code>, wasn't creating the array if it was executing the CSS tweaks just fine?</strong></p> <p>And the answer, much to my embarrassment, and oh don't I feel the grand fool right now, is very simple:</p> <p><strong>I wasn't ever calling function <code>runCSStweaks()</code>!</strong></p> <p>Initially, I had placed a call to the <code>runCSStweaks()</code> right where the jPlayer JS finishes building the playlist and deploys it. As I said in my question's description above, I had been working on this very late at night and, for some strange, mysterious reason, at some point my failing brain had decided to insert the function itself into the jPlayer JS, rather than just calling it from there. (I can only guess the original call wasn't going as planned.)</p> <p>So, having never erased the original <code>runCSStweaks()</code> function, no doubt because I thought I might have to return to calling it in order to keep the original JS tidy, I eventually forgot that I had placed the entire function in there. So, to sum up, the <code>runCSStweaks()</code> function wasn't being called, the function that tweaked the CSS was hidden in the original JS, and I was foolishly adding the array builder and etc. in the <code>runCSStweaks()</code> and asking myself <em>Why, oh why, is this not working?!</em></p> <p>So, sorry for that. But thank you guys very much for your help! I think we might have been trying to find the problem here forever but to no avail, as there was no problem; at least not with the function but with my clumsiness. I must say, though, that in your answers and comments I have at least learned two or three very important pieces of info that will prevent me from making other mistakes in the future and posting them here! So thanks again!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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