0
votes
4answers
45 views

Using contains to not look at children

I'm trying to filter out and hide divs that don't contain a specific string, but I only care about the Is there a way to use the contains selector on an element but ignore its children? Example: ...
0
votes
0answers
16 views

Collapsable Bootstrap table rows

I have a table that shows some info on each row, I want to make that when you click a row several hidden rows with the details of the information appear from a bootstrap collapsable. I'm using ...
0
votes
0answers
23 views

Alternating stylesheet using radio buttons

http://css-tricks.com/examples/AlternateStyleSheets/ Can anybody help me switch stylesheets using the above but with radios rather than anchors? The below isn't working for me: <input ...
2
votes
1answer
13 views

JS chart knob: animate from value to value rather than 0

I have this animated donut that changes value on li hover. However, currently it resets to 0 and then animates to the new value. Ideally it should animated from value to value. Here's a JSFiddle: ...
1
vote
2answers
24 views

Click on element hightlight it and make other less visible

I'm with the following problem. I have block containing several divs that represent a product. The idea is that when the user clicks on one of the products, the product (div) is highlighted and the ...
4
votes
3answers
43 views

Why does the div following a floated div overlap the floated one?

I have a floated left sidebar layout with breadcrumbs and main content area on the right. If you Inspect Element on the breadcrumbsContainer (see jsFiddle), you can see that its left edge is all the ...
1
vote
4answers
31 views

Scroll Page to Anchor

I have some anchors on a site I'm playing with and I'd like them to scroll to anchors instead of doing a sudden jump to the anchor. I've tried several posted solutions here on stack overflow but ...
1
vote
1answer
12 views

Add Sticky post attribute to CPT UI

I'm trying to figure out how to define a post as either featured or sticky to display in a different way on my WordPress build. CPT UI gave me: add_action('init', ...
0
votes
2answers
31 views

Removing And Adding Elements Based On Window Width Using jQuery Doesn't Work

As far as I can tell I have set up my jQuery so that it removes some elements when the window gets too small and puts them back when it gets larger again. Without the code that appends the elements, ...
2
votes
2answers
37 views

CSS remove hover effect when semi-transparent div overlays another div

I have several underlaying divs with hover effect. Sometimes I need to show modal dialog and all undelaying divs should be "disabled". This is done by placing semi-transparent high z-index div on top ...
0
votes
1answer
29 views

Get all coordinates used by div

I'm wondering what's the best way to get all coordinates used by a <div>. You can do something like this, but this will only give you the top, left coordinates of the <div>. var element = ...
2
votes
0answers
52 views

Show div on page load - Counteracting toggle function

I searched for an answer on this, but didn't find anything exactly salient to my situation, so posting new question... I have multiple product category divs on my index page, the contents of which ...
0
votes
3answers
33 views

How can I .slidetoggle a div the .length of a string in another div

I have a label where if you hover over it, it should expand the length of the text inside. I would like to slide the div next to it the width of the label (depending on the length of the word). Here ...
0
votes
1answer
32 views

bootstrap: style=“display:none” get's automatically appended in the 'li'

I have following piece of code in my jsp. <li id="report" class="dropdown open"><a data-toggle="dropdown" class="dropdown-toggle" href="#">Report <b ...
0
votes
3answers
49 views

Keep a div as last child of its parent even after any new div is appended to its parent

Hello i am quite struggling with a problem. The structure is like :- <div class="parent" > <div class="child1" > </div> <div class="childToBeKeptLast" > ...
0
votes
0answers
17 views

Adjust Jquery UI draggable and droppable to a grid of selected size

So I've decided to try and do a simple project with the jquery UI since I think it covers my needs. However I want it to be adjusted to a grid. I mean, when I move the draggable object (which is ...
1
vote
1answer
18 views

Quirks Mode + IE8 element size calculations appear inaccurate

I'm trying to dynamically size a field on the screen, but unfortunately we are using IE quirks mode. Chrome is behaving perfectly and everything is lining up exactly how I expect, however in IE8 under ...
-2
votes
2answers
34 views

