Click here to Skip to main content
16,007,885 members
Home / Discussions / Web Development
   

Web Development

 
QuestionLive update of events using Ajax-Push Pin
vbss7522-Aug-07 1:55
vbss7522-Aug-07 1:55 
QuestionChange system datetime using ASP Pin
TPN21-Aug-07 22:13
TPN21-Aug-07 22:13 
AnswerRe: Change system datetime using ASP Pin
Fred_Smith21-Aug-07 22:27
Fred_Smith21-Aug-07 22:27 
Questionpost a message Pin
michael_jhons21-Aug-07 21:20
michael_jhons21-Aug-07 21:20 
AnswerRe: post a message Pin
Michael Sync21-Aug-07 21:33
Michael Sync21-Aug-07 21:33 
AnswerRe: post a message Pin
Vasudevan Deepak Kumar22-Aug-07 4:27
Vasudevan Deepak Kumar22-Aug-07 4:27 
QuestionIntegrating flash with asp Pin
nalinithiyagu21-Aug-07 19:37
nalinithiyagu21-Aug-07 19:37 
QuestionWhy won't this work in Firefox or Netscape? Pin
chaddolan21-Aug-07 16:44
chaddolan21-Aug-07 16:44 
This code will work in IE6 but not in Firefox or Netscape. I believe that the event.clientX is the problem but I am not sure how to fix it. Any ideas? I know I am just over looking something.
<br />
// JScript File<br />
//<br />
//<br />
//Class constructor--> Popup div tag<br />
function newPopup(current)<br />
{<br />
    //class variables<br />
    this.idName = current + "popup";<br />
    this.text = "Click here.";<br />
    this.browser = navigator.appName;<br />
    //class methods and functions<br />
    this.displayPopup = display;<br />
}<br />
//<br />
//<br />
//Class Method displays the div tag on the html document<br />
function display()<br />
{<br />
    document.write("<div id='" + this.idName + "' class='popup'>");<br />
    document.write("<div class='subPopup'>" + this.text + "</div>");<br />
    document.write("</div>");<br />
}<br />
//<br />
//<br />
//Mouse Over Event --> add this function to a tag's onmouseover and<br />
//onmousemove events<br />
function showPopup(current)<br />
{<br />
    var id;<br />
    var x;<br />
    var y;<br />
    //<br />
    id = current + "popup";<br />
    x = event.clientX + top.document.body.scrollLeft;<br />
    y = event.clientY + top.document.body.scrollTop - 40;<br />
    //<br />
    top.document.getElementById(id).style.display = "block";<br />
    top.document.getElementById(id).style.left = x + "px";<br />
    top.document.getElementById(id).style.top = y + "px";<br />
}<br />
//<br />
//<br />
//Mouse Out Event --> add this function to a tag's mouseout event<br />
function hidePopup(current)<br />
{<br />
    var id;<br />
    id = current + "popup";<br />
    top.document.getElementById(id).style.display = "none";<br />
}<br />


Thanks,

Chad Dolan
AnswerRe: Why won't this work in Firefox or Netscape? Pin
Michael Sync21-Aug-07 21:47
Michael Sync21-Aug-07 21:47 
GeneralRe: Why won't this work in Firefox or Netscape? [modified] Pin
chaddolan22-Aug-07 0:54
chaddolan22-Aug-07 0:54 
GeneralRe: Why won't this work in Firefox or Netscape? Pin
Michael Sync22-Aug-07 3:07
Michael Sync22-Aug-07 3:07 
GeneralRe: Why won't this work in Firefox or Netscape? Pin
chaddolan22-Aug-07 7:07
chaddolan22-Aug-07 7:07 
GeneralRe: Why won't this work in Firefox or Netscape? Pin
Michael Sync22-Aug-07 7:46
Michael Sync22-Aug-07 7:46 
AnswerRe: Why won't this work in Firefox or Netscape? Pin
Guffa21-Aug-07 22:57
Guffa21-Aug-07 22:57 
GeneralRe: Why won't this work in Firefox or Netscape? Pin
chaddolan22-Aug-07 1:06
chaddolan22-Aug-07 1:06 
QuestionMouse hooking causing issues with WebBrowser dropdown control - Please Help! Pin
Sheeds21-Aug-07 16:07
Sheeds21-Aug-07 16:07 
Questionload images without postback Pin
_crs_21-Aug-07 12:04
_crs_21-Aug-07 12:04 
AnswerRe: load images without postback Pin
Christian Graus21-Aug-07 12:43
protectorChristian Graus21-Aug-07 12:43 
GeneralRe: load images without postback Pin
_crs_21-Aug-07 14:29
_crs_21-Aug-07 14:29 
AnswerRe: load images without postback Pin
DavidNohejl23-Aug-07 5:35
DavidNohejl23-Aug-07 5:35 
QuestionHow to disable the screen while data exchange ??? Pin
devboycpp21-Aug-07 7:24
devboycpp21-Aug-07 7:24 
AnswerRe: How to disable the screen while data exchange ??? Pin
Michael Sync21-Aug-07 16:27
Michael Sync21-Aug-07 16:27 
QuestionResize the table in MSHTML Pin
SAKURAVN20-Aug-07 23:20
SAKURAVN20-Aug-07 23:20 
QuestionUser Roles Pin
Illegal Operation20-Aug-07 23:08
Illegal Operation20-Aug-07 23:08 
QuestionflvPlayer compatible with c#.net 2.0 Pin
harryforum20-Aug-07 20:46
harryforum20-Aug-07 20:46 

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.