A
A
Alex2016-02-18 23:43:01
MODX
Alex, 2016-02-18 23:43:01

Is it possible to output TV in js?

For example, we have the output of the vegas carousel

<script>$(document).ready(function(){
 
  $(".computer-line").vegas({
 	 	timer: false,
 	 	autoplay:true,
 	 	delay:8000,
 	 	align: 'top',
 	 	
    slides: [
        { src: "../upload/12_2.jpg" },
        { src: "../upload/istok.jpg" },
        { src: "../upload/tech_chip.jpg" }
  ],
    overlay: true,
    init: function (globalSettings) {

    }
    
});
 	
 })</script>

Is it possible to output TV { src: "../upload/12_2.jpg" }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2016-02-26
@ig0r74

You can also create a document with an empty template and Content Type: javascript. There already push all your JS and display photos in any way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question