[quote][align=center]Want to have shortcut keys on your profile using keys ctrl, shift and alt...
Then follow my step by step tutorial....

first, their are the two methods you can choose...
[b]method 1:[/b] Download this image...
[img]http://i175.photobucket.com/albums/w133/rjay_11/shortcutkeys-1.gif[/img]
[quote]
http://i175.photobucket.com/albums/w133/rjay_11/shortcutkeys-1.gif[/quote]
[b]method 2:[/b] Create your own containing the shift, ctrl and alt key and their functions...You can use paint, adobe photoshop, lunapic or any image hosting...

second, use switpotato's [b]floating image script[/b]
[spoiler]dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='[color=red]
http://i175.photobucket.com/albums/w133/rjay_11/shortcutkeys-1.gif[/color]' width='223px' height='154px' style='filter:none;-moz-opacity:1.0'/></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=dude;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 15;
var startY = 170;
function ml(id)
{
if (document.getElementById)
{
var wek=document.getElementById(id);
}
else if (document.all)
{
var wek=document.all[id];
}
else
{
var wek=document.layers[id];
}
if(document.layers)
{
wek.style=wek;
}
wek.sP = function(x,y) {shino(x,y);};
function shino(x,y)
{
wek.style.left=x;
wek.style.top=y;
}
wek.x = startX;
if (verticalpos=="fromtop")
{
wek.y = startY;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
wek.y = pageYOffset + innerHeight;
}
else
{
wek.y = document.body.scrollTop + document.body.clientHeight;
}
wek.y -= startY;
}
return wek;
}
window.stayTopLeft = function () {boyant();};
function boyant()
{
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset;
}
else
{
var tenten = document.body.scrollTop;
}
ftlObj.y += (tenten + startY - ftlObj.y)/8;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset + innerHeight;
}
else
{
var tenten = document.body.scrollTop + document.body.clientHeight;
}
ftlObj.y += (tenten - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
wakoko=setTimeout("stayTopLeft()", 50);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
BoyantDiv();[/spoiler]
change the [color=red]red[/color] part with your image url you construct or download...This will serve as the guide of the viewer to know the shortcut keys on your profile...

third, put this code on your compile js...
[spoiler]document.write('<body onkeydown="isKeyPressed(event)">') ;
function isKeyPressed(event)
{
if (event.ctrlKey==1)
{
location.href="[color=blue]
http://www.friendster.com/comments.php?uid=71935711[/color]";
}
if (event.shiftKey==1)
{
location.href="[color=red]
http://ramonjr96.multiply.com[/color]";
}
if (event.altKey==1)
{
location.href="[color=orange]
http://theftalk.com[/color]";
}
else
{
right("");
}
}[/spoiler]
change the [color=blue]blue[/color] part w/ your link to ctrl key, change the [color=red]red[/color] part w/ your link to shift key and change the [color=orange]orange[/color] part w/ you link to alt key
--- ---> [url=http://profiles.friendster.com/ramonhelp]PREVIEW[/url] <--- ---












.gif)
![;]](img/smilies/wink.gif)













[/align][/quote]
Last edited by R-A-M-O-N-help (2008-08-24 08:04:34)