Project

General

Profile

« Previous | Next » 

Revision 2319

zoom sur image : ajout loupe + reprise titre

View differences:

branches/sc40/model/sources/academic/gen/_web/widg/img/imgZoom.uiwidget
6 6
  <xsl:if test="not(containWord(@class, 'imgZoomNoTi'))"><xsl:attribute name="title">Cliquez pour agrandir (nouvelle fenêtre)</xsl:attribute></xsl:if>
7 7
</xsl:overlay>
8 8
</sm:postXslFragment>
9
		<sm:otherBuffers keyBuffer="js.postLink">scImgMgr.registerZoom("des:a.imgZoom",{toolbar:1});
9
		<sm:otherBuffers keyBuffer="js.postLink">scImgMgr.registerZoom("des:a.imgZoom",{toolbar:1,mag:1,titlePath:"par:/nsi:/chi:span.capTi"});
10 10
</sm:otherBuffers>
11 11
	</sm:fillTemplateBuffers>
12 12
	<sm:content>
branches/sc40/model/sources/academic/gen/quadra/web/web.skin.doss/css/transf.css
1068 1068
	padding:5px;
1069 1069
}
1070 1070
div.scImgZmTlb{
1071
	margin-top:5px;
1072
	text-align: right;
1071
	min-height:16px;
1072
	left:0;
1073
	right:0;
1073 1074
}
1075
div.scImgZmTi{
1076
	padding-right:16px;
1077
	color:gray;
1078
	font-style: italic;
1079
	text-align: center;
1080
}
1081
.capTi{
1082
}
1074 1083
a.scImgZmBtnCls{
1075
	display: inline-block;
1084
	position:absolute;
1076 1085
	width:16px;
1077 1086
	height:16px;
1087
	right:3px;
1088
	bottom:3px;
1078 1089
	background-repeat: no-repeat;
1079 1090
	background-image:url("../img/scImg/btnCls.gif");
1080 1091
}
......
1084 1095
a.scImgZmBtnCls span{
1085 1096
	display: none;
1086 1097
}
1087

  
1088

  
1089

  
1090 1098
.scImgZmCo img{
1091 1099
	background-color: white;
1092 1100
}
......
1102 1110
	color: #666;
1103 1111
	margin-top:20px;
1104 1112
}
1113
.scImgZmMag{
1114
	-webkit-box-shadow:  0px 0px 4px 4px #888;
1115
	box-shadow:  0px 0px 4px 4px #888;
1116
	-webkit-border-radius: 10px;
1117
	border-radius: 10px;
1118
	cursor:crosshair;
1119
}
1120
.scImgZmMagMax{
1121
	cursor:crosshair;
1122
}
1105 1123
/****************/
1106 1124
/*	 Gallery	 */
1107 1125
/****************/
branches/sc40/model/sources/academic/gen/quadra/web/web.generator
5 5
		<sm:allowedModel sc:refUri="/academic/model/root/webRoot.model"/>
6 6
		<sm:allowedModel sc:refUri="/academic/model/Ue/ue.model"/>
7 7
	</sm:modelRoot>
8
	<sm:mode standard="HTML 4.01 Transitional (Standards mode)" debug="no"/>
8
	<sm:mode standard="HTML 4.01 Transitional (Standards mode)" debug="yes"/>
9 9
	<sm:uiFrame sc:refUri="/academic/gen/quadra/web/web.uiframe"/>
10 10
	<sm:transformerList sc:refUri="/academic/gen/quadra/web/web.transflist"/>
11 11
	<sm:uiTemplateList>
branches/sc40/model/sources/binaries/avi/avi_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="sfile_avi_resVideo resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
branches/sc40/model/sources/binaries/flash/flash_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:chooseOnBinary>
23 27
					<sm:binary>
24 28
						<sm:swfSize>
branches/sc40/model/sources/binaries/flv/flv_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="sfile_flv_resVideo resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:chooseOnBinary>
23 27
					<sm:binary>
