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
1 answer

Admob does not load ads by keywords

I just integrate Admob for the first time in one of my applications. I have seen that using AdRequest.Builder().addKeyword(String) you may try to load ads depending on the words that are included. I have included in the latest evidence of a date of…
Ander Acosta
  • 1,060
  • 1
  • 12
  • 25
0
votes
1 answer

Attack only targeted enemies Unity

I have a script which is used to control targeted enemies and another to control player attacks, the targeting script seems to work fine on its own until the first target is killed, so when I click Tab it targets my enemies in distance order but…
Amy
  • 1,088
  • 2
  • 11
  • 24
0
votes
1 answer

CSS target element 2 on 1:hover and element 1 on 2:hover

I "need" to target the other sibling of each of two elements (actually children of siblings) on :hover. I can get the code block below to work, but I cannot get it to work in the reverse. I understand there is no designated method of targeting like…
macwise
  • 1
  • 2
0
votes
1 answer

SIGABRT - Targeting Parse Push Notifications

I am trying to save UISwitch results and using them to populate the "channels" for Parse.com push notifications. I followed the Parse Guide but I am getting a SIGABRT everytime I try and click the save button which saves the values of the switch.…
0
votes
1 answer

Targeting specific folders based on folders within Python

Hello users of stackoverflow, I had a question on how to target specific folders when looking within a folder for example, look at the directory tree below: --> MAIN FOLDER --> Subject 1 --> A_Folder --> files --> Subject 2 -->…
Tyler_Cork
  • 19
  • 1
  • 3
0
votes
2 answers

How To Target The class qty inside the add-tocart-btn with my AddtoCart(this) js function

I need to get the input type qty inside the addtocart() pls tell me how to target this Ive tried $(this).find('.qty').val(); but still doesnt work.
0
votes
2 answers

Focus or open a folder?

I've run into a few issues with this script: If WinExists ("[CLASS:CabinetWClass]", "Address: C:\Users\Dad\Downloads") Then WinActivate ("[CLASS:CabinetWClass]", "Address: C:\Users\Dad\Downloads") Else Run("Explorer.exe" &…
Wolfpack'08
  • 3,982
  • 11
  • 46
  • 78
0
votes
1 answer

how to move turtles to sequential targets and stop at endpoints

For clarification on this question, here is the original question with background information. I have been attempting to make one agentset (ships) move towards another agentset (target-port) and once the ships arrive, move on to the next target…
mowgly
  • 77
  • 8
0
votes
0 answers

Attacking closest target C#

I'm very new to the programming / scripting scene and I'm following a tutorial for making a basic controller and combat system (Birds view RPG). Thing is the tutorial will be making a "click to attack" (targeting) when me myself want to make a…
Samer
  • 1
  • 1
0
votes
1 answer

Target browser with java script to change a link

I am trying to target specific browsers and depending on the browser I would like to display different links. My issues is that I have some pdf portfolios but they will only open in IE and the rest of the browsers give a message to download adobe…
jdbwizzard
  • 110
  • 1
  • 7
0
votes
1 answer

anchor opening and downloading if possible

I have a group of links with href of an image how can i open this in another page within an tag ? or an iframe and can i get the information shown inside the iframe while ($row = mysql_fetch_assoc($files)) { echo(' …
dalia
  • 1
  • 2
0
votes
3 answers

Unable to get the event target property of a named function

In the fiddle linked below there's some example code I need to troubleshoot. I've simplified it a bit from the original code (didn't write) for demo purposes in the fiddle. $(document).ready(function(){ $("ul").children().each(function(i){ …
Chris22
  • 1,973
  • 8
  • 37
  • 55
0
votes
2 answers

Whitelisting Problems?

I have a huge issue that has to do with whitelisting. I have been doing C++ for about 6 months now and I can't seem to figure out how to pinpoint my targets to limit who can open and use my application with a whitelist. For example, if the user is…
HueHueKing
  • 13
  • 3
0
votes
1 answer

Can I have only one Index from a click event selected Item?

I have Problems with editing and deleting selected entries. i think it lies that i get only one index. How i select things: $("#liste").click(function selectList (event) { var target = $( event.target ); if ( target.is( "li" ) ) { …
Sain Linkerty
  • 63
  • 2
  • 13
0
votes
1 answer

Xcode - Admob banner setting with targeting and test devices

I am working on my iOS app and trying to place a banner on the bottom of the page. First of all, I set a BOOL (BannerAd) which is initially "NO" and set to "YES" when user hits the "Submit" button. By doing this tried to avoid requesting ads…
Dxia
  • 1