Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Get Simple CMS – Problems with HTML Data Attributes?
#1
Hello
I'm working on a new Project using GetSimple CMS again. In this Project I'm using Pixelcoq's parallax.js. to slighly animate the images on scroll. (http://pixelcog.github.io/parallax.js/)

I'm targeting the images via HTML Data Attributes. Using GetSimple CMS I'm targeting the image folder as usual:

<section class="parallax-window" data-parallax="scroll" data-position="top" data-bleed="100" data-speed="0.3" data-image-src="<?php get_theme_url(); ?>/img/image.jpg" data-natural-width="1920" data-natural-height="1281">

           </section>

For some reason the images do not display after uploading to the server. I tried to fix it with targeting the images using JS but that doesn't work either ...

Ideas, solutions how to fix this are more than welcome.

Sven
-----------------------------------------------------
Premium HTML5 Ad Banners, Google Ads
and Campaigns

https://netrocket.ch
https://www.kontiko.ch
-----------------------------------------------------
Reply


Messages In This Thread
Get Simple CMS – Problems with HTML Data Attributes? - by Sveninho - 2016-09-07, 23:32:54



Users browsing this thread: 1 Guest(s)