24 28
						<sm:flvSize>
branches/sc40/model/sources/binaries/gif/gif_web.transf
17 17
		<sm:Widget sc:refUri="/academic/gen/_web/widg/img/imgZoom.uiwidget"/>
18 18
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
19 19
			<sm:caption>
20
				<sm:title>
21
					<sm:binaryMeta/>
22
				</sm:title>
20
				<sm:WFreeBlock>
21
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
22
						<sm:title>
23
							<sm:binaryMeta/>
24
						</sm:title>
25
					</span>
26
				</sm:WFreeBlock>
23 27
				<sm:callBinaryMeta axis="info"/>
24 28
			</sm:caption>
25 29
			<sm:content>
......
46 50
								<sm:binaryUrl>
47 51
									<sm:imageTransform>
48 52
										<sm:scaleFromStandardCharSize/>
49
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="900"/>
53
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="1200"/>
50 54
										<sm:outputGIF/>
51 55
									</sm:imageTransform>
52 56
								</sm:binaryUrl>
branches/sc40/model/sources/binaries/gif/gif_web@txtRes.transf
6 6
		<sm:Widget sc:refUri="/academic/gen/_web/widg/img/imgZoom.uiwidget"/>
7 7
		<sm:WCaptionBlock widgetClass="txtRes" position="bottom">
8 8
			<sm:caption>
9
				<sm:title>
10
					<sm:binaryMeta/>
11
				</sm:title>
9
				<sm:WFreeBlock>
10
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
11
						<sm:title>
12
							<sm:binaryMeta/>
13
						</sm:title>
14
					</span>
15
				</sm:WFreeBlock>
12 16
				<sm:callBinaryMeta axis="info"/>
13 17
			</sm:caption>
14 18
			<sm:content>
branches/sc40/model/sources/binaries/jpg/jpeg_web.transf
17 17
		<sm:Widget sc:refUri="/academic/gen/_web/widg/img/imgZoom.uiwidget"/>
18 18
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
19 19
			<sm:caption>
20
				<sm:title>
21
					<sm:binaryMeta/>
22
				</sm:title>
20
				<sm:WFreeBlock>
21
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
22
						<sm:title>
23
							<sm:binaryMeta/>
24
						</sm:title>
25
					</span>
26
				</sm:WFreeBlock>
23 27
				<sm:callBinaryMeta axis="info"/>
24 28
			</sm:caption>
25 29
			<sm:content>
......
70 74
												</sm:scaleFromDpi>
71 75
											</sm:ifNoStandardCharSize>
72 76
										</sm:scaleFromStandardCharSize>
73
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="900"/>
77
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="1200"/>
74 78
										<sm:outputJPEG/>
75 79
									</sm:imageTransform>
76 80
								</sm:binaryUrl>
branches/sc40/model/sources/binaries/jpg/jpeg_web@txtRes.transf
6 6
		<sm:Widget sc:refUri="/academic/gen/_web/widg/img/imgZoom.uiwidget"/>
7 7
		<sm:WCaptionBlock widgetClass="txtRes" position="bottom">
8 8
			<sm:caption>
9
				<sm:title>
10
					<sm:binaryMeta/>
11
				</sm:title>
9
				<sm:WFreeBlock>
10
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
11
						<sm:title>
12
							<sm:binaryMeta/>
13
						</sm:title>
14
					</span>
15
				</sm:WFreeBlock>
12 16
				<sm:callBinaryMeta axis="info"/>
13 17
			</sm:caption>
14 18
			<sm:content>
branches/sc40/model/sources/binaries/mov/mov_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="sfile_mov_resVideo resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
branches/sc40/model/sources/binaries/mp3/mp3_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="sfile_mp3_resAudio resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
branches/sc40/model/sources/binaries/mp4/mp4_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="sfile_flv_resVideo resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
branches/sc40/model/sources/binaries/mpg/mpg_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="sfile_mpg_mpeg_resVideo resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
branches/sc40/model/sources/binaries/odg/odg_web.transf
17 17
		<sm:Widget sc:refUri="/academic/gen/_web/widg/img/imgZoom.uiwidget"/>
