Page 1 of 2
Daz'es Java applet
Posted: Mon Jan 19, 2009 12:06 am
by Killzone_Kid
I see the countdown ..it causes my FF to freeze. Well if you want countdown gimme the date and I give you Javascript code for it (I suppose you can use HTML as an admin)...otherwise I'll resume my postings after Killzone release...IE is shit.
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 12:18 am
by DJ-Daz
Countdown is gone
Worked fine for me and im using FF3
post your script, if it's a cpanel cgi script, then I was using the same one.
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 8:39 am
by Killzone_Kid
I haven't got it but I can quickly write it. It would be Javascript, which you have to add to your signature as html, something like that, you can try if this works:
<script>document.write('<button onclick="alert(\'You\\\'ve clicked me!\');">Click me</button>');</script>
PS I dunno why my FF freezes, new laptop, god knows.
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 9:53 am
by DJ-Daz
it's not big deal, it was only to count down to killzone2 release.
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 12:20 pm
by Killzone_Kid
I can still make a ticker with Javascript. Does my example work, have you tried?
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 2:53 pm
by Symonator
it wont work on a php website lol..
unless u put the html into a bbcode or directly into the core file
this is a phpbb forum.
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 3:26 pm
by Killzone_Kid
It will Symon, Daz can use full HTML in his posts or signature or anywhere else as he is the admin, the same way we can use limited HTML code on EU Sony forums.
EDIT: sorry Symon I see where you're coming from. Javascript is client side language where as PHP is server side, both can live and work together and have kids :tease
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 4:34 pm
by DJ-Daz
Sy's right, I can create BBcode with it, but unless I edit the core files, HTML is out.
I can't and dont have access to html for my sig either.
The makers have spent a lot of time and energy making sure phpbb3 is and stays xhtml compliant, therefore will not enable html.
Here's your button.
[kkbutton][/kkbutton]
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 5:24 pm
by Killzone_Kid
First of, don't get confused, HTML, XHTML = same shit.
If you can create bbcode then you can use it in the signature, in fact we all can use it in our signatures:
3.5.1.7. User Signature
Here you can add, edit, or delete the user's signature.
The user's current signature should be displayed in the Signature form. Just edit the signature by typing whatever you want into the text area. You can use BBCode and any other special formatting with what's provided. When you are done editing the user's signature, click Submit to update the user's signature.
Note
The signature that you set has to obey the board's signature limitations that you currently have set.
So shall I make a ticker then?
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 5:31 pm
by DJ-Daz
make the ticker if you want, I can add it to the bbcode so everyone can use it.
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 5:32 pm
by Killzone_Kid
ok gimme time and date to which to count down to
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 5:52 pm
by DJ-Daz
Killzone_Kid wrote:ok gimme time and date to which to count down to
27th feb 2009, 9am of course, is there any other date in you calendar?
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 7:52 pm
by Killzone_Kid
Ok couldn't be bothered to write it myself so I just stole 1 and modified it a bit
Take attached file unzip it and drop countdown.js into
http://www.dazbobaby.com/forum/ directory...then add this as bb code:
<script language="JavaScript">
TargetDate = "02/27/2009 9:00 AM";
BackColor = "orange";
ForeColor = "black";
FontSize = "18px";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% days, %%H%% hours, %%M%% minutes and %%S%% seconds left to KILLZONE 2 launch...";
FinishMessage = "KILLZONE 2 is here!!! What are you waiting for, soldier?";
</script>
<script language="JavaScript" src="
http://www.dazbobaby.com/forum/countdown.js"></script>
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 8:15 pm
by Killzone_Kid
[countdown][/countdown]
Aha...nice!
Doesnt show, why?
Re: Daz'es Java applet
Posted: Mon Jan 19, 2009 8:17 pm
by DJ-Daz
it does'nt work on your post? Can you see mine?