swtgrl55
04-11-2003, 06:24 AM
this site that i saw wen u right click it a msg cums up but it cums out like as a marquee... i'm probably makin complete nonsense so i'll juss show u wat it looks like...click here (http://www.geocities.com/xxfroztieflamezxx/azn.html) does ne1 noe the code to do this?
epolady
04-11-2003, 06:39 AM
You could take the source code from that site (which proves it doesn't work) or edit this to your needs http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm
swtgrl55
04-11-2003, 07:06 AM
how do u take the source code 4rm the site? (...i'm really srry i'm askin all these questions...)
epolady
04-11-2003, 07:28 AM
Takin' the easy way out huh? This is from her source (View> Source on any IE browser)
<style>
<!--
#ie5menu{
position:absolute;
width:170px;
border:2px solid pink;
background-color:black;
font-family:tempus sans itc;
font-size:12;
line-height:14px;
cursor:n-resize;
visibility:hidden;
}
.menuitems{
padding-left:12px;
padding-right:12px;
}
-->
</style>
<script language="JavaScript1.2">
//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=0
function showmenuie5(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
if (rightedge<ie5menu.offsetWidth)
ie5menu.style.left=document.body.scrollLeft+event. clientX-ie5menu.offsetWidth
else
ie5menu.style.left=document.body.scrollLeft+event. clientX
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.cl ientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.cl ientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="black"
event.srcElement.style.color="red"
if (display_url==1)
window.status=event.srcElement.url
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="black"
event.srcElement.style.color="white"
window.status=''
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
</script>
<!--[if IE]>
<div id="ie5menu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" target="_new" url="mailto:FrostiFlamez@hotmail.com">
<marquee>ummm...ahem.........loser</marquee><br>
</div>
</div>
<![endif]-->
<script language="JavaScript1.2">
document.oncontextmenu=showmenuie5
if (document.all&&window.print)
document.body.onclick=hidemenuie5
</script>
swtgrl55
04-11-2003, 07:38 AM
if i did the hard way i wud be 50... hehe