-
Posts
602 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Events
Posts posted by Funce
-
-
You might be able to emulate the AJAX request in an online IDE. Like Repl.it
-
Did node say anything after that? Any errors?
Did you keep the terminal open? Node runs as a process inside that, so if you close it, no more server.
-
Please do not reply to old topics.
-
Can you give any examples of what you'd like to see on the HOW TO page?
-
HTML5 is 'gone' because w3schools is no longer serving HTML4 examples. Everything in the HTML section should be HTML5.
Can you provide some examples on what you have noticed to be different?
-
You might be able to use localStorage with this.
Let me know if you need more assistance.
-
-
Just now, MyLifeForIre said:
im running the code from my webpage. so my local machine is the webserver? i guess im not sure
Webservers require specific set up, so you'd know if you had one.
You'll need a webserver to run PHP code. I recommend XAMPP to test locally as its essentially install and run. Make sure you put your files into its 'htdocs' folder, and you should be good to test. Access via 'localhost'
-
2 hours ago, dsonesuk said:
And you both missed the misplaced opening label tag.
Wondered why the closing tags were red in the tryit.
-
How are you runnning this file? Do you have a webserver set up?
-
I believe it's been deliberately verbose to illustrate it. You won't find this level of explicit alias usage elsewhere in other tutorials.
-
Is the Spreadsheet an example of the SQL layout, or are you trying to update a spreadsheet?
-
Hey there, if you want to code a backend for your contact form, you might have some luck looking at this: https://www.w3schools.com/php/php_forms.asp
This is the function you'd want to use to send an email: https://www.w3schools.com/php/func_mail_mail.asp
Onto your second question. Sell t-shirts and take online payments?
- You'd want a payment processor. I'm personally familiar with Stripe and its really good for getting a checkout nice and quickly.
- Unless you have less than 10 items, you'd probably want your own Database. This will have all the details of your shirts, including images, categories, etc Good for customers and for your payment processor. Manual upkeep of a page for each product gets tedious fast.
Above is the bare minimum. You could look at a couple of other things afterwards (like logins, and accounts) but sticking with the above will get you up the fastest.
-
Good suggestion! That would make some of the templates interesting to read. But they're still meant to be templates on their own.
In terms of the navbar, it can be summed up like this.
stick-to-top { top: 0; position: fixed; }
No Javascript required.
-
Are there any errors in your logs that are telling you what's wrong?
Is your MySQL module on?
Have you set up the new config/connection info for localhost? ("localhost", "root", "", "db_name") by default
-
-
Does the php file your sending to start with a PHP opening tag? <?php
Are you using shorthand php openers? <? and have you enabled them in your PHP settings?
-
Hi there,
What do you mean by "Get this to Duplicate" and "have them appear side by side".
Do you want additional image comparers on the same line?
-
Hi there,
I'm getting instant response with the sounds, so I'm not sure what's going on there. I'm also using Chrome.
I'd recommend using both click and scroll to access the hyperlink. You could use the code below for this. (Untested)
<a href="https://en.wikipedia.org/wiki/Mammal" onscroll="this.click()">
You can assign scroll events to any element, so the difference between an <a> tag and a <button> is not large in this case. You've got an extra set of bracers in myFunction which may be causing errors.
I've also moved your thread to the JavaScript section, as requested.
-
-
Hi there,
Welcome to the forums, please include your code in a code block, and include the question in your post.
Thanks.
-
Are your changes getting through at all? Have you tried to make an unrelated but viewable change?
Page could be cached, or you might not be on the right page at all.
I think I've managed to find the page you've linked to, I've manually inserted the anchor tag via the browser dev tools. Everything looks fine.
<div class="calcite-web"> <div class="card-base"> <div class="card-image-wrap"> <a href="https://gis.franklincountyva.gov/compviewer/index.html"> <img alt="Public GIS Viewer" class="card-image" src="https://franklincova.maps.arcgis.com/sharing/rest/content/items/a6e74f639ac34dd48e3bc6d9ee390d0a/data?w=400"> </a> </div> <div class="card-content"> <h4>Comprehensive Parcel Search</h4> <p style="min-height: 50px">This is a more comprehensive viewer for industry professionals that has more layers and more tools for those who work with land and real estate. </p> <div class="btn-group btn-group-justified" aria-label="actions" role="group"> <a href="https://gis.franklincountyva.gov/compviewer/index.html" target="_blank" class="btn btn-primary">Access GIS Viewer</a> </div> </div> </div> </div>
As an aside:
card-image-wrap has basic styling and uses Flexbox
.card-image-wrap { width: 100%; position: relative; margin-bottom: 0; flex: 0 0 auto; }
-
It is possible for it to be done, but not safely. What sort of data are you working with here? Can you provide a light example?
This sort of thing usually indicates more of a design problem, than an implementation issue.
-
All good, all good.
How about you post what you've just tried, and we can see what's going on.
Where to find the CSS values for printing Wikipedia article?
in CSS
Posted
You should be able to find the CSS appropriate by looking for the keyword "@media print".
Looking at the Wikipedia page sources, all of the CSS pages come out of "load.php", so you'll probably want to take a look at the styles from that.