[Chameleon-dev] [Bug 1544] New: Popup.php: implement POPUPLEFT and
POPUPTOP
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Tue Aug 8 03:53:25 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1544
Summary: Popup.php: implement POPUPLEFT and POPUPTOP
Product: Chameleon
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
Implement support for POPUPLEFT and POPUPTOP so using the HTML template somebody
can influence where the popup window will popup.
Constructor:
$oParent->maAttributes["POPUPTOP"] = new IntegerAttribute( "POPUPTOP", false, 0 );
$oParent->maAttributes["POPUPLEFT"] = new IntegerAttribute( "POPUPLEFT", false, 0 );
GetPopupOptions:
// Extra Optional Values
if (isset($this->moParent->maParams["POPUPTOP"]))
{
$miPopuptop = $this->moParent->maParams['POPUPTOP'];
$szResult .= ',top='. $miPopuptop . ',screenY='. $miPopuptop;
}
if (isset($this->moParent->maParams['POPUPLEFT']))
{
$miPopupleft = $this->moParent->maParams['POPUPLEFT'];
$szResult .= ',left='. $miPopupleft . ',screenX='. $miPopupleft;
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list