Replace form submit button with image using javascript and stylesheet

The other day I wrote this little javascript that I thought I would share with the rest of the internet. It’s a simple function that replaces submit buttons with a anchor element, which sequently can be turned into an image with css.

I haven’t tested the script in all browsers and different environments. So please be cautious and post a comment if you run into any problems.

Get it here: http://dev.nuzzaci.com/javascript/submit/. The downloadable file includes examples and versions to use with jQuery or MooTools.

Leave comment  Twitter  Facebook

links for 2006-10-01

Leave comment  Twitter  Facebook

Links for 2006-09-15

Leave comment  Twitter  Facebook

Links for 2006-08-27

Leave comment  Twitter  Facebook

Links for 2006-07-21

Leave comment  Twitter  Facebook

Links for 2006-07-13

Leave comment  Twitter  Facebook

Links for 2006-06-28

Leave comment  Twitter  Facebook

I’m writing this with you, with butterflies in my fingertips

Tomorrow I’m off to my hometown Skelleftea in the north of Sweden to celebrate midsummer. This has kind of grown to be a standing tradition – that I every year go back for this event. Since my parents have moved from Skelleftea and lives in Italy, I don’t go home for christmas. So you could almost say that midsummer is my christmas (Im saying that I’m going home. It’s weird. Since it’s not where my parents live. It’s not where I live. It’s where I was born, raised and grow up… is there a name for that kind of “home”? is it hometown or more like growing-up town?).

Normally it’s loads of fun. Meeting a lot of old friend. My sister (who still lives there). Playing silly games. Having barbecue. Singing songs. Playing volleyball. Drinking beer (Norrlands Guld). I’m really looking forward to it, and a full report on this event will be posted on this blog once I’m back.

This year, two ‘non-northern friends’ are coming with me (and Willow of cause, but it’s not her first time); Henrik Engdahl and Johan Enstrom (a.k.a Mr Tall).
So this year we’re also taking the opportunity to do a little road tip by hiring a car in Stockholm and drive up. I love driving. And since I live in a country where they drive on the left side of the road – driving have come to be something I don’t do very much. – which is kind of sad.

What makes the north of Sweden special during this time of year is the midnight sun. And that, my friends – is amazing! First time I really realised how amazing it is, was the first summer I wasn’t there; my first summer down in Karlskrona (where I went to university at Hyper Island). That year, for some reason, I decided not to go back up north… then I started longing for the midnight sun and jumped on a plane and went back.
When living there, in the north, the midnight sun wasn’t something I regarded as that special. It felt more like my human right after the long and cold winter (yeah, the winters are quite the opposite). But… it is very special and I can suggest the experience to everyone at anytime.

I also have a sad – and happy – announcement to make; My lovely PowerBook, named Alecia (after the artist Pink) and I have separated. After over three wonderful years together, we decided it’s time for her to go in pension. So tomorrow she’s taking a flight over to Stockholm with Mr Tall to go and live her last years with my brother Jonaz.
This means as well that in about 3 weeks I will adopt a new girl. This time around it’s probably gonna be a MacBook Pro.

Here’s some links related to this post:

and here are some random links I have found interesting in the last few days:

4 comments  Twitter  Facebook

Links for 2006-06-12

Leave comment  Twitter  Facebook

FRIDAY! (yes!)

Isn’t that just lovely! and this weekend Formula One has reached Silverstone and the UK! (no… Im not going… not this time).

I think the football world cup starts this weekend as well… am I right? (not sure ;), hard to miss).

Im not doing the F1 or the word cup, Im heading to Wales to surf this weekend (cold cold cold) (but Im recording the F1 of cause (need to talk more about the loveliness of F1 here. Since it’s sooo lovely)).

Any way, here are three links about designing and creating HTML email (evil!). Yeah, I don’t like them – but it’s something I have become quite skilled at and it’s something that lies in my line of duty.

Read them and learn something, but have in mind that it’s a lot of talk about CSS, and if you are doing emails that’s gonna reach out to a lot of people, and the client is a big corporation, you will need to support Lotus Notes. And that my friends… is not something funny. Then we are talking about nested tables (but not more then 3), and no background images in certain elements etc and so on.

HTML email is an art form (an evil one).

Leave comment  Twitter  Facebook