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. yumedoll

    Answered How do I create unique ID numbers for each entry in a data text file and get the PHP to reference it when needed?

    I’ve been using HTML, CSS and JS for a while now but I'm new to PHP. So I apologize if my syntax is a mess or my explaination is a little confusing :') I'm using some guestbook code created by the lovely Baccyflap to make a BBS system (I’m not sure what they’re called in the west but in Japan...
  2. yumedoll

    Answered Can a hyperlink inside an iframe manipulate separate iframe outside of it?

    So I have this homepage that contains two separate iframes that are sourced from two separate html files. One is a calendar, the other is a blog. What I want to do is to put hyperlinks on marked dates on the calendar that the user can click to jump to the related blog post of that date...
  3. yumedoll

    Answered Div gets pushed downwards even without top margin

    Can someone help me with this? I'm making changes to my personal site and I added these "sidebars" to it. Everything looked fine until I added my links into the left sidebar div, and it just got pushed downwards like this: Here's the code in question (With the container in case you can find an...
  4. yumedoll

    JavaScript [SOLVED] Can anyone help me figure out why these specific EventListeners aren't working?

    I have this: document.documentElement.addEventListener("load", function(){ document.getElementById("loading").style.display = "block"; document.getElementById("okthanks").style.display = "none"; }); window.addEventListener("load", function(){...
  5. yumedoll

    JavaScript drawImage on a canvas in the position where an element has been dropped into it?

    I'm making a game about baking a decorating a cake using Interact.js. Everything is done so far but I'm trying to figure out how to make it so the image that is dragged onto the cake (which has a canvas in it's div) will be printed on the canvas at the exact position it was dropped. The idea...
  6. yumedoll

    JavaScript Interact.js: Snap rotation to certain angles?

    I have this script I picked off of a codepen interact('.drag-rotate') .draggable({ onstart: function (event) { const element = event.target; const rect = element.getBoundingClientRect(); // store the center as the element has css `transform-origin: center center`...
  7. yumedoll

    JavaScript Why is the placement of the declaration of my let variables being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt =...
  8. yumedoll

    JavaScript Why is the placement of the first declaration of my let variable being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt = 0...
Back
Top Bottom