Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
JavaScript Tutorials
November 5, 2023Nathan

Slideshow and transition effects using JavaScript

Learn how to create a slideshow using JavaScript. It will feature next, previous, play, pause and resume buttons along with transition effects between pictures. First let’s create the HTML elements that we will use for the slideshow. We need an image, four buttons and two divs: We will use the img tag to display the pictures in […]

Discover
JavaScript Tutorials
November 4, 2023November 29, 2023Nathan

Disable The Firebug Plugin

Using JavaScript, you can disable the Firebug Firefox plugin to prevent others from debugging your code. This JavaScript code snippet is designed to ensure that the console object exists in the browser environment, even in browsers where it might not be natively supported or if certain tools like Firebug are not present. Here’s a breakdown: […]

Discover
JavaScript Tutorials
November 4, 2023November 4, 2023Nathan

Trim Leading And Trailing Spaces

Trim the whitespaces at the beginning and end of a string using while loops instead of regular expressions.

Discover
Convert a number from digits to words
Code JavaScript
September 24, 2023November 3, 2023Nathan

Convert a number from digits to words

A JavaScript function for converting numbers (21) to words (twenty-one). It works for numbers up to 999, but it can be transformed to support numbers in the thousands too.

Discover
Check URL validity using JavaScript
Code JavaScript
September 24, 2023November 3, 2023Nathan

Check URL validity using JavaScript

The CheckValidUrl() function takes in an URL and checks whether or not it is valid by verifying it against a regular expression. Works for HTTP, HTTPS and FTP URLs.

Discover
Submit form on selection of dropdown item
Code JavaScript
September 24, 2023December 12, 2023Nathan

Submit form on selection of dropdown item

This example code addresses a popular need to have a form submitted on the selection of a value from a dropdown control.

Discover
Get window width and height
Code JavaScript
September 24, 2023November 3, 2023Nathan

Get window width and height

Get the window width and height in JavaScript using a cross-browser function that works with all versions of Internet Explorer and Firefox.

Discover
Verify the version of Internet Explorer being used
Code JavaScript
September 24, 2023November 3, 2023Nathan

Verify the version of Internet Explorer being used

Using JavaScript, this function verifies if the current version of Internet Explorer is the same one as the one passed through the function argument.

Discover
How to pop up the Print dialog from a web page
JavaScript Knowledge Base
September 24, 2023November 4, 2023Nathan

How to pop up the Print dialog from a web page

You can very easily pop up the Print dialog using a JavaScript call to a function. The following code works in all major browsers, including Internet Explorer and Firefox:

Discover
How to improve the performance of your for loops
JavaScript Knowledge Base
September 24, 2023November 4, 2023Nathan

How to improve the performance of your for loops

Instead of the typical: Use: Because instead of checking the length of the array each loop and comparing it to i, it stores it in a variable arrLen, which is then compared at each loop with i. This saves a few milliseconds, since checking the array length requires slightly more processing power.

Discover

Posts pagination

Previous 1 … 3 4 5 6 Next

Trending Posts

Energy, Focus, Immunity: How Vitabiotics Covers All Bases

Apr 18, 20258 min read
Read More

Which Broadband is Best for Heavy Streamers & Gamers?

Apr 17, 202518 min read
Read More

Sky Broadband Review

Apr 17, 202514 min read
Read More

Apple Review: More Than Just a Logo on a Device

Apr 17, 20259 min read
Read More

Smartphone Cameras: What Makes the Perfect Camera for Everyday Users?

Apr 17, 202510 min read
Read More
No Post Found

Trending News

Amazon Redshift Enhances User Experience with Generative SQL Capabilities

Jan 2, 20245 min read
Read More

Insights from Industry Experts: Predictions and Perspectives for 2024

Jan 1, 20244 min read
Read More

Top Programming Languages of 2023

Jan 1, 20244 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions