Quantcast
Channel: User TerranRich - Stack Overflow
Browsing all 41 articles
Browse latest View live
↧

Comment by TerranRich on How can I indicate to screen readers which of a...

Don't you think it might be confusing for a blind user, for example, hearing "easy moderate difficult selected"? Isn't there something...more that I can do?

View Article


Comment by TerranRich on How can I indicate to screen readers which of a...

Would this be preferable over using aria-hidden="true" on the other two options instead?

View Article


Comment by TerranRich on Drupal 8 installation setup shows older PHP version...

Weird, that shows PHP Version 7.1.14-1+ubuntu16.04.1+deb.sury.org+1. So, how do I get rid of older versions so that this doesn't happen?

View Article

Comment by TerranRich on Drupal 8 installation setup shows older PHP version...

I don't have cPanel. I just have Apache and the command line interface. So, by "change some config files", what exactly do you mean?

View Article

Comment by TerranRich on Writing a loop that increments by a value other than...

This is my preferred method, because not only is it simple, but it doesn't involve the alteration/creation of any new variables, just to do the math. It just checks the result of a simple operation....

View Article


Comment by TerranRich on How would I add my own blurb to text that users copy...

Thank you! Yes, this is what I was looking for. Sometimes I struggle to find just the right search term(s) to find what I need.

View Article

Comment by TerranRich on How to add extra info to copied web text

@vsync I believe this just adds functionality just before the copying takes place (which is done by the system when the user initiates it).

View Article

Comment by TerranRich on How do I pass an HTML `data-` string attribute into...

Since that is true, @JamesCoyle, I guess all I can hope for is a SASS function/mixin that takes in a string, and call it with each color name. E.g. @include generate-bg-color('brown');, etc.

View Article


Comment by TerranRich on In VS Code, is there a way to open all files that...

Don't know why this is chosen as the selected answer, as the Source Control section in VSCode does not specifically have a place that shows all files with merge conflicts.

View Article


Comment by TerranRich on Mautic APIs Basic Authentication is returning code 0...

Did you ever resolve this? I'm experiencing this issue currently.

View Article

Comment by TerranRich on Send custom e-mail with special properties from...

Sorry, but I don't see sendToContact() being used in your second example. "So you have to call it like this" implies that we are calling the function defined above.

View Article

Comment by TerranRich on Postman (getpostman.com) - nested array

Also, for anybody coming across this answer years later like I did: Postman does not like single-quotes around JSON variable names, only double-quotes!

View Article

Comment by TerranRich on list every font a user's browser can display

This should be the accepted answer to this question. I'm building a simple notepad web app and this is a great solution for displaying fonts that a user can select for the text edit area. +1

View Article


Nested SQL, finding which forums have posts of a certain type

I have a SQL statement that I'm trying to run, but it's throwing an error:SELECT fp.forum_id, COUNT(fp.forum_id) AS num_postsFROM forums_posts fpGROUP BY fp.forum_idWHERE ( SELECT COUNT(p.post_id) AS...

View Article

Answer by TerranRich for Inserting multiple elements into another element in...

Here is one solution I thought of a few minutes after posting the question:[title_elem, days_of_week_elem, ...].each(function(obj){ calendar_elem.insert({ bottom: obj });});But I was hoping for a...

View Article


Inserting multiple elements into another element in PrototypeJS?

In PrototypeJS, is there a more efficient way to insert multiple Element objects into an element? Here is the code I have now:var calendar_elem = new Element('div', {'id': 'my_calendar'}).insert({...

View Article

Regular Expression Negative Lookahead/Lookbehind to Exclude HTML from...

I have a feature on my site where search results have the search query highlighted in results. However, some of the fields that the site searched through has HTML in it. For example, let's say I had a...

View Article


JOINing tables while ignoring duplicates

So, let's say I have a hash/relational table that connects users, teams a user can join, and challenges in which teams participate (teams_users_challenges), as well as a table that stores entered data...

View Article

Where could I find a complete Zen Cart reference for getting item and...

I've been searching everywhere and there seems to be very little about Zen Cart... at least anything much deeper than "install and go". I'm skinning (templating) a Zen Cart store, but the design I want...

View Article

Limiting Parallel/Simultaneous Downloads - How to know if download was...

I have a simple file upload service, written out in PHP, which also includes a script that controls download speeds by sending limited-sized packets when a user requests a download from this site.I...

View Article
Browsing all 41 articles
Browse latest View live