[b]Original Code:[/b]
Javascript.internet.com
[b]Created by:[/b]
Me..

[b]My Team[/b]

The DiabolicDuchShiKnights2008

[b]Requirements[/b]

Sacrificial Groups Box (box id 8)
ok this code is basically a phone in your profile.. dial a certain number combination to redirect the page to another assigned page..

ok then.. [b]Let's start! [/b]

[b]Paste this outside the loader[/b]
[quote]var phone_num='';
var timerID = null;
var timerRunning = false;
function but1()
{
phone_num = phone_num + '1';
chknum();
}
function but2()
{
phone_num = phone_num + '2';
chknum();
}
function but3()
{
phone_num = phone_num + '3';
chknum();
}
function but4()
{
phone_num = phone_num + '4';
chknum();
}
function but5()
{
phone_num = phone_num + '5';
chknum();
}
function but6()
{
phone_num = phone_num + '6';
chknum();
}
function but7()
{
phone_num = phone_num + '7';
chknum();
}
function but8()
{
phone_num = phone_num + '8';
chknum();
}
function but9()
{
phone_num = phone_num + '9';
chknum();
}
function but0()
{
phone_num = phone_num + '0';
chknum();
}
function chknum()
{
[b]//urls are placed below bordz[/b]
if (phone_num=="[b]any 1-8 digit number[/b]")
document.location="[b]Corresponding URL here[/b]";
if (phone_num=="[b]any 1-8 digit number[/b]")
document.location="[b]Corresponding URL here[/b]";
document.board.pn.value=phone_num;
}
function clearit()
{
phone_num = "";
document.board.pn.value=phone_num;
}[/quote]
just repeat the statement:
[quote]if (phone_num=="[b]any 1-8 digit number[/b]")
document.location="[b]Corresponding URL here[/b]";[/quote]
to add more url directories..

[b]Then Paste this inside the loader [/b](note: this will replace group box)
[quote]var draco = "<br><form name=\"board\">"+
"<center>"+"<table BORDER CELLSPACING=0 CELLPADDING=0 COLS=3 WIDTH=\"135\" BGCOLOR=\"#000000\" >"+"<tr align=\"center\">"+"<b><font color=\"#ffffff\" size=\"2\">THE DIALER v1.0</font></b></tr></table>"+
"<table BORDER CELLSPACING=0 CELLPADDING=0 COLS=3 WIDTH=\"135\" BGCOLOR=\"#000000\" >"+
"<tr ALIGN=CENTER>"+
"<td><input type=button value=\" 1 \"onClick=\"but1(); window.focus()\"></td><td><input type=button value=\" 2 \"onClick=\"but2(); window.focus()\"></td><td><input type=button value=\" 3 \"onClick=\"but3(); window.focus()\"></td>"+
"</tr><tr ALIGN=CENTER>"+
"<td><input type=button value=\" 4 \"onClick=\"but4(); window.focus()\"></td><td><input type=button value=\" 5 \"onClick=\"but5(); window.focus()\"></td><td><input type=button value=\" 6 \"onClick=\"but6(); window.focus()\"></td>"+
"</tr><tr ALIGN=CENTER>"+
"<td><input type=button value=\" 7 \"onClick=\"but7(); window.focus()\"></td><td><input type=button value=\" 8 \"onClick=\"but8(); window.focus()\"></td><td><input type=button value=\" 9 \"onClick=\"but9(); window.focus()\"></td>"+
"</tr><tr ALIGN=CENTER>"+
"<td COLSPAN=\"3\">"+
"<center><table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 WIDTH=\"100%\" >"+
"<tr>"+
"<td ALIGN=CENTER WIDTH=\"50%\"><input type=button value=\" 0 \"onClick=\"but0(); window.focus()\"></td><td ALIGN=CENTER WIDTH=\"50%\"><input type=button value=\"Reset\"onClick=\"clearit(); window.focus()\"></td>"+
"</tr>"+
"</table></center>"+
"</td>"+
"</tr><tr>"+
"<td ALIGN=CENTER COLSPAN=\"3\"><input type=text name=pn size=\"10\"></td>"+
"</tr>"+
"</table></center><center></form>"+
"<p>"+"<table BORDER CELLSPACING=0 CELLPADDING=0 COLS=3 WIDTH=\"135\" BGCOLOR=\"#000000\" >"+"<tr align=\"center\">"+"<i><font color=\"#ffffff\">Designed By: Dracoknight09</font></i></tr></table></center>";
document.getElementById('content_8').style.height='100%';
document.getElementById('content_8').style.overflowY='hidden';
document.getElementById('content_8').innerHTML = "<table width='100%'><tr><td align='center'>"+draco+"</td></tr></table>";
var draco = document.getElementById("8").getElementsByTagName("h2")[0];
draco.innerHTML="Dialer";[/quote]
and your done!

You can edit the hex of the tables to customize your DIALER..
You can also add directory text at the bottom of the inner.html..

that's it!

[b]PREVIEW:[/b][url]http://profiles.friendster.com/56419498[/url]
Last edited by dracoknight09 (2008-02-10 09:19:13)