Exhibition Global Marketing System |
Change language |
||||||||
|
|||||||||
|
JavaScript (events calendar) Calendar export is scripted using JavaScript and requires enabled Java for the visitor’s browser (as a rule, this option is enabled by default). As the result you get the chart containing the list of exhibitions with dates and short descriptions. To run the export procedure you should insert the following HTML script: Script configuration code: <script language="JavaScript"> function expoConfigs() { hrefDomain = 'www.expotop.com'; hrefCatalogue = 'Exhibition'; cssFontFace = 'Tahoma'; cssTr1Bg = '#ffffff'; cssTr2Bg = '#dde2eb'; cssTrBorder = '#C1DAD7'; cssTr1FontColor = '#4f6b72'; cssTr2FontColor = '#45526a'; tableHeader = new Array("Name", "Country / City", "Date"); /* JSON Params */ jsonParams.jumpToNow=true; jsonParams.resultsNum = 15; //jsonParams.regionId = 0; //jsonParams.countryId = 0; //jsonParams.cityId = new Array(252, 266); //jsonParams.categoryId = 0; //jsonParams.subCategoryId = 0; //jsonParams.exCenter = 6; //jsonParams.organizerId = 6; } </script> Script access code with utf-8 encoding: <script language="JavaScript" src="http://ws.expopromoter.com/js/v1/expo.js" type="text/javascript"></script> Script access code with windows-1251 encoding: <script language="JavaScript" src="http://ws.expopromoter.com/js/v1/expo_cp1251.js" type="text/javascript"></script> Script access code with koi8-r encoding: <script language="JavaScript" src="http://ws.expopromoter.com/js/v1/expo_koi.js" type="text/javascript"></script> List of the text display parameters: hrefDomain – site to view complete information hrefCatalogue - catalogue; cssFontFace – font of the text in the charts cssTr1Bg – color of the background of even lines in the chart cssTr2Bg – color of the background of odd lines in the chart cssTrBorder – color of the chart border cssTr1FontColor – color of the text in even lines cssTr2FontColor - color of the text in odd lines tableHeader – chart header cssTrHeadBg – color of background of the chart header cssTrHeadFontColor - color of the text in the chart header List of the parameters to control the retrieved information: If the value of the parameter is ‘0’, this parameter will not be counted jsonParams.resultsNum – number of exhibitions in the displayed chart; jsonParams.regionId – region of event; jsonParams.countryId – country of the event; jsonParams.cityId – town of the event; jsonParams.categoryId – category of the exhibition; jsonParams.subCategoryId – subcategory of the exhibition; jsonParams.exCenter – place of the exhibition; jsonParams.organizerId – organizer of the exhibition; You can also select several values of the parameter – to do that you should set the values of the parameter in the array. For example, if you want to show the exhibitions in Kyiv and Sevastopol, you should set the value ‘new Array(254, 266)’ for the parameter ‘jsonParams.cityId.’ The result of the script operation: Contact us for support. Please, keep it in your mind that according to the terms of use of the ExpoPromoter system you should refer to the source of information. To do that you should install the ‘Button’ on the pages where you use the information from the EGMS ExpoPromoter. |
|||||||||
©
2006-2007 ExpoPromoGroup Ltd. ™ All Rights Reserved |