ads panel
Posted: Tue Feb 28, 2012 11:18 pm
Hi, its to posible dynamicaly rezise a ads panel, or hide, for example i define a left panel, i want to press a button to hide this panel, or show with some efect.
You could probably do it with javascript. The DIV's aren't named so you'd have to access them by their index. I've never tried that, though. It would be a lot easier just to embed the player client into an existing web page using an iframe and then you'd have full control on how the remaining portions of the screen are rendered.PokerMavenDeveloper wrote:Hi, its to posible dynamicaly rezise a ads panel, or hide, for example i define a left panel, i want to press a button to hide this panel, or show with some efect.
The flash module is in its own DIV with an ID of "pmflashclient". The ad panels are in their own DIVs surrounding the flash DIV. Use the view page source function in your browser and you can see them all.PokerMavenDeveloper wrote:This panel its a DIV or its an element of flash?
Code: Select all
<script>
function Toggle()
{
var e = document.getElementById("pmflashclient");
if (e.style.left == "200px") e.style.left = "0px";
else e.style.left = "200px";
}
</script>
<button onclick="Toggle();">Toggle Stats</button>
Code: Select all
Stats Here
That was just a proof of concept example showing that the panels could be adjusted at runtime. You would of course size them as appropriate for your own site.PokerMavenDeveloper wrote:kent i think the 200px its a very small amount
The flash module has an opaque background so nothing underneath will show through.another question its possible the table window and the lobby window are above the ads panel?