Jump to content
#StayAtHome ×

cyberRobot

Moderators
  • Content Count

    3,008
  • Joined

  • Last visited

  • Days Won

    26

cyberRobot last won the day on March 4

cyberRobot had the most liked content!

Community Reputation

121 Excellent

About cyberRobot

  • Rank
    Much to Learn

Contact Methods

  • Website URL
    http://www.cyberscorpion.com/

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

85,405 profile views
  1. What type of website are you building? Is it a blog or some kind of resource library? In other words, would the contents of all these pages be better suited for a database? Perhaps there's a way to build a single page in PHP which pulls the necessary information from the database based on a passed ID.
  2. Since it looks like you are using jQuery already, you could use one of their selectors. For example, you could look for <div> tags that contain an "id" attribute where the value ends with "-order-no". More information about writing the selector, including an example, can be found here: https://api.jquery.com/attribute-ends-with-selector/
  3. Are you using MySQL? If so, have you tried the built-in date functions to get the needed information? More information about the functions can be found here: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html
  4. Hmm... When I do that in both Firefox and Chrome, there's only an option to download the website files. You see an option to create a website shortcut? In case anyone is looking for a quicker way to create a shortcut, you can also grab the lock icon (or where the lock would be for non-secure website) near the URL in the browser's address bar and drag it to your desktop.
  5. Is this what you are looking for? https://www.lifewire.com/create-shortcuts-in-google-chrome-for-windows-4103617
  6. Are asking about the Google Chrome browser? In other words, if you click one icon, the browser displays specific options. If you click the other icon, the browser displays different options? If so, you could set up different Chrome profiles and create a shortcut for each. https://www.howtogeek.com/256629/how-to-create-a-windows-shortcut-to-open-a-specific-profile-in-chrome/ Or are we talking about loading a web page differently based on those Chrome shortcuts? I'm a little confused since the question was posted in the HTML forum.
  7. Just to clarify, do you want the name for team 1 to be 25 characters? And the name for team 2 to be 25 characters? So you would have 50 characters at most for both team names? If so, you could try requinix's suggestion above. You already exploded the names. From there, you can use substr() to limit each name.
  8. Placeholders, by themselves, will make the form less accessible for people with certain disabilities. More information can be found here: https://webaim.org/techniques/forms/advanced Be aware that the <label> tag isn't doing anything here: <form action="/quickfind" id="quickfind" method="post" name="quickfind"> <label>Enter your name</label><br> <input type="text" id="find-search" placeholder="First name"><br> <input type="text" id="find-search" placeholder="Last Name"> </form> It needs to be connected to an <input> tag using the "for" attribute...or the label and corresponding <input> tag need to be enclosed with open/close <label> tags. Also, I'm fairly certain a <label> tag cannot be connected with two separate input fields. Each of the <input> tags above need their own label. More information can be found here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label FYI - There is an easy way to tell if a label is connected with an input field. Clicking the label in your browser should place focus on the corresponding input field.
  9. Good luck with the class and welcome!
  10. Are these links appearing in a particular section (e.g. page footer) of the website? If so, the styles could also be applied to all links in that section. That way you don't need to create extra classes. For example, if your links are in an HTML5 footer tag: <footer> <p class="mylink"><?=$echo?></p> </footer> You could style the links with the following: footer a { font-size: 4pt; color: #FFFFFF; }
  11. Not that we're collecting votes or anything. I also think post #s would be nice. That's usually the first thing I look for when trying to find a link to a specific post. Referring to a post # could also be good for most threads as described above by SaranacLake. There are some longer multi-page threads, however, where it would be better to just link to (or quote) the post. That way people don't need to go digging to see what you are referring to. Of course that's a very minor problem.
  12. As mentioned earlier, you could also link to your earlier post. Note the link at the beginning. Perhaps requinix is still looking into this. But I'm guessing it's not given the following:
  13. Also note that there is a link behind the timestamps. You could potentially use that to link to the indicated post.
  14. Just be aware that if the website's domain ever changes, you will need to go through all your scripts to updated the include statements. Another option to consider is specifying an include_path. https://www.php.net/manual/en/ini.core.php#ini.include-path
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.