Skip to main content

Some good tricks of making pleasing and appealing webpages ...

Some good tricks of making pleasing and appealing webpages ...

I was visiting a forum website called India Broadband Forum. The website has a very good and rich classification of forums. Indeed, the search of messages also seems to be good (powered by Google Custom Search). However, one bad thing I felt was when I logout, a JavaScript confirmation like 'Are you sure you want to logout?'. Such things which are like acting too proactive and too very user-friendly actually play against the efficiency of the website. I just thought I would share a few tips and tricks for a good website.

  1. Script confirmations like 'Are you sure ...' to be used only when it is absolutely necessary like deletion of a problem (where the action reversing is too difficult or cumbersome or is impossible).
  2. Inputs through scripting is indeed a very bad practice. As a security precaution, web browsers like Internet Explorer block script based inputs.
  3. Popup flooding is one another bad thing that most of our Indian websites resort to. Typical ones are Rediff. I really don't find a valid reason for that much amount of popup flooding on the users. When a gentle text based advertising like Google Adwords, TextAds could be used, I really don't find a valid reason on why people still keep subscribing to weird ideas like rude popup windows.
  4. Whenever a content is to be indicated like Terms and Conditions, preferably show them as inline HTML in the same theme as the website instead of hyperlinking to a .DOC or a .PDF page.
  5. Avoid Mailto URLs
  6. Have the images compressed and do not try including a 1 mega byte BMP for a normal website image.

Readers: What do you feel? Please share about what type of features you like and what you don't like in a typical web presentation?


Popular posts from this blog

Google NCR

Google NCRMost of you would be knowing about this trick in navigating to Google generic website. But I just came to know only a few days before and hence thought I would share the information with others too.
Whenever you type, Google automatically tries to redirect you to your country-specific website. For me, it always redirects to (Google India). But when we specifically want to navigate to Google Generic website for some reason, there are two ways to accomplish the same.Click the 'Go to' link at the bottom of the webpage that is displayed from prevent this redundant click, you can opt to type which would prevent the redirect from happening. The NCR stands for No Country Redirect. There is a brief discussion about this NCR over this forum.You may also like to check out Google help documentation regarding the country redirections from here.

Elegant 'MailTo' Replacement

Elegant 'MailTo' Replacement

MailTo tags have become a bane to all websites since spammers run spam robots which crawl the web to capture the email addresses, add to their catalogs and send spams to them. I just thought of sharing with others a simple JavaScript function which would trigger open the default email client instead of having mailto: embedded in the HTML Page.

Just have the following function included in your webpage

<script language='Javascript'>
function WriteMailTo(user,domain)
location.replace ('mailto:'+user+'@'+domain);

And whereever you want to invoke the mailto, just called WriteMailTo('user','') and the user's default email client should be launching (if configured) without any hassles.

Contacts import utility from Web2Project to Addressbook

I have been using Web2Project for planning my personal and professional tasks for a few years now. Now I have bifurcated the tools into the following:

Project PierAddress Book The only issue I had was to import my addressbook from Web2Project to AB. PP is a different animal. It does not serve as a comprehensive candidate for addressbook and hence I needed this bifurcation. 
I wrote up a following simple script to import the contacts to AB. The pre-requisite for this script is to hop on to PhpMyAdmin, export the contacts as a PHP array and then  modify the path in our import script to whatever you downloaded from PhpMyAdmin.
Our import script would explode the entries as SQL scripts into the browser window. Copy them and execute into PhpMyAdmin AB database to have the contacts imported.

Script URL: