I have this code which positions the bullet image on the underlying blueprint.
But I would like to pass the X-Y cords to the page some how, so when it is loaded it shows the bullet where it is each time. How do I make the 400 and 500 be variables in HTML is that possible?
Or if there is another way Great. Also this method changes the position of the bullet depending on which device it running on, so this is not the best way anyway.
DougP
But I would like to pass the X-Y cords to the page some how, so when it is loaded it shows the bullet where it is each time. How do I make the 400 and 500 be variables in HTML is that possible?
Or if there is another way Great. Also this method changes the position of the bullet depending on which device it running on, so this is not the best way anyway.
Code:
<asp:Panel ID="Panel1" runat="server" Height="16px" Width="800px">
<asp:Label ID="lblLocation" runat="server" BackColor="Red" BorderColor="Maroon" Text=" * "></asp:Label>
<img alt="" class="auto-style1" src="Images/Blueprint.jpg" />
<img src="images/BulletRed.png" style="position:absolute; top:[highlight #FCE94F]400[/highlight]px; left:[highlight #FCE94F]500p[/highlight]x;"/>
</asp:Panel>
DougP