Showing posts with label Cascading Stylesheets. Show all posts
Showing posts with label Cascading Stylesheets. Show all posts

Saturday, April 12, 2014

WOW Slider image slideshow shows only gray background, animation does not start over, manual editing of css and HTML files

Today i run into the problem that my image slideshow created with WOW Slider showed a gray background after the last Image and it took very look until the slideshow started again at the beginning.

How-I-fixed-it:
I turned out, that I caused the problem by manually editing the css and js files created by WOWSlider. The files have to exactly fit to the number of images defined in the
    part of the html file, because the timing of the whole slideshow is calculated by WOW Slider at the time creating the files. If the number of
  • entries in the
      part of the html-file is changed afterward, it does no longer match the number of keyframes defined in the css Stylesheet.


Example:
For 5 Images in the slideshow, WOW Slider created 10 keyframes in the stylesheet:

@keyframes wsBasic{0%{left:-0%} 14.59%{left:-0%} 20%{left:-100%} 34.59%{left:-100%} 40%{left:-200%} 54.59%{left:-200%} 60%{left:-300%} 74.59%{left:-300%} 80%{left:-400%} 94.59%{left:-400%} }

With this code in the html I was able to reproduce the problem;

<div id="wowslider-container1">

<div class="ws_images"><ul>

<li><img src="data1/images/wp_20140309_20_46_38_pro.jpg" alt="WP_20140309_20_46_38_Pro" title="WP_20140309_20_46_38_Pro" id="wows1_0"/></li>

<li><img src="data1/images/wp_20140329_16_21_24_pro.jpg" alt="WP_20140329_16_21_24_Pro" title="WP_20140329_16_21_24_Pro" id="wows1_1"/></li>

<li><img src="data1/images/wp_20140329_16_21_54_pro.jpg" alt="WP_20140329_16_21_54_Pro" title="WP_20140329_16_21_54_Pro" id="wows1_2"/></li>

<li><img src="data1/images/wp_20140329_16_23_04_pro.jpg" alt="WP_20140329_16_23_04_Pro" title="WP_20140329_16_23_04_Pro" id="wows1_3"/></li>





 
 
</ul></div>

 When manually editing the WOW Slider HTML code, be sure, the number of images is not changed!

Wednesday, September 4, 2013

German Umlauts (ä,ö,ü,ß) corrupt in HTML Mails sent with Outlook 2013 and OXtender 2 for OpenXchange

Today i noticed that HTML Mails I sent from Outlook 2013 looked like this on the receiver side:

ffentliche bereinstimmung m��te sein

The german umlauts (special characters)  were somehow misinterpreted as non-printable characters.
 
The original text was:
"Öffentliche Übereinstimmung müßte sein"

How-I-fixed-it:

Looking at the raw mail source content i recognized, there was a lot of css-stuff in mail which seemed to be added by Outlook automatically.
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">ft Word 15 (filtered medium)">
link=3D"#954F72">
=EF=BF=
=BDffentliche =EF=BF=BDbereinstimmung m=EF=BF=BD=EF=BF=BDte sein=
-->
I found out, that there's an option in Outlook to tell it to use CSS for formatting or not.


I disabled this option and my HTML mails look OK now.