Want to scroll a whole page in one mouse wheel in html or with help of jQuery [on hold]

I want to scroll a page to 2000 offset in one move of mouse wheel, like the apple does http://www.apple.com/iphone-5s/ For more information, I'm using a skrollr plugin. All I want is to scroll a ...
-2
votes
0answers
22 views

How to Implement Invocation code in php file? [on hold]

This is the link of my site : http://rasphpwork.com/ras23/open/ In this site banner are not at correct place. I want that banner on video .banner should be any position may be in between. Please give ...
1
vote
1answer
27 views

Pointer Events and Opacity is not working in IE10 [duplicate]

This is the HTML code: <div id="opac"> <ul id="nav" style="font-size:75%" > <li><a href="javascript:void(0)">Menu</a> <ul> ...
0
votes
1answer
12 views

Off-canvas mobile navigation with minimal side effects

Problem I'm looking for a JS (jQuery) library which provides off-canvas navigation for mobile devices, with native-like UX, minimal influence to existing page and compatible acros many mobile ...
2
votes
1answer
38 views

jQuery - Making my own slider?

I'm still learning jQuery, and I know that what I'm asking is probably quite redundant as there are hundreds of sliders out there already that will be much better than the final outcome of mine. ...
-1
votes
1answer
15 views

Slick slider not working height

I just discover the slick "the last carousel you will ever need" and i try to make some test with it bit nothing is working :/ i make a little code: <link rel="stylesheet" ...
-1
votes
0answers
35 views

Need scroll in menu but header is fixed

I made position fixed of header in mobile view. but that's creating problem while opening submenus the below li of the screen doesn't seen. i need a scroll in menu while in mobile menu for seeing the ...
0
votes
1answer
34 views

Placing text over images

I am using owl-carousel to make a slider for a website. I could easily make a slider using the following code : <div id="owl-slider" class="owl-carousel"> <div> <img ...
3
votes
4answers
62 views

How the get scroll the div horizontal using left and right buttons

I have a class called portfolio-items where it will scroll horizontal. I need jQuery which helps me to scroll to the next and previous closest classes using my next and previous buttons. Need it more ...
1
vote
2answers
33 views

jquery ui resizable() not working

