Posts by Rodrigo B. Silva • 173 points
14 posts
-
1
votes1
answer39
viewsA: Redirect via HTML5 Offline Online events
I resolved it this way: function updateOnlineStatus(evento) { var status = document.getElementById("status"); var condition = navigator.onLine ? location.href='online.html' :…
-
1
votes1
answer39
viewsQ: Redirect via HTML5 Offline Online events
How to identify if HTML5 app identifies and redirects if offline or online? Ex: When opening the app if you are without internet loads a warning html and online redirects to a website. I found this…
-
0
votes3
answers1306
viewsA: Browser compatibility with javascript
To detect which browser and its respective version, you can use the following function, where an object will be returned with the browser name, its version and other browser information: // Opera…
-
1
votes2
answers37
viewsQ: Check link depending on content starts query
I need to load a "fake Download" when a link in the menu is triggered, but in this menu some links are empty <a href="javascript:;"> or <a href="#">, need to identify only these via…
-
0
votes0
answers131
viewsQ: Simple Lens Jquery does not work on IE and Edge
I’m using simpleLens but the same is not working on IE and Edge. Zoom does not appear and images do not change when passing the mouse. I’ve tried to change several parts but it doesn’t work.…
-
0
votes1
answer62
viewsQ: Swap data-zoom and src content without jquery
I’m working on a Superzoom but I need to make sure that when clicking on the thumbnails it changes the src and the date-zoom of the main image but without using jquery. Another important detail is…
-
0
votes2
answers600
viewsQ: Open iframe link after post PHP + JS
I asked another question here on the forum about another subject that helped me a lot about this but the link opens in new page. What I would like to do is to click on the Ubmit to open inside an…
-
0
votes2
answers468
viewsQ: Send text via form and transform in link via PHP
I would like the text written in a form to be added to a link and when clicking on the "button" it directs to the generated link. For example. In the form the user puts "Tobias" and when clicking…
phpasked Rodrigo B. Silva 173 -
0
votes2
answers1317
viewsQ: PHP - If there is no content on the line do not display
I’m having a problem that I can’t solve (I don’t know much about php) that I think is simple. I am pulling a list of products from a database, but some products have no image and I would like that…
phpasked Rodrigo B. Silva 173 -
0
votes4
answers1708
viewsQ: Delete only selected PHP checkbox
I have a system that I did (I don’t know much about PHP) worked perfectly but after switching server stopped working the function of deleting only the selected checkbox, it simply deletes…
-
5
votes2
answers108
viewsQ: PHP Ordination
I have a PHP code that pulls an XML and plays on the screen but I would like it to run in random order and not the order that is in XML. That’s possible? Code I’m using. PHP $xml =…
-
1
votes2
answers879
viewsQ: Load javascript depending on the viewport?
It is possible to minimize the download javascript depending on the viewport? I can put different CSS files to be loaded just by checking the size of the viewport for example. I’m with a virtual…
-
6
votes1
answer1115
viewsQ: How to format php mail?
I’m having trouble inserting formatting into the code. Whenever I send, I receive the email the formatting tags as <html> <body>, <strong>, <b>, <p>, etc.... Follow…
-
1
votes2
answers553
viewsQ: Java script menu opens and closes other Ivs
I have a problem that is simple but I do not use JS a while back then I got a problem. I’m having to create a menu similar to the Amazon, but the site is responsive and I did with lists. But it was…
javascriptasked Rodrigo B. Silva 173