Questions tagged [targeting]

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, is to select or wish to select an object or entity and to execute some code that has effect on the 'target'.

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, it is the action of selecting an object or entity with one part of the code and do something specific to the 'target'.

In most programming languages we define targets with an 'id' and give it a unique identifier; setting variables that hold a target object, etc. This allows us to then reference it at ease, which allows us to create solutions much more easily.

For example, in CSS we target elements with specific classes or id's and set rules for those to abide by:

.class #id {
    color: #FFF;
}
170 questions
0
votes
0 answers

how to find out the user's language in facebook ads when going to the site?

The site will be advertised through facebook. Is it possible to find out from which country the user went to the site to set a specific language?
0
votes
0 answers

Where is the correct place to put google play's age group targeting code in android studio?

I am trying to make my app available for people of all ages and there for need to add code that complies with google play's families policy.…
Marfog509
  • 37
  • 3
0
votes
1 answer

How to add a one click statement to an event delegated function?

I've added an event listener via event bubbling to a parent element. On click, the function duplicates the source and inserts the clone after the source. After the source is cloned, I don't want it to be triggered again. What is the best way to…
0
votes
2 answers

update last modified time per row targeted at a set column

I'm attempting to have Column K update with last modified date & time of its own row. I got close using the following code, but it modifies everything in the row after it when I only want it to change the Now value in Column K. Sub…
Mase Windu
  • 23
  • 1
  • 3
0
votes
1 answer

Target parent menu through 1 specific single sub menu

I'm trying to target my parent menu item through only 1 of my submenu items. The thing is, I only know how to target classes IN classes, not backwards. And I only want to target this parent through 1 of the submenus, not all of them. The reason: I…
0
votes
1 answer

Finding the closest target in a group of enemies with 3 different tags

I have a two-sided game, where turrets need to find the closest targets with specific tags. LeftPlayer has 3 tags for 3 different enemy types. RightPlayer has 3 tags for 3 different enemy types. So a total of 6 tags, 3 for each Player. Currently I'm…
505Legion
  • 103
  • 3
0
votes
2 answers

EventListeners Fetching classes with label tags

I have an Event Listener that grabs an element by its class name, if the input tags name is the same as that class. It works for the first label but it doesn't work for the second label. Am I using event targeting incorrectly? See Below. JS let…
Nick
  • 21
  • 5
0
votes
1 answer

Attempting to target a particular number LI item in an unordered list and append html

Greetings stackoverflow, Ive got html code saved as a js variable named 'test'. I then am attempting to target a specific (the 5th) li item and append the HTML in a line under that with : var target =…
JoeG
  • 37
  • 1
  • 7
0
votes
1 answer

Can I use LEDs as an augmented reality target?

I just started programming! I am currently trying to build an augmented reality app using LEDs on IOS platform. I was wondering if a light (like an LED) can be used as an AR target or can be add as a marker target.
0
votes
1 answer

How do you reference multiple html pages with one css sheet?

Here's my code. In the screenshot provided I included two situations in which me trying to reference the css style sheet does not work. In the html, I used < body class="1" >. And then in the stylesheet I referenced it by saying body.1{}. This does…
0
votes
0 answers

Time delay breaks form targeting iframe

I have:
The page is part of a…
Roy J
  • 42,522
  • 10
  • 78
  • 102
0
votes
1 answer

Target Edge Canary in CSS

To fix an image resizing bug, I need to target Edge Canary in CSS. Specifically, I am using Microsoft Edge Version 76.0.151.0 (Official build) Canary (64-bit) on macOS Mojave 10.14.6 I tried @supports (-ms-ime-align: auto) { } but that doesn't work.…
0
votes
1 answer

Parsys (targerparsys) inside targetparsys

We have a target area (target and targetparsys) with component which is a container (parsys) with some components. The problem is that when this container is situated in target area, parsys of container becomes a targetparsys inside of which there…
Artur Liup
  • 11
  • 1
0
votes
0 answers

How to target specific objects

Currently, I have a game setup where if one player clicks on another in range, it is supposed to kill said player. However, I'm not sure how to target specific players on collision. The game is written in p5 as well as node.js to network it. I have…
Tyler Wong
  • 27
  • 4
0
votes
3 answers

Can I set target VM in azure powershell when adding inbound nat rule?

In an azure RM load-balancer I can create a nat rule FTP using powershell, but would also like to set the target virtual machine using powershell. The only way I know how to set the target is in the portal. I have two VMs in the load balancer. I…