Carousel - associate text with images in slider

I am using Owl Carousel (https://owlcarousel2.github.io/OwlCarousel2/) for a simple carousel on my website. I'd like to have a different piece of text displaying over each image. As you can see, I can click the dots and they change which one is acti...
more »

2017-02-13 21:02 (2) Answers

Centering truncated text with offset - CSS only

I'm trying to center a title according to the screen's center, while it's container doesn't take 100% of the screen's width. I'm also need to text to be truncated and don't want to leave a padding on the right. This is what I've got so far - JSFidd...
more »

2017-02-13 16:02 (2) Answers

Get Filtered Datas in dataAdapter in JQXGrid

I have used JQXGrid in my application. In Initial Load, datas are retrieved from server and loaded into dataAdapter and that dataAdapter is used as source for grid. When I filter any column in the grid i need to have those filtered datas alone in the...
more »

2017-02-13 15:02 (1) Answers

Collection-repeat is cutting the last item

I have a collection-repeat like this (see the code below) and works fine, but the last item does not show well when the user scroll down. Why could resolve this? <ion-content on-scroll="moreItens()" style="margin-top:60px; min-height: 600px;" o...
more »

2017-02-13 11:02 (0) Answers

jQuery - insertBefore() for raw text

I use jQuery 1.11.2 and jQuery-migrate 1.2.1. Here is the simple example of what I'm trying to do: https://jsfiddle.net/bek3wrug/ I want to insert some text (not fully-wrapped into HTML tag) before some element on page, and jQuery only inserts the ...
more »

2017-02-13 10:02 (2) Answers

Stop rotation of text in loader div

I found loader CSS trick, and I want to put text or image into loader without rotation. .loader { border: 5px solid #f3f3f3; border-radius: 50%; border-top: 5px solid #fff; width: 50px; height: 50px; animation: spin 1s linear i...
more »

2017-02-13 10:02 (2) Answers

vary (Dynamic serving) user-agent example

Google suggest us to use Vary header to deliver dynamic content for mobile and desktop pages. Anyone who know how to do it with simple html or php help will be appreciated For example i have two pages index.html index_mobile.html How can i serv...
more »

2017-02-13 06:02 (0) Answers

Search multiple strings in sentences

I try to search "ego d16" in a list like ego fara d16 ego d16 ego d22 d16 ego para ego dela d16 Must result in lines (1, 2, 4, 5)... My code is var filter = $(this).val(); //like 'ego d16' $("#rezultate li").each(function () { if ($(this)[0...
more »

2017-02-13 01:02 (3) Answers

Need an SVG workaround

I'm recreating blueprints as SVGs, as can be seen in this Pen. I'm obviously not finished, so the code is a bit sloppy right now since I've been experimenting with different workarounds in vain. One of the effects I have implemented is rooms will fi...
more »

2017-02-12 23:02 (1) Answers

Why is Chrome pulling old JS file?

I've been having a crazy annoying problem for a few weeks that I can't seem to solve. Occasionally when I update the Javascript or CSS files for my site hosted on Siteground, Chrome will refuse to recognize them. Other browsers will pull the new file...
more »

2017-02-12 22:02 (1) Answers

PHP to Parse a HTML page and output a certain div

So I've been trying to embed a part of a website within my website due to security reasons I cannot disclose the website that I am trying to embed so for the purpose of this example I am going to use bbc.co.uk. The following is the php/html code: ...
more »

2017-02-12 18:02 (1) Answers

Javascript innerHtml quiz results

I want to return the output of the score from a three button radio button quiz. I have the ouput working when I use alert but as the quiz is contained within a modal I don't want a popup I just want to display the output as within the modal to make i...
more »

2017-02-12 18:02 (1) Answers

Saving dropdown menu selection in a cookie

I saw this post - Saving dropdown menu selection in a cookie?. I got a dropdown menu which has 2 languages in it and when I press on one of them it changes the language, but the problem was, it always selects the top entry after refreshing the page. ...
more »

2017-02-12 18:02 (0) Answers

javascript asynchonously update a div

I need to show multiple images in a DIV in a web page one after another. There should be a time gap between two images. Here is the code I tried for that. $('#abc').prepend('<img id="theImg" src="D:/Image_Store/Character/Animal/Pet/cat2.png" />...
more »

2017-02-12 14:02 (1) Answers

create div where i click within the container

Here's a sample of creating a div next to the cursor position on click: view sample It creates a div where i click inside the container div but clicking too close to the borders creates a div beyond the container. Divs created should appear entirely...
more »

2017-02-12 13:02 (3) Answers

HTML Popup not displaying

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)"> <meta name="dcterms.created" content="Sun, 12 Feb 2017 03...
more »

2017-02-12 07:02 (4) Answers

Select all divs with specified string

$("#slide") code formating i've got something like this, i want my function to select all id's starting from slide, slide1, slide2 etc. In bash there is slide*, which does that job, is there anything like this in jquery? Thank you for your help ...
more »

2017-02-12 03:02 (4) Answers