Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. This is exactly what I was looking for, thank you very much!!!😍
  3. You have declare to class name after hover but actually hover is pseudo-classes and it defines after class name .img-text-wrapper .subtitle :hover { font-weight:600; color:lightgreen; } .country .subtitle2 : hover { font-weight:600; color:black; padding-bottom:60%; }
  4. Last week
  5. To me it looks like the class and id have been merged together, but it's not that clear. class="table-cell id+" 1" when should be class="table-cell" id="1" ALSO you never start class/id with a number.
  6. You can use following code for reference.0 : /* Extra small devices (phones, 600px and down) */ @media only screen and (max-width: 600px) { height : ... /*whatever you want*/; width : ... /*whatever you want*/; /*any thing extra that you like to add like margin,padding,etc */ } /* Small devices (portrait tablets and large phones, 600px and up) */ @media only screen and (min-width: 600px) { height : ... /*whatever you want*/; width : ... /*whatever you want*/; /*any thing extra that you like to add like margin,padding,etc */ } /* Medium devices (landscape tablets, 768px and up) */ @media only screen and (min-width: 768px) { height : ... /*whatever you want*/; width : ... /*whatever you want*/; /*any thing extra that you like to add like margin,padding,etc */ } /* Large devices (laptops/desktops, 992px and up) */ @media only screen and (min-width: 992px) { height : ... /*whatever you want*/; width : ... /*whatever you want*/; /*any thing extra that you like to add like margin,padding,etc */ } /* Extra large devices (large laptops and desktops, 1200px and up) */ @media only screen and (min-width: 1200px) { height : ... /*whatever you want*/; width : ... /*whatever you want*/; /*any thing extra that you like to add like margin,padding,etc */ }
  7. Take a look at our Media Query Tutorial page. Let me know if you have any questions about it.
  8. You might have some conflicting styles in there. Can you paste your stylesheet in a code block?
  9. Node's mysql module doesn't support Mysql server 8 authentication just yet. So we need to change the server so that it uses the old version of auth. If you can execute an SQL query (not in node), then you can run the following ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password' Replacing, 'password' with your own password of choice. (Assuming you're still user root on localhost domain.) Then run flush privileges; And try node after that.
  10. Could you include the stylesheet with this? I'm not able to recreate the issue with what you've shown.
  11. Yes! It should be, it just rewrites the url in the address bar while referring to original querystring url.
  12. My HTML is like this: <!DOCTYPE html> <html> <body> <form action="https://www.w3docs.com/" method="get" target="_blank"> <table> <tr style='background-color:darkgray;color:black;'> <th>Column A</th> <th>Column B</th> </tr> <tr> <td id="myInput" >1234</td> <td><button onclick="copy()">Copy</button></td>", </tr> <tr> <td id="myInput" >5678</td> <td><button onclick="copy()">C</button></td>", </tr> </table> </form> <script> function copy() { var copyText = document.getElementById("myInput"); copyText.select(); document.execCommand("copy"); alert("Copied the text: " + copyText.value); } </script> </body> </html> It still doesn't copy the number "1234" in column A when clicking the button Copy in column B. what did I do wrong? When clicking the button in the second row I want a number "5678" to be copied. The web page opens. Thank you for your help. Matija
  13. I try to learn Node.js and the MsQL connection. I follow this tutorial: https://www.w3schools.com/nodejs/nodejs_mysql.asp But when I put that in the Mac Terminal: node demo_db_connection.js I get that error: sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client', sqlState: '08004', I tried many things. Please help.
  14. Is it possible to still execute the $_GET php code and have a clean url ? I find it EXTREMELY hard to solve my problem written in the OP.
  15. As you said i have written some code here it is. function copy() { var copyText = document.getElementById("myInput"); copyText.select(); document.execCommand("copy"); alert("Copied the text: " + copyText.value); } <form action="https://www.w3docs.com/" method="get" target="_blank"> <input type="text" value="Hello World" id="myInput"> <button onclick="copy()">Copy text</button> </form> I hope it'll be helpful to you.
  16. No! the address you see in browser address is changed, it still goes to original address, but! if you are setting the original address to a redirect address then yes!
  17. Ingolme

    Node Naming

    What are you using to parse this XML file?
  18. The software that's parsing the info from the link is written in LabVIEW, which I can neither see nor am I familiar enough with it to say what's occurring. I know the page address is hardcoded into the software request, it sees that the page has been moved with a redirect, but it can't gather any more info from the page beyond that. When the code is changed to request from the new address it has no problem parsing the info it needs. With the redirect it displays nadda but gives no error.
  19. Ah yes, but the mod-rewrite would also be a form of redirect, am I correct? I spoke with a back-end developer who said this was possible within the GoDaddy files, however, if the software isn't recognizing the redirect it won't be able to parse the mod either.
  20. The only option I can think of is mod_rewrite, you can make it create a url to you needs (within reason) but it will still go to original url in the background. Similar to a url with lots of query string http://example.com/index.php&page=dogs?type=greyhound Mod_rewrite can make the url address appear as http://example.com/dogs/greyhound If that's any help.
  21. I added info about base tag
  22. They had directed me to the custom CSS page and their forum (no one has responded) and gave me zero information beyond that. The plan this is on doesn't cover Javascript either. If you're aware of other ways this can be done on a platform, I'm open to suggestions. At this point I've talked to so many people I'm not sure this is possible without having the entire site redone elsewhere.
  23. I don't how css can do that as its presentational, the most it can do is show text using :before and :after a link address. There is a base tag which would have the http domain and default root folder, you then must have relative paths without domain and root folder. https://www.w3schools.com/tags/tag_base.asp
  24. Does anyone know if it's possible to force a specific url onto a single page in squarespace without using a dev site, javascript, or hiring someone to do it? If so, what is this called so I can find more information? SQSP doesn't allow for the slug characters needed. Have a strange situation where a single web needs to match an old address exactly. Redirect doesn't work for this. I was told by Squarespace support that this was possible with CSS. The refused to give me any more information.
  25. hi, I have a HTML document with a table with more rows Example: Column A: text123 Column B: button When pressing a button in column B, I would like a text in column A to be copied to a clipboard + a certain page to be opened in a new tab (for example: www.google.com). any suggestions would be appreciated, Matija
  26. Just put the code for one of the cards inside one of the <div class="column"> elements.
  1. Load more activity
×
×
  • Create New...