Link to jsFiddle HTML <div class="empty ui-widget-content"> <div class="settings-menu"> </div> </div> CSS .empty { height: 50px; display: block; float: ...
0
votes
0answers
22 views

How to make my flex slider load fast

Hi i use flexslider in my magento project,the slider has totally 3 images and i have text contents which will be displayed over the image,the problem is when i load my site my text contents over the ...
0
votes
0answers
15 views

Responsive bootstrap carousel multiple columns in item

I was wondering how to achieve responsive layout with bootstrap carousel with multiple columns in each item. Demo: http://jsfiddle.net/L4bA8/ On mobile I need all columns to slide, but there can be ...
-2
votes
1answer
26 views

Most simple way to interact with a graphic [on hold]

For a web project, my client wants to have a map of an area where unique users can place a pin on to. The placed pin location is saved into the database. I thought about different solutions: Load a ...
-2
votes
0answers
49 views

Bootstrap VS CSS, HTML and jQuery [on hold]

I don't understand about Bootstrap. What benefit is it to use Bootstrap for developing responsive design when it is enough to use regular CSS, jQuery and html5? Maybe you have a concrete example ...
0
votes
2answers
38 views

Javascript/Jquery Using Regex (or not) to add <span> to vowels

New to coding and need some help. Currently my code output numbers from 1-99, it then display some text next to the number depending on the conditions. E.g numbers that are divisible by 3 has 'Java', ...
0
votes
3answers
46 views

HTML - Div to the bottom without absolute positioning

Here's the fiddle. I added some CSS for positioning the tab to the right. I wanted those tabs to be in the bottom right of the container. If I set the position of the div to absolute. That'll void ...
0
votes
1answer
16 views

Scaling with rotating image using html5 canvas

I have using scaling and rotation of images using mouse dragging separately. but i need to combine both the operations. Please refer jsfiddle files for your understanding. Scaling - ...
-9
votes
4answers
36 views

By click on an icon it should change to another icon [on hold]

if i click an icon the icon have to change to another icon befor clicking if it is "cat" after click that it should change to "rat" Mostly with out using jquery.
1
vote
4answers
47 views

DIV appear/disappear on mouse enter/leave

I'm trying to make a navigation using jQuery. I'm very new to jQuery so I'm getting a bit stuck here. Basically what I'm trying to do is have testbutton2 appear and hide when I mouse over/off ...
-3
votes
2answers
60 views

Resize text simultaneously while resizing textarea

How to resize text simultaneously while resizing the textarea. Below is my code. Below is my jQuery. I guess the issue is to do with the click function been seperated? Not sure though. I'd like some ...
0
votes
1answer
49 views

How do I turn a string into a “selector”?

Is it possible to turn a string into a selector? I know that it is possible to turn it into a DOM selector: EX: var a = '.string'; var b = $( a ); In this way it will select the element with the ...
0
votes
0answers
16 views

Why does text modified by jQuery look lighter on hover in Safari?

I haven't asked this earlier because it's difficult to explain, but when I have jQuery interacting with text elements, when the mouse is hovered on them, the font shows up noticeably thinner/lighter. ...
0
votes
1answer
24 views

Jquery cannot get id from django generated element

I am trying to retrieve an elements ID on click. The element is a div generated by django: {% for artist in artists %} <div class="band_box_inner" id='artist_{{artist.id}}' ...
0
votes
2answers
22 views

Loop through parent elements and if child element doesnt exist display text

I'm trying to figure out how to loop through all parent classes (.grid) and if it doesnt have a child div with class (.image-container) then display (.content-container) within the same (.grid) ...
0
votes
0answers
24 views

Trying to change background color of dynamically loaded element through AJAX

I've got a script that allows the user to vote. I am trying to make it a bit more dynamic but incorporating a background color animation of the parent div. The main script is working greet but I can't ...
0
votes
0answers
7 views

Using apex:panelGrid Inside of a div tag Causes Text To Be Displayed Outside of Div

I'm trying to implement the drag and drop demonstrated in the last half of this Developing Applications with jQuery video from a Salesforce presentation around Dec 2010. I've got it working but I ...
0
votes
2answers
17 views

Weird padding issue in Chrome and Firefox

I am working on a jQuery slider for a web page. Everything looks great in IE, but in Chrome and Firefox, there is some kind of weird padding issue going on above and below the slider. You can take a ...
0
votes
1answer
16 views

Trying to modify a show/hide script so first div opens on page load (Django project)

I'm working on a blog feed and have a script that currently opens up a div and displays it's (the div's) content onclick; however, I would like the first div in the feed to open when the page loads ...
0
votes
2answers
36 views

Click to Delete html and javascript

I want to have two divs side by side, the first one contains a table of information the other will contain two buttons a delete and edit. The first div I want to be 100% of the screen the second will ...
0
votes
1answer
7 views

Kendo UI, how do you remove space before and after a bar chart?

I am trying to remove the space before and after the Kendo UI chart below with no luck. Is this a gap and spacing issue? My goal is to have a single line bar chart with the grey only appearing on the ...
-1
votes
3answers
14 views

Guided Scrolling on web page [on hold]

How does this page accomplish the (guided scrolling?) technique between two divs, where with just a small flick on the scroll pad it takes you to the next element? ...
0
votes
1answer
26 views

HTML Dynamic/Responsive Element Positioning

I am creating a web app in ASP.NET. The page uses a Master and has only two things 1. GridView at the bottom 2. A DIV at the top that i will develop further The idea was to have the top div or header ...
0
votes
1answer
24 views

Add Controller to index.html in an Angular SPA

My Angular app has several views. The index.html file which has the <div ng-view></div> also has a header/navbar that has links to each of these views. The $routeProvider is configured to ...