show value in a field after submit in php

I am having issues in retaining the value in the form field after the user has clicked on submit and has to return back to the same as some error in validation is presented to the user. I have gone through the link below:- Keep text in text field aft...
more »

2017-10-04 22:10 (0) Answers

Select specific quantity of li in ul block

I have an ul-block in wich there are 15 li positions. First 5 li-s are pre-shown, another 10 are hidden. I have a function that toggles this UL - and if i click the button - it shows that 10 li-s but hides first 5. I need such Jquery selector, so ...
more »

2017-10-04 12:10 (4) Answers

vw on osx capped at 1440px?

Today I noticed that on my windows pc with a resolution of 1920 x 1080, websites with 100vw render as you would expect, with body @ width: 1920px... However, swap over to mac with resolution of 2880 x 1800 and even though screen zoom is set to 100% t...
more »

2017-10-04 09:10 (2) Answers

CSS hover not working after JavaScript Dom

So, I was just making some tests for a little menu idea. The idea is just to have a little dot in the top left corner of the screen. When overing it will have a box shadow that make it look bigger, on click it will expand (width: 100%, height: 100%),...
more »

2017-10-03 23:10 (2) Answers

css selector - get the value

What is the css selector to get the text value '2017-10-09' ? <div class="col-xs-6"> <strong> <!--ko text: date --> 2017-10-09 <!--/ko--> <!--ko text: time --> ...
more »

2017-10-03 12:10 (2) Answers

Change color of a input value represented as text

I created a interest calculator and i want the money amount and interest to turn to color green and not the whole text string. So far I've tried with different type of dom manipulations, but haven't been successful in singeling out these two values...
more »

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

Laravel Blade Using custom function

I have a blade where I'm printing the content of a table. For some columns I need to add the CSS class according the value I'm printing. E.g. if it's "OK", add class Green, otherwise class red. Of course the logic will be more complex, but the point...
more »

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

Flex-box items don't re-render correctly on chrome

I came across different browser behaviors when programmatically changing dimensions or the position property of flex-box items. The layout doesn't return to its original state on Chrome. In this pen, when the user clicks an image, I'm changing the i...
more »

2017-10-02 10:10 (1) Answers

Windows mimicking portfolio

I am currently building a portfolio in wich i intend to mimic the windows workflow to display my projects and to have a familiar user interaction. The problem i am facing now is with creating multiple explorer windows. I can create multiple ones at t...
more »

2017-10-01 17:10 (1) Answers

jQuery element show and slide down on button click

So Im learning jQuery / JavaScript. I believe the title says it all trying to get a div section which is set to display: none show whilst slowly sliding down on button click As per jQuery manual, W3schools and other few places where I've tried to r...
more »

2017-10-01 12:10 (2) Answers

Hiding a Div and Showing a New One On Single Click

thanks for looking at this. I've searched for a couple hours and can't find a solution that fits my problem. I have 5 navigation links in a fixed header. Clicking on one link works fine; the links show hidden content. The problem is when trying to go...
more »

2017-09-29 04:09 (6) Answers

jQuery append lose style

I have a problem when I try to use append function of jQuery, it add element to a div but it lose style. This is an example here This is my html: <form> <div class="checkbox"> <label> <input type="checkbox" data-tog...
more »

2017-09-28 14:09 (2) Answers

How to keep the HTML email signature fixed size?

I have a problem with one email signature for. it is basically a table with boarders that aren't visible (to make it easier to align all the elements). It's 6 rows, 3 of them contain images, last one has some legal stuff (single cell per row). 2 rows...
more »

2017-09-28 13:09 (1) Answers

simulate pointer trails effect

I'm trying to simulate windows pointer trails effect: with the same settings there's in windows. This is what I tried: var src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAATCAMAAACTKxybAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJd...
more »

2017-09-28 09:09 (1) Answers

Make cached images force reload with new upload

I have a website which has a lot of pictures that gets replaced, not much but sometimes. What I notice is that only the new picture appears with a cache clear reload. Which is in my case not suitable because the new pictures need to be shown for a in...
more »

2017-09-27 18:09 (0) Answers

URL and text change on scroll for each section

I have a fixed link that will change its text for each section on scroll. Not only the text, but also the URL should change. Has anyone an idea of how best to do that? My Code: $( document ).ready(function() { $(window).on("scroll resize...
more »

2017-09-26 12:09 (2) Answers