-
Posts
14,894 -
Joined
-
Last visited
-
Days Won
176
Content Type
Profiles
Forums
Events
Everything posted by Ingolme
-
There seems to be an issue with the site. They might respond faster if you send an email to help@w3schools.com
-
I just had a bit of time and checked. There certainly does seem to be a problem. The problem is not on your computer, it's the server that has a problem. When the manual is talking about the operating system, it is referring to the server's operating system, not your computer's operating system.
-
Which tryit example are you referring to? By Tryit editor, I assume you're referring to something like this: https://www.w3schools.com/php/phptryit.asp?filename=tryphp_func_string_strlen
-
Are you able to use the DOM inspector to see which styles are being applied? Edit: Considering Safari is the one with the problem, have you cleared the browser's cache? I am aware that Safari has a very aggressive cache.
-
This should work: display: block; max-width: 100vw; max-height: 100vh; width: auto; height: auto; The element containing the image should take up the full size of the window for this to work correctly.
-
The == was probably checking that both strings were pointing to the same space in memory, which they probably were not.
-
See if shouldLoginNo.trim().equals("Yes") makes a difference.
-
XSLT can only deal with valid XML. If you have another programming language available to you, you could have it replace the entities before sending the XML to the XSLT engine.
-
There may be invisible characters. What number do you get when you call shouldLoginNo.length() ?
-
I tried to test this in the browser but it rejected the XML because of undefined entities. Which XSLT engine are you using? It looks like your XSLT engine is allowing it to run but stripping out entities that it does not understand.
-
Can you show the full code including the section where the data is retrieved from the spreadsheet?
-
Print the variable to see if it contains the value you expected it to have. System.out.println("*" + shouldLoginNo + "*");
-
Did you try changing the value of "disable-output-escaping"?
-
What data type is that variable? Where did it come from?
-
I would start by printing the return value of shouldLoginNo.trim(). It clearly is not equal to "Yes".
-
In XML, those would be considered invalid entities, though it is valid if the document is HTML. You can escape them by turning every & into & <pronounce>&abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;ramp;′&ebreve;nt</pronounce> Doing this straight through XSLT, I'm not certain, but you might want to set disable-output-escaping to "no" so that it will escape the characters.
-
What does your code look like? Maybe you forgot to replace the comma on the previous line with a semi-colon. If that's not the issue, then it sounds like all of the other font files are missing from your server or are corrupted.
-
You might need to upgrade your version of Edge. The <details> tag is not supported in versions prior to 79.
-
You could give the body an overflow: scroll property to always have a scrollbar there.
-
I don't see any menus or dropdowns in the file you have attached. Clicking on the words just reloads the page. I would guess that the menu is causing a scrollbar to appear, so the page has to move to the left to accommodate for it.
-
Perform the Autocomplete by w3schools approximation
Ingolme replied to marcosxp's topic in JavaScript
You can use indexOf() to see if the search term can be found in each item in the array. -
That is not very descriptive. What code have you written and what exactly is it meant to do?
-
What is the expected result?
-
This code needs to run on a web server. If you open this from your local filesystem, the request to load the content will be blocked by the browser's security features. If you are running this on a web server, make sure that the file header.html is in the same folder as the file that is including it.