18 18
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
19 19
			<sm:caption>
20
				<sm:title>
21
					<sm:binaryMeta/>
22
				</sm:title>
20
				<sm:WFreeBlock>
21
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
22
						<sm:title>
23
							<sm:binaryMeta/>
24
						</sm:title>
25
					</span>
26
				</sm:WFreeBlock>
23 27
				<sm:callBinaryMeta axis="info"/>
24 28
			</sm:caption>
25 29
			<sm:content>
......
46 50
								<sm:binaryUrl>
47 51
									<sm:odTransform>
48 52
										<sm:scaleFromStandardCharSize/>
49
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="900"/>
53
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="1200"/>
50 54
										<sm:outputPNG/>
51 55
									</sm:odTransform>
52 56
								</sm:binaryUrl>
branches/sc40/model/sources/binaries/ods/ods_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
......
45 49
								<sm:binaryUrl>
46 50
									<sm:odTransform>
47 51
										<sm:scaleFromStandardCharSize/>
48
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="900"/>
52
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="1200"/>
49 53
										<sm:outputPNG/>
50 54
									</sm:odTransform>
51 55
								</sm:binaryUrl>
branches/sc40/model/sources/binaries/png/png_web.transf
17 17
		<sm:Widget sc:refUri="/academic/gen/_web/widg/img/imgZoom.uiwidget"/>
18 18
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
19 19
			<sm:caption>
20
				<sm:title>
21
					<sm:binaryMeta/>
22
				</sm:title>
20
				<sm:WFreeBlock>
21
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
22
						<sm:title>
23
							<sm:binaryMeta/>
24
						</sm:title>
25
					</span>
26
				</sm:WFreeBlock>
23 27
				<sm:callBinaryMeta axis="info"/>
24 28
			</sm:caption>
25 29
			<sm:content>
......
46 50
								<sm:binaryUrl>
47 51
									<sm:imageTransform>
48 52
										<sm:scaleFromStandardCharSize/>
49
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="900"/>
53
										<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="1200"/>
50 54
										<sm:outputPNG/>
51 55
									</sm:imageTransform>
52 56
								</sm:binaryUrl>
branches/sc40/model/sources/binaries/png/png_web@txtRes.transf
5 5
	<sm:content>
6 6
		<sm:WCaptionBlock widgetClass="txtRes" position="bottom">
7 7
			<sm:caption>
8
				<sm:title>
9
					<sm:binaryMeta/>
10
				</sm:title>
8
				<sm:WFreeBlock>
9
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
10
						<sm:title>
11
							<sm:binaryMeta/>
12
						</sm:title>
13
					</span>
14
				</sm:WFreeBlock>
11 15
				<sm:callBinaryMeta axis="info"/>
12 16
			</sm:caption>
13 17
			<sm:content>
branches/sc40/model/sources/binaries/rm/rm_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>
branches/sc40/model/sources/binaries/wmv/wmv_web.transf
16 16
	<sm:content>
17 17
		<sm:WCaptionBlock widgetClass="resInFlow" position="bottom">
18 18
			<sm:caption>
19
				<sm:title>
20
					<sm:binaryMeta/>
21
				</sm:title>
19
				<sm:WFreeBlock>
20
					<span xmlns="http://www.w3.org/1999/xhtml" class="capTi">
21
						<sm:title>
22
							<sm:binaryMeta/>
23
						</sm:title>
24
					</span>
25
				</sm:WFreeBlock>
22 26
				<sm:callBinaryMeta axis="info"/>
23 27
			</sm:caption>
24 28
			<sm:content>

Also available in: Unified diff