Advertisement
Advertisement
| 02.19.2008 at 10:41AM PST, ID: 23175248 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: |
<%
'sHTMLSlideshow = cmsGetSlideshow(2)
on error resume next
'// Load the master XML template
set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.async = "true" '// Allow access to other processes
xmlDoc.preserveWhiteSpace = True
sMasterFile = server.MapPath("/" & session("sLang") & "/wms/slideshows/slideshow-master.xml")
if not (xmlDoc.load (sMasterFile)) then
sErrorMsg = "Failed to locate master slideshow configuration file."
end if
if err <> 0 then sErrorMsg = err.Description
'// Locate the slideshow element
if len(sErrorMsg) = 0 then
set xmlNode = xmlDoc.getElementsByTagName("slideshow")(0)
if err <> 0 then sErrorMsg = err.Description
end if
'// Append customisable attributes
if len(sErrorMsg) = 0 then
Set xmlAtt = xmlDoc.createAttribute("displayTime"): xmlAtt.text = "7"
xmlNode.setAttributeNode(xmlAtt):set xmlAtt = nothing
Set xmlAtt = xmlDoc.createAttribute("transitionSpeed"): xmlAtt.text = "0.7"
xmlNode.setAttributeNode(xmlAtt):set xmlAtt = nothing
'// .. [cut]
end if
'// Debug
if err <> 0 then sErrorMsg = err.Description
if len(sErrorMsg) = 0 then
response.Write "XML:<br />" & xmlDoc.xml
else
response.Write "<span style='color: red'>" & sErrorMsg & "</span>"
end if
set xmlNode = nothing
set xmlDoc = nothing
response.end
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<slideshow motionType="None" motionEasing="easeInOut" slideshowX="center" slideshowY="center" bgOpacity="100" useHtml="true" autoHideNav="true" navHiddenOpacity="15" navX="center" navY="center" btnShadowOpacity="70" btnGradientOpacity="20" btnScale="120" btnSpace="10" navBgAlpha="95" navCornerRadius="20" navBorderWidth="2" navBorderColor="FFFFFF" navBorderAlpha="100" navPadding="10" tooltipStrokeColor="000000" tooltipFillAlpha="80" tooltipStroke="0" tooltipStrokeAlpha="0" tooltipCornerRadius="8" loaderWidth="200" loaderHeight="1" loaderOpacity="100" attachCaptionToImage="true" showMusicButton="false" music="" musicVolume="100" musicMuted="true" musicLoop="true" watermark="" watermarkX="625" watermarkY="30" watermarkOpacity="100" watermarkLink="" watermarkLinkTarget="_blank" captionsY="bottom">
</slideshow>
|