TinyPortal

Development => Block Codes => Topic started by: elpvn on January 04, 2006, 09:50:11 AM

Title: Happy New Year script block !
Post by: elpvn on January 04, 2006, 09:50:11 AM
I've seen it at the TP hompage, it's very nice ! But I'm not have this script code

How I can make it ? what code Bloc use in this case ? you can share it now ?  :laugh:
Title: Re: Happy New Year script block !
Post by: bloc on January 04, 2006, 12:10:57 PM
Happy New year? Thats simply a html block with a simple greeting and a gif image.. ;)
Title: Re: Happy New Year script block !
Post by: IchBin on January 04, 2006, 01:23:59 PM
Something like this Elpvn.

<p>TinyPortal.net wish all our visitors a Happy New year 2006!</p>
<img src="animated.gif" />
Title: Re: Happy New Year script block !
Post by: ontap on January 04, 2006, 03:47:20 PM

bloc gave me the idea of it..

i had the same bloc on my site just used a different image i put together.

[attachment deleted by admin]
Title: Re: Happy New Year script block !
Post by: elpvn on January 05, 2006, 06:47:08 AM
Thank all, in Vietnam still one month to be get new year and I will use it for my homepage  ;)
Title: Re: Happy New Year script block !
Post by: JDMhustle on January 06, 2006, 02:28:24 PM
I had this one on my site... just thought i would share it :idiot2:

[attachment deleted by admin]
Title: Re: Happy New Year script block !
Post by: elpvn on January 07, 2006, 08:35:49 AM
Thank all,

To JDMhustle: It's very nice but why not transferparent background (black color) for it then ?  ;)
Title: Re: Happy New Year script block !
Post by: JDMhustle on January 07, 2006, 12:34:54 PM
Quote from: elpvn on January 07, 2006, 08:35:49 AM
To JDMhustle: It's very nice but why not transferparent background (black color) for it then ?  ;)

Sorry about that.... i have the Helios theme on my site and so black was the best color to choose.
Title: Re: Happy New Year script block !
Post by: bluedevil on December 25, 2006, 02:58:48 PM
how can i make image to show in the block?
Title: Re: Happy New Year script block !
Post by: bluedevil on December 25, 2006, 03:06:33 PM
Nevermind.  I forgot to link it to .gif  :uglystupid2:
Title: Re: Happy New Year script block !
Post by: Mick on December 28, 2007, 03:20:37 AM
This is great. 1 year after and im using this code again.

thanx!
Title: Re: Happy New Year script block !
Post by: Ken. on December 28, 2007, 09:36:56 AM
It is nice!  :up:
Used this one last year, did it a little different this time with a single image (not animated) in an article with the snow script from Christmas.

My Page (http://www.mykimbrell.com/FamilyForum/index.php)
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 08:41:31 AM
got a question.. if i used this code bit, where do i put the image??

<p>TinyPortal.net wish all our visitors a Happy New year 2006!</p>
<img src="animated.gif" />
Title: Re: Happy New Year script block !
Post by: Zetan on February 26, 2008, 09:32:56 AM
You can put the image where you like.. even host it on another site, as long as you put the correct URL to it

<img src="animated.gif" />

Rocket science.. it's dangerous  :2funny:
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 09:39:05 AM
mmm ok if you say so.. my coffee high is gone, my version of this, i did really quick and i put

<img scr="http://www.mysite/image/xxx.png" /> did nothing.  :'(
Title: Re: Happy New Year script block !
Post by: Zetan on February 26, 2008, 09:42:13 AM
scr?

Are you sure? It's should be src
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 09:44:50 AM
 :buck2: otay!!! Smoky been eatin too much code for tonight..

sends Ztn a big hug. yes that did work!!! but no more coffee for Smoky cuz she is going night night after prayers  :P

please dont let me dream in code..  :D

then asks.. how could i center it??  :2funny:
Title: Re: Happy New Year script block !
Post by: Zetan on February 26, 2008, 09:46:02 AM
Smoky wins goofer of the day  >:D
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 09:47:41 AM
does that come with fluff the pillow and put a mint chocolate with it?? umm chocolate centered  :2funny:
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 10:21:41 PM
now that im awake and all  :D if i want to center this code, how do i do that?? i have a large long bar i want my image centered on and im stuck ;)
Title: Re: Happy New Year script block !
Post by: Lord Anubis on February 26, 2008, 10:26:18 PM
<center>
<code you want centered here>
</center>
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 10:29:12 PM
roflmao!! you gota be kiddin!!!!  :2funny:

mmm kk.. thank you m'lord.. i just want to get things nice and umm even so everyone wont have to have a v8!!  :P ::)

thanks!!  :D
Title: Re: Happy New Year script block !
Post by: Lord Anubis on February 26, 2008, 10:31:22 PM
Yep it is that simple :)

Your welcome
Title: Re: Happy New Year script block !
Post by: Smoky on February 26, 2008, 10:55:03 PM
does the happy dance for m'lord.. just wait till you see what im doing :D
Title: Re: Happy New Year script block !
Post by: JPDeni on February 26, 2008, 11:19:32 PM
If you want to center anything on a web page, the easiest way to do it is to use centering tags:


<center>whatever you want to center</center>