I am trying to build a page that is basically a toolbar to use with an online game. The game is all run in a webpage and all my toolbar will be doing is giving quicker/easier access to things already in the game. In this scenario there are consumable objects in the game that are used by the function:
It is a bit laborious to get to the screen where you use these items so my idea is to create a page with these functions assigned to some buttons and then have the actual game page load in an iframe taking up the entire browser except a sliver at the top where my buttons will be.
Is it possible to do this? If I name the iframe foo could I use something like:
Thank you for any help given.
Code:
ACTIONS.use_consumable(1,11)
It is a bit laborious to get to the screen where you use these items so my idea is to create a page with these functions assigned to some buttons and then have the actual game page load in an iframe taking up the entire browser except a sliver at the top where my buttons will be.
Is it possible to do this? If I name the iframe foo could I use something like:
Code:
<input type="button" value="Use 1" target="foo" onclick="ACTIONS.use_consumable(1,11)">
Thank you for any help given.