On the first aspx page I have 2 buttons with difficulty for my game (normal and difficult)
<div class="modal-body">
<asp:ImageButton id="normal" ImageUrl="~/images/flecha_atras.png" class="flechaAtras" onclick="normal_Click" runat="server"/>
<asp:ImageButton id="dificil" ImageUrl="~/images/flecha_atras.png" class="flechaAtras" onclick="dificil_Click" runat="server"/>
</div>
The 2 buttons redirect me to another aspx page
public void normal_Click(object sender, EventArgs e)
{
Response.Redirect("Puzzle5.aspx");
}
public void dificil_Click(object sender, EventArgs e)
{
Response.Redirect("Puzzle5.aspx");
}
On that 2nd page aspx I have the following script
$(function() {
setTimeout(
game.load(
'procrastination_color2',
2,
3,
'mandala'
), 333);
});
Based on the values 2 and 3, I put together a page with lots of puzzle pieces.
What I want to do is send from the first page, according to which button to press, different values.
For example if the first page is clicked NORMAL button, command (2,3) If you click hard button, to the other aspx page, inside the script, I want to send values (8,5)
I do not know how I can do that. Any idea people?