All Questions
38,780
questions with no upvoted or accepted answers
5
votes
1
answer
401
views
How to provide different sizes of images according to viewport size in WordPress?
May be a very basic question because of the less understanding of the procedure, but what I believe is NO question is less important.
In WordPress we have 4 default sizes:
Original (as it's ...
5
votes
2
answers
3k
views
How do I prevent mobile devices from automatically downloading a PDF on my website?
So I've got a part on my website where I show a pdf in an iframe.
This works perfectly fine on computers.
However, some mobile devices start downloading the pdf immediately when they load the website....
5
votes
3
answers
2k
views
Inserting data to the database with dynamic fields
I am working with dynamic text boxes.
I want to add the data that is entered in the text boxes to my database.
My markup:
<form name="reaction" id="reaction" method="post" action="./send.php">...
5
votes
2
answers
128
views
I need to quickly remove a set of classes from an arbitrary string of html
The HTML is run through a purifier first (tinyMCE+Wordpress), so it should match somewhat standard forms. all script and style tags are stripped, and all data inside tags is html_encoded, so there ...
5
votes
5
answers
5k
views
XML Parsing - PHP encoding
I have a big XML (>15Mb) and i have to read it, parse it, and store some values in a DB. My problem is, the XML's come in in differents formats (UTF-8, ISO-8859-1).
With UTF-8 no prob. But ISO-8859-1 ...
5
votes
3
answers
2k
views
Is there any alternative attribute for dir=auto in IE
We have to show some text which may be in English or Arabic in Page. we are facing problem with text direction.
For English the direction will be left-to-right, for Arabic the direction would be ...
4
votes
0
answers
627
views
Make Link For Open Gmail Application and Search Email
I am looking for create link which can work for open android gmail application and search email which sent by us. I have link for desktop browser like below
https://mail.google.com/mail/u/sample@gmail....
4
votes
0
answers
224
views
How to use HTML5 SSE with PHP and python
I want to check simple if my API endpoints are alive but I got back Firefox can’t establish a connection to the server at myURL error, I'm on 94.0.1 (64-bit) windows edition, which is based on this is ...
4
votes
1
answer
1k
views
Wrap TinyMCE 'table' in div''
Is there a way to wrap a <table> in a div with TinyMCE?
Preferably something natively by extending TinyMCE, I know I can get it to work with pure JS.
I was attempting to do something like this ...
4
votes
1
answer
1k
views
Sending email, html > jQuery > PHP
I'm trying to send an email to myself with the text that has been entered in the textbox.
<form class="form align-center" id="mailchimp">
<div class="row">...
4
votes
0
answers
236
views
How to fill a HTML SELECT based on user Geolocation
I'm trying to create a simple HTML form with a Select in which the options given are based on the user's Geolocation. The Select should show the options based on the distance between you and the, ...
4
votes
1
answer
2k
views
WebP fallback images not loading
I'm using a <picture> tag to set a responsive image with WebP support.
I'm pulling a desktop image and mobile image URLs that have both .web and .jpg files.
for each media, I'm giving the .webp ...
4
votes
1
answer
144
views
Pass database data to several divs from one loop with php and laravel
I have a paging setup, which can be shown as such:
<div class="page__A4">
</div>
<div class="page__A4">
</div>
<div class="page__A4">
</div>
Data is then passed ...
4
votes
1
answer
392
views
How to add HTML to head tag in MediaWiki without using an extension?
I desire to add HTML to the head tag of all web pages of a MediaWiki (1.33) website I have.
I found no documentation (or no clear answers in QA sessions) about how to do this.
This brought me to try ...
4
votes
0
answers
69
views
Filter paginated list on Laravel 5.4
I would Like to paginate and filter a list. But the problem is that I lose the view of the paginator element. It is gone when I filter a link like this:
<a class="dropdown-item" href="{{route('...