I have a Jquery function that have many url for image ojbect. How can i get the url of the image using javascript. I want to make a test on the url
if url=condition {//do something...
You can find below example of the code.
$(document).ready(function () {
$(function () {
$("#show_banners").showcase({
css: {
"margin-left": "auto",
"margin-right": "auto"
},
animation: {
type: "fade",
interval: 4500,
speed: 1800
},
images: [{
url: "../images/content/example1.jpg",
description: "example1",
target: "_self",
link: ""
}, {
url: "../images/content/example2.jpg",
description: "example2",
target: "_self",
link: ""
}, {
url: "../images/content/example3.jpg...
The ID of the DIV is show_banners
.