My first bit of javascript!

I just learnt how to make a popup window, but unfortunately, blogger doesn't allow me to post it here...

aiyah, else I can show off a bit... :(

oh well... will show u how it looks without the "<"

(html)
(head)
(title)Testing HTml Page(/title)

(script language="Javascript" type="text/javascript")

function popup ()
{
window.open("http://www.teacupcoffeepot.blogspot.com", "null","height=500, width=500, status=no, menubar=no,location=yes, resizable=no,titlebar=yes,scrollbars=yes,top30,left=30");
}
(/script)

(/head)

(body text=red link=blue vlink=black)
(p) (/p)
(center)

Trying (span style="background:yellow")colours(/span) out here! So happy... I just learnt my first bit of javascript!!!! hehehhe watch out world!


(p)(a href="http://www.teacupcoffeepot.blogspot.com" target="_blank" onclick="popup(); return false;") Click here for(span style="background:yellow")my blog!(/a)(/p)

(/body)
(/html)

0 comments:

 

Sweetheart the clown - Singapore Talent Source ( Zephyhdom Tel: 87425694 ) © 2012