Menu
please
<i>
</i><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<!-- ripcurlksm, kmccormick05 //-->
<p>Write your 5 favorite colors: <br>
1
<script type="text/javascript">
var offsetT=25
var offsetL=2
var caller_Element=null
var autoFill1=new Array();
autoFill1[0]="Red"
autoFill1[1]="Green"
autoFill1[2]="Blue"
autoFill1[3]="Purple"
autoFill1[4]="Yellow"
autoFill1[5]="Black"
autoFill1[6]="White"
var autoFill2=new Array();
autoFill2[0]="Ultimater"
autoFill2[1]="Ultimate"
var autoFill3=new Array();
autoFill3[0]="Umbrella"
autoFill3[1]="Ultra"
var autoFill4=new Array();
autoFill4[0]="Umbrella"
autoFill4[1]="Ultra"
var autoFill5=new Array();
autoFill5[0]="Umbrella"
autoFill5[1]="Ultra"
autoFill5[2]="Ulimater"
autoFill5[3]="Ultra"
autoFill5[4]="Red"
autoFill5[5]="Green"
autoFill5[6]="Blue"
autoFill5[7]="Purple"
autoFill5[8]="Yellow"
autoFill5[9]="Black"
autoFill5[10]="White"
function autoFiller(This,arr){
var possiblePeople=[]
if(This.value.length==0)return UpdateChoices(possiblePeople,This)
for(var i=0;i<arr.length;i++)
if(This.value.substring(0,This.value.length).toLowerCase()==arr[i].substring(0,This.value.length).toLowerCase()&&This.value.toLowerCase()!=arr[i].toLowerCase())
possiblePeople[possiblePeople.length]=arr[i]
UpdateChoices(possiblePeople,This)
}
function UpdateChoices(arr,This){
var el=document.getElementById("autoCompleter")
if(arr.length==0){
el.innerHTML="";
el.style.display="none";
return false
}
el.innerHTML=createHTML_List(arr,This)
el.style.display="inline";
if("posLeft" in el){
el.posLeft=(getPositionLeft(This)+offsetL)+"px"
el.posLeft=(getPositionTop(This)+offsetT)+"px"
}
else if("style" in el && "left" in el.style){
el.style.left=(getPositionLeft(This)+offsetL)+"px"
el.style.top=(getPositionTop(This)+getHeight(This))+"px"
}
}
function createHTML_List(arr,This){
caller_Element=This
var outHTML=""
for(var i=0;i<arr.length;i++){
outHTML+="<span id=s style='cursor: pointer;' onmouseover='highlight_span(this)' onmouseout='unhighlight_span(this)'onclick='autoC_updater(""+arr[i]+"")'>"+arr[i]+"</span>"
if(i!=arr.length)outHTML+="<br>"
}
return outHTML
}
function autoC_updater(picked){
UpdateChoices([])
caller_Element.value=picked
}
function highlight_span(This){
This.style.backgroundColor="highlight"
This.style.color="menu"
}
function unhighlight_span(This){
This.style.backgroundColor="skyblue"
This.style.color="white"
}
function getPositionLeft(This){
var el = This;var pL = 0;
while(el){pL+=el.offsetLeft;el=el.offsetParent;}
return pL
}
function getPositionTop(This){
var el = This;var pT = 0;
while(el){pT+=el.offsetTop;el=el.offsetParent;}
return pT
}
function getHeight(This){
if("offsetHeight" in This)return This.offsetHeight
return offsetT
}
</script>
<input type="text" onkeyup="autoFiller(this,autoFill1)">
<br>
2
<input type="text" onkeyup="autoFiller(this,autoFill2)">
<br>
3
<input type="text" onkeyup="autoFiller(this,autoFill3)">
<br>
4
<input type="text" onkeyup="autoFiller(this,autoFill4)">
<br>
5
<input type="text" onkeyup="autoFiller(this,autoFill5)">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
<span id="autoCompleter" style="display:none; position: absolute; z-index: 200; background-color: skyblue; border: 2px solid royalblue; color: white; cursor: default; left: -1000px; top: -1000px;"></span>
</body>
</html>
Gmail stores all your known email addresses in a file in your tempertaroy internet files.
This may be where gmail gets the infomation to do that script that u made.
I think it may be a secutary risk?
Could some spammer access that file and spam people?[/QUOTE]
0.1.9 — BETA 5.19