If you are reading this, please get modern browser.
skip to main content | skip to main navigation | skip to secondary content

Netiquette resources anybody?

~ 29th July 2004. · 00:59 CET · permanent link · printer friendly ~

Been bussy for some time collecting selected articles on Netiquette. “my best friend” threw some very interesting definitions of Netiquette. Very cute and actual is definition at RIO Glossary:

” network etiquette; an informal group of rules and ways of behaving on the Internet. Example: sending spam, unwanted E-mail, is bad netiquette. “

Any article would help (your or other people’s) – don’t be shy to share.

Script Theft

~ 24th July 2004. · 16:50 CET · permanent link · printer friendly ~

This morning i checked my stats, and i came across interesting web site which is linking to my web design section. Since nothing was there, just some internal links, i right clicked and saw that it’s in fact calling JavaScript file from my server. What courage this guy has!

Why it’s not working on his website?

Fortunately, when building this website, i set all CSS and JavaScript going through serverside (PHP) script which will not pass these files outside my website – some referrer conditioning (or any other you find more appropriate) and simple switch/case deploying. If willing trying save following as externals.php

<?php
$q=$_GET["q"];
if (strpos($_SERVER['HTTP_REFERER'], "http://www.yourdomain.com/") === false) {
	echo "/* Thanks for being interested in my work. Please contact me if you want to know more about how it's done. */";
} else {
	switch ($q) {
		case "css":
			header ("Content-type: text/css");
			readfile("style.css");
			break;
		case "js":
			header ("Content-type: text/javascript");
			readfile("script.js");
                // and even more cases if desired : )
	}
}
?>

and modify your HTML code somewhere in <head> section:

<link rel="stylesheet" type="text/css" href="http://www.yourdomain.com/externals.php?q=css" />
<script type="text/javascript" src="http://www.yourdomain.com/externals.php?q=js"></script>

Above is of course simplified version of the original script and it’s left to you to customize it however you want (hint: this page could send you an e-mail whenever conditions are not matched).

I’d be glad to hear how you solved yours.

Super Stripes

~ 24th July 2004. · 00:45 CET · permanent link · printer friendly ~

Stripes are undoubtly very popular graphical element these days. They are used in many ways in web design, mostly as background patterns of various layout parts or block elements. Here is a fresh tip on stripes that could save your time.

Setting image size in image tags

~ 20th July 2004. · 13:25 CET · permanent link · printer friendly ~

There is a bug in Mozilla browsers, which causes jumping of some parts of the content while loading, and sometimes some portions of layout stay in wrong positions. Experienced this when making slight redesign of Graniti-Sušec homepage. The exact size of the image under introducing paragraph wasn’t set, so during page load, division containing latest news, stayed too far below:

Screenshot of poorly positioned section

This occurs when image is placed in floating parent element, in this case <div>, which floats to the left.

After I set correct size of image: <img src="../slike/skl_3.png" height="165″ width="220″ alt="a detail of stock pile” />, everything stayed at its’ place:

Screenshot of properly positioned section

Feel free to discuss on jumping bugs under the comments..

Been at Aeromeeting

~ 11th July 2004. · 07:23 CET · permanent link · printer friendly ~

Been yesterday at this year’s Aeromeeting in Zagreb (Croatia). Almost 2 hours of waiting to see one of just a few MiG-21 left in Croatian army. Untill last few minutes there was just some ordinary overflighting of smaller airplains and gliders of different kinds, a few skydivers, nothing very exciting realy. It was so uninteresting that Luka played with some wild growing flowers around the spot we settled on. However, last 10 minutes or so the situation changed as our army crafts came.

First, our most popular training plane – Pilatus done some attractive elements and when he went off and we all spectators felt sorry for it, from behind us came MiG-21 in low flight, making our ears want to explode. Luka was pretty confused by this strong sound and i must say he didn’t appreciated it, so for next 10 or so forssages low above the ground i covered his ears. But i enjoyed, ha-ha!

MiG-21 related links:

Visited links and how to style them

~ 6th July 2004. · 12:25 CET · permanent link · printer friendly ~

There’ve been interesting parallel interview at CollyLogic which made me redo my visited links. I’m bringing common techniques overview.

Webmajstori.Net Web Contest (Croatian)

~ 5th July 2004. · 19:29 CET · permanent link · printer friendly ~

Webdizajnerski portal Webmajstori.Net raspisao je natječaj za najbolji web projekt. Skoknite na njihovu stranicu, pročitajte pravila i prijavite se!

Goodbye, Don Corleone!

~ 2nd July 2004. · 21:15 CET · permanent link · printer friendly ~

Marlon Brando, one of the best actors ever, dies at 80 and it hits me badly…

A quick way to calm your son down

~ 1st July 2004. · 22:37 CET · permanent link · printer friendly ~

There’s often a time when something comes to my mind and i’d like to open my code editor and ‘dive into mark’, but also at this very same time Luka (the son) gets extremely hungry and therefore anxious and kind of cranky…

Luka, kind of cranky

Well, i’m proud i found a way to make designer’s kid quiet for a few moments: prepare 1 whole egg, 1-2 dcl of baker’s flour, half teaspoon or less of salt, some chocolate (preferably Nutella), 2-3 dcl of milk and 2 dcl of water. Mix all ingredients, ’till you get a creamy fluid.

Use this to bake a few pancakes. When you’re done, put melted chocolate or Nutella on each pancake, roll them and call your precious to this delicious meal.

Additionaly, warm some milk, add a teaspoon or two of honey, and pour everything in his/her favorite cup… Perfect! Now go, go, go! You have exactly ten minutes to do some work!

* Please keep in mind that this is a personal web site and it does not reflect the position or opinion of my respective employers, organizations or partners.

Typetester – compare screen type Supported by Veer.

What is this?

A web log of Marko Dugonjić, web professional from Croatia. Topics covered:

Translate this site

German, Spanish, Italian, French or Japanese (via).

See you there!

Feel like buying a book?

Try with maratz.com aStore

Worth visiting

top of the page | skip to main content | skip to main navigation | skip to secondary content