Format:Distribuţie live: Diferență între versiuni

De la Wiki.lug.ro
Salt la: navigare, căutare
m
(xyxQVCqRAbHMEeWzo)
Linia 1: Linia 1:
<div style="clear:both;" class="NavFrame">
+
Now I can see the problem loud and clear Lily, The %SUB-IMAGES% token is not meant to be used in an image tag's soruce attribute. Instead it should be the only thing on its line of code. This is because the %SUB-IMAGES% token needs to possibly make more then one image tag, if you want to style the sub images, I would recommend wrapping the %SUB-IMAGES% token with a div tag that has a specific class. Also each sub image will automatically be wrapped in the appropriate anchor tag for the LightBox.Example:<div class='catablog-row'>  <div class="catablog-images-column">    <a href="%IMAGE-LIGHTBOX%" class="catablog-image" %LINK-TARGET% %LINK-REL% target="_blank">     <img src="%IMAGE-THUMBNAIL%" alt="" />   </a>   <div class="catablog-items-sub-images">        %SUB-IMAGES%   </div> </div> <h3 class='catablog-title'>%TITLE%</h3> <div class="catablog-description">   %DESCRIPTION%    %BUY-NOW-BUTTON%  </div></div>I hope that has helped, cheers!
<div class="NavHead" style="background-color:#CCCCFF;">'''[[Distribuţie|Distribuţii]] [[Linux]] [[Distribuţie_live|Live]]'''</div>
 
<div class="NavContent" style="font-size:100%;">
 
[[Knoppix]] |
 
[[Porteus]] |
 
[[Slax]] |
 
[[SystemRescueCD]] | ''[[:Category:Distribuții_live|altele…]]'' |
 
<small><small class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:Format:Distribuţie_live|action=edit}} editează ]</small></small>  
 
</div>
 
</div>
 

Versiunea de la data 17 august 2012 16:35

Now I can see the problem loud and clear Lily, The %SUB-IMAGES% token is not meant to be used in an image tag's soruce attribute. Instead it should be the only thing on its line of code. This is because the %SUB-IMAGES% token needs to possibly make more then one image tag, if you want to style the sub images, I would recommend wrapping the %SUB-IMAGES% token with a div tag that has a specific class. Also each sub image will automatically be wrapped in the appropriate anchor tag for the LightBox.Example:
<a href="%IMAGE-LIGHTBOX%" class="catablog-image" %LINK-TARGET% %LINK-REL% target="_blank"> <img src="%IMAGE-THUMBNAIL%" alt="" /> </a>
 %SUB-IMAGES%

%TITLE%

 %DESCRIPTION%  %BUY-NOW-BUTTON%
I hope that has helped, cheers!