Click here to Skip to main content
15,894,907 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Error: Web Server Pin
Amol Ravatale20-Mar-06 17:42
Amol Ravatale20-Mar-06 17:42 
GeneralRe: Error: Web Server Pin
HimaBindu Vejella20-Mar-06 17:53
HimaBindu Vejella20-Mar-06 17:53 
AnswerRe: Error: Web Server Pin
HimaBindu Vejella21-Mar-06 17:26
HimaBindu Vejella21-Mar-06 17:26 
QuestionHow to set a div position? Pin
shapper20-Mar-06 0:08
shapper20-Mar-06 0:08 
AnswerRe: How to set a div position? Pin
HimaBindu Vejella20-Mar-06 1:42
HimaBindu Vejella20-Mar-06 1:42 
GeneralRe: How to set a div position? Pin
shapper20-Mar-06 6:04
shapper20-Mar-06 6:04 
GeneralRe: How to set a div position? Pin
HimaBindu Vejella20-Mar-06 17:14
HimaBindu Vejella20-Mar-06 17:14 
GeneralRe: How to set a div position? Pin
sharma sanjeev20-Mar-06 21:14
sharma sanjeev20-Mar-06 21:14 
try this

"tipId" is id of your div
and "fldid" is id of control with respect to which you want to show div

call showtip() and hidetip() where you require



function showTip(tipId,fldid)
{
var coords=getPosition(fldid)
var x=coords.left
var y=coords.top+3
var tipwin=document.getElementById(tipId)
tipwin.style.position="absolute"
tipwin.style.left=x+"px"
tipwin.style.top=y+"px"
tipwin.style.visibility="visible"
tipwin.style.display="block"
var tipcon=document.getElementById('_tipcon')
if(tipcon)
{
if (navigator.appName=="Netscape")
{
tipcon.style.position="absolute"
tipcon.style.left=(x+8)+"px"
tipcon.style.top=(y-9)+"px"
tipcon.style.visibility="visible"
tipcon.style.display="block"
}
else if ((navigator.appName).indexOf("Microsoft")!=-1)
{
tipcon.style.position="absolute"
tipcon.style.left=(x+8)+"px"
tipcon.style.top=(y-13)+"px"
tipcon.style.visibility="visible"
tipcon.style.display="block"
}
}
}

function hideTip(tipId)
{
var tipwin=document.getElementById(tipId)
tipwin.style.visibility="hidden"
tipwin.style.display="none"
var tipcon=document.getElementById('_tipcon')
if(tipcon)
{
tipcon.style.visibility="hidden"
tipcon.style.display="none"
}
}

function getPosition(id)
{
var elem=document.getElementById(id)
var pos={leftBlush | :O ,topBlush | :O }
while(elem)
{
if(elem.style.position=='absolute')
break
pos.left+=elem.offsetLeft
pos.top+=elem.offsetTop+3
elem=elem.offsetParent
}
return pos
}

cheers sanjeev
GeneralRe: How to set a div position? Pin
shapper24-Mar-06 3:27
shapper24-Mar-06 3:27 
QuestionJavascript functions to find mouse coordinates? Pin
KaKa'19-Mar-06 22:25
KaKa'19-Mar-06 22:25 
QuestionparentNode.style.left not working!! Pin
student_rhr19-Mar-06 10:31
student_rhr19-Mar-06 10:31 
AnswerRe: parentNode.style.left not working!! Pin
Guffa19-Mar-06 11:14
Guffa19-Mar-06 11:14 
GeneralRe: parentNode.style.left not working!! Pin
student_rhr19-Mar-06 11:28
student_rhr19-Mar-06 11:28 
QuestionDesperate help! Pin
heskel19-Mar-06 3:06
heskel19-Mar-06 3:06 
AnswerRe: Desperate help! Pin
George L. Jackson19-Mar-06 4:50
George L. Jackson19-Mar-06 4:50 
QuestionPage Cache Pin
militiaware18-Mar-06 3:49
militiaware18-Mar-06 3:49 
QuestionGetting more space on left side of the web page Pin
Sujatha K17-Mar-06 19:23
Sujatha K17-Mar-06 19:23 
Questionserver performance??? Pin
Small Rat17-Mar-06 11:10
Small Rat17-Mar-06 11:10 
AnswerRe: server performance??? Pin
George L. Jackson17-Mar-06 12:09
George L. Jackson17-Mar-06 12:09 
Questionajax implementation Pin
sharma sanjeev17-Mar-06 2:09
sharma sanjeev17-Mar-06 2:09 
AnswerRe: ajax implementation Pin
Vasudevan Deepak Kumar17-Mar-06 3:36
Vasudevan Deepak Kumar17-Mar-06 3:36 
AnswerRe: Is their any Tag in html which solve the purpose of richtextfield Pin
Vasudevan Deepak Kumar17-Mar-06 3:38
Vasudevan Deepak Kumar17-Mar-06 3:38 
Question[Message Deleted] Pin
Mr.V.Stephen16-Mar-06 19:04
Mr.V.Stephen16-Mar-06 19:04 
AnswerRe: Please Check my Code!!!!newbie here!!! Pin
Guffa16-Mar-06 20:18
Guffa16-Mar-06 20:18 
GeneralRe: Please Check my Code!!!!newbie here!!! Pin
Mr.V.Stephen22-Mar-06 19:45
Mr.V.Stephen22-Mar-06 19:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.