Show Hide Javascript

A Simple hide and show javascript code

function show(menuName) {
var myVar= document.getElementById(menuName);
myVar.style.display = ‘block’;
}

function hide(menuName) {
var myVar = document.getElementById(menuName);
myVar.style.display = ‘none’;
}

Website and Fengshui…

By following feng shui guidelines and techniques, you can build and design a business website that is not only visually attractive but also attractive to wealth and prosperity. The elements that are part of a business website are somehow equivalent to the objects distributed through a working space since the website is the electronic version of the actual business’ offices. Therefore, the website design and the elements that will be in it should follow feng shui guidelines in order to be properly balanced.

Continue reading “Website and Fengshui…”

How can I create expandable post summaries on blogspot.com?

This great and usefull tutorial i found on isnaini.com about spliting your post on your blogger or blogspot.com (in new blogger), okay cut to the chase

first log in to your blogger.com choose any blog you want to edit click on layout links and then click edit html

please notify that you have to check Expand Widget Templates in order see all your template code.

insert these codes

Before and after }]]>

second find these line


and paste after it these code


Read More..

in order to this method to work you have to do this way (in edit html mode)

Here is lies your posts
the rest of your posting

Kembali ke Laptop

“Back to Laptop” seems to the most famous thing to say… sentence introduced by Comedian Tukul Arwana in a national television show “Empat Mata” has became a fever even among the House of Representatives members…they just can’t stand the heat of Tukul’s idiom so they decide to buy laptop for 550 house of representatives member…another billions to waste.

Bali Calendar, Events, Gigs

There are so many religious holidays in Bali, a few big ones are Nyepi, Pagerwesi, Saraswati, Galungan/Kuningan, and so on. This is not including Odalan, or Purnama, which is featured to local communities (Banjar) or person who group to family pura (Sanggah).

Baliupdate.info is a website that can be your stop shopping to know when and where religious activities happened, and even more, the website also list events, happenings, performances and unique events in Bali like Kuta Festivals.

So, Got calendar in Bali ?

validasi email

Untuk memeriksa nilai sebuah email field yang dikirim melalui form (pakai saja javascript.)

  • tambahkan onSubmit=”return validateFields();”
    yang akan mengeksekusi fungsi javascript
  • misalkan sebuah ‘input field’ dengan type=’text’ ‘name’=email
  • Kita buat fungsi pemeriksaannya dengan javascript, yang bisa diletakkan setelah kode <BODY>

Dibawah ini contoh yang dikenali sebagai email yang valid

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

<script language="JavaScript">
function validateFields(){
var form = document.myForm
var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
if(emailfilter.test(form.email.value)==false){
alert('Please enter a valid email address.');
return false;
}
else{
alert('this is valid email address.');
}
}
</script>

<!–SAMPLE FORM ——————————–>

< form name="myForm" action= onSubmit="return validateFields();">
<input name="email" type="text">
<input type="submit" name="Submit" value="Submit" class="button">
</form>
Bali Web Maker © 2026. All Rights Reserved.
Designed by MotoPress.