Re: Mouseover question...

From: Date: Wed, 08 Jan 2003 23:32:11 +0000
Subject: Re: Mouseover question...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-24677@lists.php.net to get a copy of this message
This is not a mouseover. This builds the links for the popup window that appears when you click on the event in the calendar. Go to the common.php file and find the dLink() function. -Micah On Wed, 2003-01-08 at 09:45, NIPP, SCOTT V (SBCSI) wrote: > OK, this isn't really a DB question, but it is definitely a PHP > question. I am working on customizing a calendar application for my group's > use and noticed that there is a function that has to do with a mouseover > effect. The problem is that this mouseover does not appear to do anything. > Could one of you gurus take a look at this function and see if you can spot > anything wrong? Thanks. > > //////////////////////////////////////////////////////////////// > // getEvent() displays events on the calendar for IE browsers // > // This distinction is made because IE is currently the only // > // browser on which the javascript mouseover effects work. // > //////////////////////////////////////////////////////////////// > function getEventIE($ID, $LinkTitle, $AbbrTitle, $Date) { > $LinkTitle =ereg_replace("'","&#146;",$LinkTitle); > $AbbrTitle =ereg_replace("'","&#146;",$AbbrTitle); > echo "<script> > > dLink('./event.php?ID=$ID&Date=$Date','$LinkTitle','$AbbrTitle'); > </script>\n\n"; > } > > This function is called from another page as such: > > if ($ver >= 4) { > echo "<br>\n"; > getEventIE($CDCI, $CDTi, "$showName", $queryDate); > > Thanks again. > > Scott Nipp > Phone: (214) 858-1289 > E-mail: sn4265@sbc.com > Web: http:\\ldsa.sbcld.sbc.com -- Raincross Technologies Development and Consulting Services http://www.raincross-tech.com

« previous php.db (#24677) next »