TinyPortal

Development => Support => Topic started by: Fernus on January 06, 2008, 04:12:21 PM

Title: Problem with button code
Post by: Fernus on January 06, 2008, 04:12:21 PM
Trying to make an html+bbc box and it previews fine but displays in correctly.  The code is:


<center>
<div style="text-align: center;"><input value=" MMO News " onclick="window.open('http://pipes.yahoo.com/pipes/pipe.run?_id=HgxqlLPX2xGSd6PREpPZnA','mywindow','width=720,height=480,resizable=yes,scrollbars=yes')" type="button">
</div>
</center>


Any ideas?
Title: Re: Problem with button code
Post by: Crip on January 06, 2008, 04:22:09 PM
Got a screenshot?
Title: Re: Problem with button code
Post by: Fernus on January 06, 2008, 04:42:48 PM
Attached
Title: Re: Problem with button code
Post by: Crip on January 06, 2008, 05:19:48 PM
what is it for..?
popup window??
Title: Re: Problem with button code
Post by: Zetan on January 06, 2008, 05:21:31 PM
Use a Script type block and it works fine. Although, it has no pointer. I tried adding one and it made no difference.
Title: Re: Problem with button code
Post by: Fernus on January 06, 2008, 05:58:51 PM
Perfect.  Thanks