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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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 3 Years 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 3 Years ago Karma: 667
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 3 Years 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 3 Years ago Karma: 667
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 3 Years 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