Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. cbreemer

    HTML Click handler for <embed> element

    Thanks for that. Yes I guess there is more to PDF than I reckoned with. Overlaying a <div> is exactly what I now have to make the click possible.
  2. cbreemer

    PHP My Custom PHP Arcade Game Script

    Somehow I don't think he will, after 5 years....
  3. cbreemer

    C# Trying to display SQL data better

    No problem. If my code helped you out, don't forget to mark my post as the Solution.
  4. cbreemer

    C# Trying to display SQL data better

    It's just a matter of enhancing your stringBuilder to include the HTML for a table, for example like this stringBuilder.Append("<table>"); foreach (DataRow row in dt2.Rows) { stringBuilder.Append("<tr>") stringBuilder.Append("<td>Client Ref...
  5. cbreemer

    HTML Click handler for <embed> element

    I'm not sure how the PDF would be "getting the click", and how it would react to it, being just a file without code (or so I assume, you never know...). Anyway yes, I could find something else to click on if the <embed> does want to play ball. There's always another way. I'd just like to...
  6. cbreemer

    Grid using media queries to collapse buttons from 3 to 2 to 1

    It seems you found another solution than the one I proposed. It would be good manners to post the details of your solution.
  7. cbreemer

    Grid using media queries to collapse buttons from 3 to 2 to 1

    Why post your fiddle link again ? You want me to check your fix ?
  8. cbreemer

    Grid using media queries to collapse buttons from 3 to 2 to 1

    It's because you have already defined grid-template-columns in your main .buttonContainerC section. That is not goinf to be overwritten by the values in your @media sections. Remove that line and add this section: @media (min-width: 536px) { .buttonContainerC { grid-template-columns...
  9. cbreemer

    HTML Click handler for <embed> element

    I have a page with an <embed> element that is displaying PDF files: <embed id="Preview" type="application/pdf"> It works great but for some arcane reason I cannot put an onClick handler on this element. Well I can, but the function is never called. To overcome this I had overlayed the <embed>...
  10. cbreemer

    Caption text limit?

    Apart from the code being incomplete, you are not being very clear. Which one of these captions is in error then ? Please post the complete HTML, as well as the style.css file.
  11. cbreemer

    Answered Replace very large jS if/elseif/else to show/hide many divs?

    In a case like this I would initially set all elements to display none, then only the one I want to flex (no harm in changing a setting twice), using a switch statement rather than an if/else train. This already gets rid of most of the code. This is fine if you have a handful of elements, but if...
  12. cbreemer

    Dynamic load of CSS file

    Thanks. There is much about positioning that I don't know or understand, having only ever used absolute and relative. Anyway I have moved on from this issue, having marked it as solved. My implementation isn't perfect but it works and solved the need.
  13. cbreemer

    HTML & CSS Open a webpage from an XML array

    Yeah, makes sense. Making music is more important than changing websites. Please make sure to close the case by marking one of the comments (even if it's your own) as the solution.
  14. cbreemer

    HTML & CSS Open a webpage from an XML array

    Is that applicable here ? I could be wrong but I thought target was only for a href, not for an onclick?
  15. cbreemer

    HTML & CSS Open a webpage from an XML array

    Have you tried changing it the way I suggested ?
  16. cbreemer

    HTML & CSS Open a webpage from an XML array

    I'm surprised that works at all. window.open() expects an URL, not a JavaScript command. Magic... But if it works, it works. Obviously you get a new window here. Not sure what you mean with "the query". And I don't know what exactly that JS command is supposed to do. But I think it should be as...
  17. cbreemer

    JavaScript Model validation error when using Fetch or Axios despite returning a status 200 in the backend?

    Ok, let us know if you find the problem. Sorry I could not offer more concrete help.
  18. cbreemer

    HTML & CSS Open a webpage from an XML array

    I think I know what the problem is here. Your D/L button has this HTML code <a id="btn1" class="button3" title="Download This Song" href="deCod(jwplayer(radio).getPlaylistItem().link);" target="blank">D/L</a> which should be <a id="btn1" class="button3" title="Download This Song"...
  19. cbreemer

    HTML & CSS Open a webpage from an XML array

    I don't see any button marked "New" 🤔 A song already starts playing automatically after a second or so. There is indeed a D/L button, underneath the "Easy" button. Clicking it produces this screen: Is this the problem you are describing ? Just taking it one small step at a time here...
  20. cbreemer

    hamburger wont work

    Great that you have fixed it and learned something along the way ! No, not really. Sorry if I unwittingly gave that impression. I do admit I can get a bit frustrated when it seems like my posts (which I spend a lot of time on and take great care to be as precise and complete as possible) are...
Back
Top Bottom