Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

To have marked when answer click anywhere
(1 viewing) (1) Guest
ARI Quiz Lite
Go to bottomPage: 1
TOPIC: To have marked when answer click anywhere
#51537
To have marked when answer click anywhere 9 Years, 6 Months ago Karma: 0
Hello there, how can I change this code shown below to have possibility to mark answer to click anywhere. Label or answer, whatever I will have my mouse on. And will be good when mouse can show cursor as the hand.
Thanks for any suggestion.

Code:

<td class="ariQuizQuestionLeft ariAnswerChoice"><label for="sa<?php echo $dataItem['hidQueId']; ?>"><?php AriQuizWebHelper::displayResValue('Label.Choice'); ?> <?php echo (++$i); ?></label>&nbsp;<input type="radio" id="sa<?php echo $dataItem['hidQueId']; ?>" name="selectedAnswer" value="<?php echo $dataItem['hidQueId']; ?>" /></td>
<td class="ariAnswer"><?php echo $dataItem['tbxAnswer']; ?></td>

The administrator has disabled public write access.
 
#51540
Re:To have marked when answer click anywhere 9 Years, 6 Months ago Karma: 746
Hello,

You can wrap answer text with <LABEL> tag like "Choice" label.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#51542
Re:To have marked when answer click anywhere 9 Years, 6 Months ago Karma: 0
Sorry, but how? I don't know at all.
The administrator has disabled public write access.
 
#51544
Re:To have marked when answer click anywhere 9 Years, 6 Months ago Karma: 746
Try to use something like this:

Code:


<td class="ariQuizQuestionLeft ariAnswerChoice"><label for="sa<?php echo $dataItem['hidQueId']; ?>"><?php AriQuizWebHelper::displayResValue('Label.Choice'); ?> <?php echo (++$i); ?></label>&nbsp;<input type="radio" id="sa<?php echo $dataItem['hidQueId']; ?>" name="selectedAnswer" value="<?php echo $dataItem['hidQueId']; ?>" /></td>
<td class="ariAnswer"><label for="sa<?php echo $dataItem['hidQueId']; ?>"><?php echo $dataItem['tbxAnswer']; ?></label></td>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#51546
Re:To have marked when answer click anywhere 9 Years, 6 Months ago Karma: 0
Thank you for your time, it's works enough good at this moment. I still have the cursor like over the text. But it is not very important for me now.
Thanks again.
The administrator has disabled public write access.
 
Go to topPage: 1