php-jquery-html-css

2 answers

Make the nested anchor element white when the parent line item is hovered

Is there a way to do this without javascript and just using CSS? I have a navigation. The text within the anchor elements are black. Upon hover of the line item the line item becomes orange. At that …

2 answers | 41 secs ago by Doug Firr on Stack Overflow stackoverflow.com
3 answers

Input for numbers only and add a max number of letters

i have to make input field only for numbers where the maxsize of letters is 3. How can i do this? This code don't work: <input type="number" class="input first" id="first" placeholder="000" ...

3 answers | 1 min ago by Matthias M on Stack Overflow stackoverflow.com
4 answers

Add line to the sides of some text

How to add lines to the sides of text, create something like text separator but whithout background for text. <h5>Some text goes here</h5> In this post CSS challenge, can I do this ...

4 answers | 2 mins ago by demo on Stack Overflow stackoverflow.com
35 answers

How to horizontally center a div in a div?

How do I horizontally center a div in a div with CSS (if it's possible at all)? The outer div has 100%: <div id="outer" style="width:100%"> <div id="inner">Foo foo</div> ...

35 answers | 2 mins ago by Lukas on Stack Overflow stackoverflow.com
1 answer

download a image dynamically created by PHP inside a zip file

I'm generating an image in PHP, and to display it I'm using: <img src="get_image.php?image=image.jpg&variable1=1&variable2=2"> I now want to make the user download a zip file with ...

1 answers | 2 mins ago by user3636476 on Stack Overflow stackoverflow.com
1 answer

Is it possible to call PHP-Script from JavaScript section of JSP page..?

I have written following script on server- <?php //Create an array $json_response = array(); // include db connect class require_once __DIR__ . '/db_connect.php'; // connecting to …

1 answers | 2 mins ago by Namo on Stack Overflow stackoverflow.com
2 answers

Remover vertical bar in wordpress login page

Im trying to customize my wordpress login page, But I am having a problem on removing the vertical line before the option Forgot Password. Check this url http://www.thedesigncereal.com/wp-login.php I …

2 answers | 2 mins ago by user3627265 on Stack Overflow stackoverflow.com
1 answer

How to check that class method require parameter

For example there is Foo class object. Not try-catch expression class Foo { function Bar($a){ } } $foo = new Foo(); if(hasRequiredParams(Object $foo, MethodName 'Bar')){ do something; }

1 answers | 2 mins ago by Oleg Patrushev on Stack Overflow stackoverflow.com
2 answers

Remove not found word from mySQL query

I am trying to make search and need to remove word from query, that do not have match. Lets say there is 3 words: one, two and three. If one is not found, then I need to rerun query with other two …

2 answers | 3 mins ago by Bambarbia on Stack Overflow stackoverflow.com
0 answers

wordpress, break up alphabetically vertical list of post in multi columns?

I have a vertical list of post sorted alphabetically. How do i break this up in 9 columns? Tried every plugin on the market, every code snippet i can find, nothing. Must be a way? Exampel: ...

1 answer

Split a String based on a Div element

I have a string variable in PHP which is like <html> <body> <div style="height: 10px; line-height: 10px;"> </div> </body> </html> I want to split that …

1 answers | 4 mins ago by user3934473 on Stack Overflow stackoverflow.com
2 answers

AJAX jQuery refresh div every 5 seconds

I got this code from a website which I have modified to my needs: <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> …

4 answers

Crop image in PHP

The code below crops the image well, which is what i want, but for larger images, it wotn work as well. Is there any way of 'zooming out of the image' Idealy i would be able to have each image ...

4 answers | 4 mins ago by user195257 on Stack Overflow stackoverflow.com
2 answers

Show dropdown menu only when hovered on span in li

I want to show dropdown menu only when hovered on one word on li (.$user->user_login.). Currently I have hover on whole li, but I dont want the hover on "hello". When I hover on Username I must …

1 answer

Why the HTML Text in Rich Content is showing image as 'Graphic'?

I am working on one project where I want to reassign a html text to a rich text control which is designed for web. This rich text control support html doc to display the record. I am facing problem …

1 answers | 5 mins ago by Ankit B on Stack Overflow stackoverflow.com
2 answers

Slow script using API

I'm writing a script that checks to see if an instagram user is followed by his followers or not. I have the list stored in a DB and for testing purposes I only have 20 user IDs in that list. The ...

2 answers | 5 mins ago by n1nja on Stack Overflow stackoverflow.com
2 answers

stop Array sort to remove duplicates

Using expressionengine I have couple of loops like this: {exp:channel:entries ........} <--- CMS Loop starts ---> $data ="{event_day}.{event_month}.{event_year }"; // will output 19.21.2013 …

0 answers

import xml file into mysql database using php

the following data is my xml file. how to import it in mysql database using php <?xml version="1.0" encoding="utf-8"?> <title name="employee_details"> <Item> <field …

0 answers

Display and return values ​​of the new window to form

At the very beginning, I do not know what is the concept of retrieving data from new windows - I think I can make it through jquery. We have following code JQuery & Ajax ...

5 answers

Prevent Default on Form Submit jQuery

What's wrong with this? HTML: <form action="http://localhost:8888/bevbros/index.php/test" method="post" accept-charset="utf-8" id="cpa-form" class="forms"> <input type="text" …

5 answers | 5 mins ago by djreed on Stack Overflow stackoverflow.com
4 answers

What is the difference between $(window).load and $(document).ready?

I have been having a problem lately with my JavaScript CODE and taking a portion of my code out of my $(document).ready() and putting it within $(window).load() fixed the problem. Now I understand …

0 answers

How to embed google map using ajax in wordpress?

I want to embed google map in my wordpress page using ajax.I have dealer listing page and on click of the view map I want to display google map as per the address of dealer. Currently I am using below …

1 answer

Bootstrap row height in xs grid when using offcanvas

I find that when I decrease the width of my browser to match the dimensions of a mobile screen,the div containing the row-offcanvas and another row that has the content has a really small width with a …

1 answer

I am trying to supress a link in html based on a if condition using thymeleaf. .

I am trying to supress a link in html based on a if condition using thymeleaf. That is if the condition is true the link is not shown on the page. Can anyone provide an example on how to do it.

1 answers | 7 mins ago by Ritesh Tyagi on Stack Overflow stackoverflow.com
0 answers

JSON PHP Google Visualisation

Trying to get my json output in the right format for a google visualisation line chart but I am clearly doing something wrong as it is returning table has no columns. As explained in the docs I am ...

3 answers

Mysql INSERT SUBQUERY not working

Can anyone tell me what's wrong with this query $query = " INSERT INTO brand_generic.brand_drug ( drug_id, brand_drug_name, manufacturer, type, price ) VALUES ( (SELECT id FROM ...

3 answers | 7 mins ago by santa banta on Stack Overflow stackoverflow.com
0 answers

Kendo editor doesn't work with html

I have a Kendo Grid in my applicationµ @(Html.Kendo().Grid<TekstenViewModel.Tekst>() .Name("Grid") .Columns(columns => { ...

2 answers

is it redundant to set width equal to min-width in a span?

Maybe a silly question, but I am trying to understand some code that just writes text on screen, on an xhtml document. The text is wrapped with span tags and each word is exactly positioned on the ...

2 answers | 8 mins ago by user1832746 on Stack Overflow stackoverflow.com
0 answers

How To Auto Cut Paper Using PHP?

I'm Working On Web Application That Print Directly To Printer.My Question is that how can i auto cut paper after all the text is print.Using PHP.Thanks In Advance.

0 answers

issue in displaying Image in laravel4

I had uploaded image by using Intervention PHP image handling and manipulation library in laravel4.By using this library i uploaded image properly but the problem i facing is that when i tryed to ...

15 30 50 per page
1 2 3