-
Posts
602 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Events
Posts posted by Funce
-
-
Make sure to take note of the URL of the websites you visit.
W3schools pages will be under the domain https://www.w3schools.com/
The site you have linked is indeed fake, and I have removed it so others do not visit it unnecessarily.
-
Just a small error on the website server. I don't know the details, but it seems to have been fixed.
-
-
Fear not! The website is back up and running again.
-
Your guess is as good as mine. Thankfully its fixed.
-
The momentary interruption has been fixed.
Thank you for reporting this.
-
It seems there was a small interruption in service surrounding the w3schools website. But it looks like it has returned to normal operation.
-
There's no particular character per say, but if you create separate <pre> elements you can apply this styling in your stylesheet.
@media print { .pre-break-after { page-break-after: always; } }
Give it a try.
-
On 9/22/2019 at 2:25 AM, aircooled said:
It works perfect with ':=' on the sites I succeeded with. I am calling Java script from other software could be that. But it works.
:= is invalid JavaScript.
Uncaught SyntaxError: Unexpected token :
-
One solution is to add some margin:auto to your mySlides style.
.mySlides { margin: auto; max-width: 50%; }
-
On 9/13/2019 at 8:03 PM, Raktim said:
But, those 2 string does not full match.
1 string only charecter 5 is matched and 2nd string only F8 are matched. But I want to do match the complete string. How to modify that?
You've gotta modify this regex so you're using the entire string that matches as follows.
(?=(.*\d){2})(?=.*[A-Z])(?=.*[a-z]).*
Does this work for this one?
On 9/13/2019 at 9:40 PM, Raktim said:I want to make that input take only 2 number at least one lowercase, one uppercase and at least 8 characters except number.
I tried this pattern...
(?=(.*\d){2})(?=.*[A-z])(?=.*[a-z])[A-z!"#$%&'()*+,-.\/:;<=>?@[\]^_`{|}~]{8,}
But it totally fails. Then what should be my correct pattern to do that?
I want Like...
Abc4k9h2L ->FALSE
Abc4k9hL+ ->TRUE
Abc4l@s$kl4 ->TRUE
And for this one, I've done a negative lookahead, that if it matches more than 3 digits, it won't be valid.
^(?=(.*\d){2})(?=.*[A-Z])(?=.*[a-z])(?!(.*\d){3,}).*$
Does this work for this one?
Ab45 -> Match
a4F8 -> Match
aosjgHJ35 -> Match
JsOsm4Osmf6 -> Match
JsO2m4Os4f6 -> No match (3 numbers)- 1
-
Hey Roddy,
I had a look through and it seems you get a jquery error on the ones that don't scroll.
The error given is below
jquery.js:358 Uncaught TypeError: Cannot read property 'length' of null
What I found is that you're using jquery.each on some JSON data you receive from search_podcast.php
However the only thing I can see I've received from search_podcast.php is:
null
Compare this with the result from search_letter.php
[]
And you can probably tell you've got some malformed JSON being returned. I would check the difference between search_podcast and search_letter in their return values.
--
On a side note, gc_splash.css is requested 114 times. Although at 8.6KB each, and 150ms response time, that's pretty hefty for 114 instances. You should only need to include this once for a given webpage.
-
4 hours ago, Raktim said:
okay
Would something like this work?
(?=(.*\d){2,})(?=.*[A-Z])(?=.*[a-z]).{8,}
Test data:
aaBcde7fg - No Match (1 number)
aaBcd67fg - Match
87aBcdfgf - Match
8aBcd7dfg - Match- 1
-
Is this something you require assistance with?
What part are you having trouble with?
-
Welcome to the forums!
This one is a pretty simple fix, all you need to do is add a style to your div.
<button onclick="myFunction()">Click Me</button> <div id="myDIV" style="display: none;"> This is my DIV element. </div>
-
Try posting a code snippet, maybe that will illustrate what you're having issues with.
-
Hi there Russell,
Is this the first time you've set up a web server on your home PC? Is this going to be your local testing server? Is this something you want to be able to access externally?
You mentioned another web server, is this hosted online?
The error message shown indicates that your browser doesn't know where the server you've set up is.
If this server is not going to be externally accessed, have you set up your Windows hosts file?
-
I'd be more interested in throwing away the iframe idea (I'm quite biased against iframes) and going back to the include and finding out what was wrong with that.
What happened with the w3 include, it obviously works in the example.
- 1
-
I've managed to reproduce this.
Fix is at end.
The error is surrounding the 'hard' wrap attribute. It seems that the new line characters created don't play well and differing browser behaviours are observed.
Internet Explorer seems to have an interesting time dealing with the new line characters.
IE Query Sent
usrtxt: At+W3Schools+you+w%0D%0Awill+find+free+Web-b%0D%0Abuilding+tutorials.%0D%0A
When I moved the cursor around in IE to see if I could find these hidden characters, I ran into some weird behaviour (found a character, tried to go over it again, didn't work) and ended up with this being sent (NOTE THE ADDITIONAL "WILL", but the additional B is gone)
usrtxt: At+W3Schools+you+will%0D%0Awill+find+free+Web-%0D%0Abuilding+tutorials.%0D%0A
Chrome Query Sent
usrtxt: At+W3Schools+you+%0D%0Awill+find+free+Web-%0D%0Abuilding+tutorials.%0D%0A
I would instead use wrap=soft, and wrap on output instead. There really isn't very many scenarios where you need to use wrap=hard. (I personally haven't found any)
-
23 hours ago, Christopherp said:
Aha - understood. Will search for a dropdown closing event
You should be able to re use the event that the hamburger button uses.
Try adding an onclick attribute that's similar to the hamburger button (if it has that attribute)
-
11 hours ago, haralddae1971 said:
Are you asking for something like screenshots?
Use the code snippet function to provide code snippets. Try to keep them small enough that they illustrate the problem that you have.
-
X - Height - Gap is used so that the the second obstacles reach the bottom of the screen. Though "y" would be a better choice (canvas.height) this is immaterial as the code always runs with the width as larger than the height, which is the requirement for the bottom obstacle.
-
Do you have a snippet of code that exhibits this behaviour?
-
You should be able to use an advanced text editor such as Notepad++ to be able to search for new line characters, and remove them.
If you are referring to programmatically removing the new line characters, then I'd need to know what server side language you're planning to use.
Filtering Photo Gallery
in ASP
Posted
Perhaps you could include a small snippet of code that is showing the problem?