-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Joshua Swafford
-
-
Did HTML update to where you can't go to a site with a Iframe anymore?
If you try to go to a site in a Iframe now you get these errors:
1. Refused to frame 'https://www.w3schools.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://mycourses.w3schools.com".
2. Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
-
On 3/5/2021 at 1:46 AM, Eugene Potterton said:
OK I am new to this and have had some success with using html, however I seriously need assistance in creating a certain part of the form that is already created. I have insert 2 radio edit buttons, the first being YES and the second being NO. How do I create or right the code so that when no is selected a new required text box appears.
Sorry for the unintelligent question but I am at my wits end.
Regards
Eugene
Hi Eugene, this should help you. It was pulled from this link
<form> Select Gender:<br> <label> <input type="radio" name="gender" value="male" required> Male </label><br> <label> <input type="radio" name="gender" value="female"> Female </label><br> <label> <input type="radio" name="gender" value="other"> Other </label><br> <input type="submit"> </form>
-
First off you can't make a music player without JavaScript. So that would be something you would want to learn.
As for your question, I don't know what your question is.
Do you want audio player links or do you want help with your editor?
On 3/14/2021 at 2:29 PM, Rolandu said:coding / programming is not really my cup of tea.
If you don't want to put in a ton of effort you should probably quit.
This is a learn or quit kind of thing because code builds on the things you know and remember.
-
On 3/2/2021 at 8:11 AM, Prashanth.P said:
Namasthe I'm recent learner to this site. How to write a HTML image code on notepad. I can't write the code in notepad even in tryit editor. w3schools displayed options are not working only for w3schools site image working. Please guide me in this <img> tag. Thank You.
You should really really not use notepad. I started with it and it just sucks. You may want to switch to either Atom or Visual Code.
-
On 3/19/2021 at 4:55 AM, Prashanth.P said:
This is your code.
<p title=About W3Schools>You cannot omit quotes around an attribute value if the value contains spaces.</p>
and this is the correct code.
<p title="About W3Schools">You cannot omit quotes around an attribute value if the value contains spaces.</p>
1. Who are you talking to?
2. What is the point of giving <p> or <hx> a title?
-
So I am having trouble with collision. My basic game which is below is not working and I don't know why.
I made the code where if I touch the green wall the game stops, but the wall is somehow invisible from the edges and stops the game before you visibly touch the wall. Plzzz help
-
Why does this line of code look the way it is?
header img#elizaPic { float:left; } header img#barbosPic { float:right; transform:rotate(180deg); }
When you call an id it always should look like
#elizaPic { float:left; } #barbosPic { float:right; transform:rotate(180deg); }
-
On 12/2/2020 at 6:18 PM, Mark West said:
I am trying to find out what I need to do in order to get a website to play a small sample (about 30 seconds worth) of a larger audio file. For example, the first 30 seconds of a five minute audio file. I have searched for solutions to this issue, and so far have come up empty. And suggestions how to go about resolving it would be greatly appreciated. Thanks in advance.
You could edit the audio...
-
So anyone who has ever tried to make a discord bot has the code written for them in a tutorial. Then it it hosted either by a website, or locally via NET.
I want to make the local option more attractive by making a Windows/.exe, Linux, Mac interface.
What needs to happen is to make a working project with HTML, JavaScript, and/or no CSS. Then it can be made into an application using Electron.
The main problem is that I want to make the interface have buttons that turn options on or off. If you ever tried setting up Mee6 you would understand.
Does anyone have any ideas how this could be accomplished? This by no means would be easy to make.
-
I have made a custom browser in Visual Studio with Visual Basic. The browser works great but does not run JavaScript so websites think I'm outdated. Does anyone know what I could do to let my browser run JS?
-
On 1/25/2021 at 6:06 PM, Ingolme said:
Please, leave the moderating to the moderators. While the General forum is described as general discussion about W3Schools.com, we do allow topics that don't fit other categories to go there. The guidelines are just guidelines, not necessarily strict rules. The guidelines are written this way to make it more likely for somebody to have their question answered.
With that out of the way, it's not a good idea to just sign up to the forums to recruit people. On these forums, what people can offer you is advice about coding, software design and even game design if you need it. To start, you will need to describe in which areas you need help. There's a whole lot more to game development than programming, in fact, programming is only a small part of it.
Ah sorry for being an inconvenience then. As a note I did not join just to recruit people; it just seemed like a good first post.
-
Just now, niche said:
The General Heading is for topics concerning the w3schools site.
Do you code?
Yes I do. I have made login pages, multi page sites, and more. Now I want to make a game. (Besides the 2d platformer I am working on)
-
Just now, niche said:
Please read our guidelines:
- [topics] Must be a Specific Problem or Question related to web design and development
Should this be in general then?
-
I want to make a RPG game that can be run in a browser. The goal of the post is to see if I can get other developers to help.
I know HTML and CSS but don't know JavaScript, which is a big part of game. ( I am learning it now )
I want the graphics to look similar to pixel dungeon.
The people who sign up will get equity of the game. While this game is to be made for fun it could also make money.
For more details about the game details ( such as classes, levels, etc. ) contact me.
HTML Iframes
in HTML/XHTML
Posted
Would there be a way to bypass this? Or somehow run a server on localhost that goes to the website which then can be linked to?