This file will be optimized and embedded in the HTML that is returned for a meeting search list result and for a map result. More...
Functions | |
| function | GetScrollPos () |
| This function computes the current window scroll position. It is used to determine where to vertically orient the "throbber" and the single meeting "window" displays. | |
| function | findPosX (obj) |
| Gets the left side position, in absolute pixels, of a given DOM object. | |
| function | findPosY (obj) |
| Gets the top side position, in absolute pixels, of a given DOM object. | |
| function | GetWindowSize () |
| Returns the outside dimensions of the current browser window, in pixels. | |
| function | HideThrobber () |
| Simply hides the "throbber" div. | |
| function | DisplayThrobber () |
| Displays and centers the "throbber" div on the screen. | |
| function | MakeMainMap () |
| This function is called when the single meeting data is displayed. It fills the meeting's map square with a Google Map. | |
| function | HideMeetingDetails () |
| This "closes" the single meeting details "window." It also sets the background to allow printing. | |
| function | DisplayMeetingDetails (in_ID, in_loc, in_id_call) |
| This calls an AJAX function to fetch the details for a meeting and display it on the screen. | |
| function | DisplayMeetingDetailsCallback (in_text, in_id) |
| This is the AJAX callback for the single meeting detail display. It's where most of the work is done. The meeting HTML is contained in the text, but it is preceded by two floating point numbers, separated by '##$##'. These are the longitude and latitude of the meeting, and we need to parse them out first, in order to set the map. We then send the rest of the text to the div we have set aside for it, and we position that div so that it is at the top of the screen, no matter where we are. We also set the background to not print, so that printing will show only the meeting details. | |
| function | EditMeetingLink (in_meeting_id) |
| This function sends the visitor to the edit page for the given meeting. | |
| function | EditMeetingLinkCallback (in_text, in_meeting_id) |
| This function sends the visitor to the edit page for the given meeting. | |
| function | ContactUsWait () |
| This function displays the meeting contact form wait window (Blank, with throbber). | |
| function | ContactUsLink (in_meeting_id, in_single_meeting_uri) |
| This function displays the meeting contact form. | |
| function | ContactUsLinkCallback (in_text) |
| This function responds with the contact form, and fills in the div. | |
| function | SubmitContact () |
| This function sends the contact us message. | |
Variables | |
| var | gicon = new GIcon() |
| var | map_lat = 0 |
| Safari requires that the map be loaded at the end of the page load, so these are semaphores. | |
| var | map_lng = 0 |
| gicon | image = "##IMAGE_DIR##/NAMarker.png" |
| gicon | printImage = "##IMAGE_DIR##/NAMarker.gif" |
| gicon | mozPrintImage = "##IMAGE_DIR##/NAMarker.png" |
| gicon | iconSize = new GSize(23, 32) |
| gicon | shadow = "##IMAGE_DIR##/NAMarkerS.png" |
| gicon | shadowSize = new GSize(37, 32) |
| gicon | iconAnchor = new GPoint(12, 32) |
| gicon | infoWindowAnchor = new GPoint(12, 0) |
| gicon | transparent = "##IMAGE_DIR##/NAMarkerX.png" |
| gicon | imageMap = [11,0,18,2,23,8,23,15,11,32,0,14,0,7,4,0] |
| var | g_multi_icon = new GIcon ( gicon ) |
| var | giconCenter = new GIcon() |
| var | giconCenterG = new GIcon ( giconCenter ) |
This file will be optimized and embedded in the HTML that is returned for a meeting search list result and for a map result.
This file is part of the Basic Meeting List Toolbox (BMLT).
Find out more at: http://magshare.org/bmlt
BMLT is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
BMLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this code. If not, see <http://www.gnu.org/licenses/>.
| function ContactUsLink | ( | in_meeting_id, | |
| in_single_meeting_uri | |||
| ) |
This function displays the meeting contact form.
| in_meeting_id | An integer. The ID of the meeting to edit. |
| in_single_meeting_uri | A string. The URI of the single meeting on the root server. |
| function ContactUsLinkCallback | ( | in_text | ) |
This function responds with the contact form, and fills in the div.
| in_text | This is the HTML to display. |
Referenced by ContactUsLink(), and SubmitContact().
| function ContactUsWait | ( | ) |
This function displays the meeting contact form wait window (Blank, with throbber).
Referenced by ContactUsLink(), and SubmitContact().
| function DisplayMeetingDetails | ( | in_ID, | |
| in_loc, | |||
| in_id_call | |||
| ) |
This calls an AJAX function to fetch the details for a meeting and display it on the screen.
| in_ID | An integer. The meeiting ID. |
| in_loc | A string. The URI of the AJAX handler file on the server. |
| in_id_call | An integer with the meeting's ID. If provided, the edit call is made with the ID. |
Referenced by UnDeleteMeetingCallback(), and VisitMeeting().
| function DisplayMeetingDetailsCallback | ( | in_text, | |
| in_id | |||
| ) |
This is the AJAX callback for the single meeting detail display. It's where most of the work is done. The meeting HTML is contained in the text, but it is preceded by two floating point numbers, separated by '##$##'. These are the longitude and latitude of the meeting, and we need to parse them out first, in order to set the map. We then send the rest of the text to the div we have set aside for it, and we position that div so that it is at the top of the screen, no matter where we are. We also set the background to not print, so that printing will show only the meeting details.
| in_text | This is the text returned by the AJAX handler. It is segregated into 3 parts, separated by '##$##'. |
| in_id | An integer with the meeting's ID. If provided, the edit call is made with the ID. |
Referenced by DisplayMeetingDetails().
| function DisplayThrobber | ( | ) |
Displays and centers the "throbber" div on the screen.
Referenced by DisplayMapMeetings(), DisplayMeetingDetails(), and EditMeetingLink().
| function EditMeetingLink | ( | in_meeting_id | ) |
This function sends the visitor to the edit page for the given meeting.
| in_meeting_id | An integer. The ID of the meeting to edit. |
Referenced by CreateMeetingCallback(), DisplayMeetingDetailsCallback(), and RevertMeetingCallback().
| function EditMeetingLinkCallback | ( | in_text, | |
| in_meeting_id | |||
| ) |
This function sends the visitor to the edit page for the given meeting.
| in_text | This is the HTML to display. |
| in_meeting_id | The ID of the meeting |
Referenced by EditMeetingLink().
| function findPosX | ( | obj | ) |
Gets the left side position, in absolute pixels, of a given DOM object.
| obj | A reference to a DOM object. The object for which we are getting the position. |
| function findPosY | ( | obj | ) |
Gets the top side position, in absolute pixels, of a given DOM object.
| obj | A reference to a DOM object. The object for which we are getting the position. |
| function GetScrollPos | ( | ) |
This function computes the current window scroll position. It is used to determine where to vertically orient the "throbber" and the single meeting "window" displays.
Referenced by DisplayMeetingDetailsCallback().
| function GetWindowSize | ( | ) |
Returns the outside dimensions of the current browser window, in pixels.
Referenced by ChooseZoom(), and LoadMapMain().
| function HideMeetingDetails | ( | ) |
This "closes" the single meeting details "window." It also sets the background to allow printing.
Referenced by DisplayOneMeeting(), and EditMeetingLink().
| function HideThrobber | ( | ) |
Simply hides the "throbber" div.
Referenced by DisplayMapSearchCallback(), DisplayMeetingDetailsCallback(), EditMeetingLinkCallback(), and WhereAmI_Fail_Final().
| function MakeMainMap | ( | ) |
This function is called when the single meeting data is displayed. It fills the meeting's map square with a Google Map.
Referenced by DisplayMeetingDetailsCallback().
| function SubmitContact | ( | ) |
This function sends the contact us message.
| var g_multi_icon = new GIcon ( gicon ) |
This is one for multiple meetings.
Referenced by CreateMapMarker().
| var gicon = new GIcon() |
Referenced by c_geocoder_browser_edit_meeting(), and CreateMapMarker().
| var giconCenter = new GIcon() |
Referenced by CreateCenterMarker(), and MakeMainMap().
| var giconCenterG = new GIcon ( giconCenter ) |
This one is displayed when we are viewing a filtered search.
Referenced by CreateCenterMarker().
| giconCenter iconAnchor = new GPoint(12, 32) |
| giconCenter iconSize = new GSize(23, 32) |
| giconCenterG image = "##IMAGE_DIR##/NAMarker.png" |
This is an icon for a single NA meeting (Default is a "blue balloon").
This is an icon for the central marker (Default is a black "pin").
Referenced by EInsert().
| giconCenter imageMap = [11,0,18,2,23,8,23,15,11,32,0,14,0,7,4,0] |
| giconCenter infoWindowAnchor = new GPoint(12, 0) |
| var map_lat = 0 |
Safari requires that the map be loaded at the end of the page load, so these are semaphores.
Referenced by DisplayMeetingDetailsCallback(), and MakeMainMap().
| var map_lng = 0 |
Referenced by DisplayMeetingDetailsCallback(), and MakeMainMap().
| giconCenter mozPrintImage = "##IMAGE_DIR##/NAMarker.png" |
| giconCenter printImage = "##IMAGE_DIR##/NAMarker.gif" |
| giconCenter shadow = "##IMAGE_DIR##/NAMarkerS.png" |
| giconCenter shadowSize = new GSize(37, 32) |
| giconCenter transparent = "##IMAGE_DIR##/NAMarkerX.png" |
1.7.4