Cara Menyembunyikan Links dengan JavaScript

By On Wednesday, February 20th, 2013 Categories : Sains

Cara Menyembunyikan Link URL dengan JavaScript ketika url diarahkan ke suatu links name – untuk menyembunyikan links tersebut dibutuhkan beberapa fungsi dengan javascript yang ditaruh diantara tags seperti berikut ini:

< head>

< script language="JavaScript" type="text/javascript">
// Tambahkan Beberapa URL Links seperti berikut ini
function gexcess(){window.open(‘http://www.g-excess.com/index.php’);}
function pojokpedia(){window.open(‘http://www.pojokpedia.com’);}
< /head>

Untuk menggunakannya cukup dengan code seperti berikut ini yang diletakkan pada daerah yang diinginkan:
< span onclick=gexcess();>Gexcess< /span>
< span onclick=pojokpedia();>Pojok Pedia< /span>

Sumber URL

Mad in America: Bad Science, Bad Medicine and the Enduring Mistreatment of the Mentally Ill, Olinguito, de La A a la Z!/Olinguito, from A to Z!, The Bad-Ass Librarians of Timbuktu: And Their Race to Save the World’s Most Precious Manuscripts, Lizzie Delivers: A Pride and Prejudice Variation, Mason Dixon - Monster Hunter: A New Templars Novella, Payback (Viking Bastards MC, #2), Beautiful Ruins, When It Hits You, Outback Billionaire, Why Suffering?: Finding Meaning and Comfort When Life Doesn't Make Sense, Down for Him 3: A Ride or Die Love Story, Checkmate: This is Effortless - Drew & Courtney #2 (Checkmate, #4), Death Turns a Trick (Rebecca Schwartz, #1), The Marriage Lie, Southern Charmed, Colored Pencil Painting Portraits: Master a Revolutionary Method for Rendering Depth and Imitating Life, Ruin and Rising (The Grisha, #3), Tom, Clinical Psychopharmacology Made Ridiculously Simple