How to start script in HTML without <script> tag?

I'm using a low-code development platform called WaveMaker right now, and it gives you the option to customize the "markup" of the page (HTML, but you can't really edit <head>; the whole thing is kind of weird), the Javascript of the page, part...
more »

2017-06-15 20:06 (2) Answers

fix elements to the bottom of a flex container

I am using flexbox to create part of a page and I have 2 buttons that will open modals in one of the flexbox items. I would like to fix the buttons to the bottom of the item like a footer if possible. I have created a CodePen to demo the issue. I h...
more »

2017-06-15 18:06 (3) Answers

keyup function performing weird

So I got a little codepen. Everything works so far except a little thing. I got a <h1> and an <input>. When I type something in the text input, its value should get passed to the <h1> in realtime. I tried to do that with a keyup fu...
more »

2017-06-15 15:06 (2) Answers

How to move a div in semi circle

here is my .html file <div class="progress"> <div class="barOverflow"> <div class="bar"></div> </div> <div id="b" style="position:absolute;"> <img src="assets/Mostly_Cloudy.png" /> </div> &...
more »

2017-06-15 11:06 (4) Answers

Regarding my code for Google Recaptcha

I'm new to this google Recaptcha thing. I'm trying to figure out which it doesn't work. I have tried several other code and they doesn't work as well which I have no idea why. This is my form code <form name="contact_form" method="post" action=...
more »

2017-06-15 08:06 (3) Answers

Fade out after animating SVG fill color

I'm trying to do an animation of a simple svg checkbox. <svg class="checkbox" xmlns="" version="1.1"> <circle class="circle" stroke="green" stroke-width="2" cx="26" cy="26" r="25" fill="transparent"/> <...
more »

2017-06-15 01:06 (2) Answers

C# & HTML Agility Pack - Returning Null

I want to make a console app that returns how many subscribers they have when I type in their channel. I currently have it downloading the search page as html from the Console.ReadLine(). This returns a html page successful as I added a .Save to see ...
more »

2017-06-14 21:06 (1) Answers

Resize Images, keeping ratio, html?

I am trying to resize a background picture to fit in a div. The problem I have is that I want the image to fit the height of the div and keep ratio. For example, I have a div which I don't want it to grow further the width of the screen (to prevent s...
more »

2017-06-14 20:06 (2) Answers

Automatic canonical tag if GET parameters defined

I was doing some research into page duplicate content for dynamic keyword insertion via a GET parameter if definded, if not it will default to a definded value. Would it be a benefit to set up a quick PHP check in the page head where by if a GET par...
more »

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

creating equal width flex items

I'm using flex for layout purposes, but the browser does not spread the width equally between items. .parent { display: flex; width: 200px; } .btn1 { flex: 1 1 auto; } <div class="parent"> <div class="btn1"> &l...
more »

2017-06-14 09:06 (1) Answers

CSS-filter transition

my query is : Whenever I press any button for the first time, the image successfully transitions to the desired filter in 4 seconds. But when I press another button the transition takes place immidiately without 4 seconds. How do I make the picture c...
more »

2017-06-14 08:06 (2) Answers

Responsive File Manager open image as Gallery

I'm using Responsive File Manager for web file manager in my project. It is working fine. Problem My problem is when I open the image, It shows the preview in lightbox modal. how can I make it Image as image gallery like navigating between Image....
more »

2017-06-14 08:06 (0) Answers

Why would CSS ignore selector under attribute

I have a button: <button class="outline">Outline</button> which I want to set the outline on, but all of the other buttons should not have outline. If give it a class b1 and do: [dir="ltr"] .b1 { border: 0; } [dir="ltr"] .b1.outline...
more »

2017-06-13 16:06 (5) Answers

Display Press Enter when starting to search

I have a simple search form input that I'm wanting to display the text [Press Enter] after whatever the user has typed within the search form. I've searched on Stack overflow to no avail. <form action="/search" method="GET"> <input t...
more »

2017-06-13 16:06 (1) Answers

Displaying php result in HTML using AJAX

I am trying to display the result of my php in different <div>-s. My plan is that I make a query in my php and display the result in JSON format. Due to the JSON format my result can be displaying in different <div>. How can I reach that ...
more »

2017-06-13 15:06 (3) Answers

How to retrieve an internal text

How to retrieve text from this template using XPath? <div class="c"> <span> a </span> text </div> I know that //div[@class='c']//text() returns whole div part, but I only want the text. ...
more »

2017-06-13 08:06 (1) Answers

Issue with dropdown menu

I have an issue with submenu, when i hovering on about section the dropdown menu width is more than it suppose to be. What i did wrong and how can fix it? Any other suggestion related to my css code would be appreciated. JSFIDDLE Here is my code: ...
more »

2017-06-12 15:06 (1) Answers