Quantcast
Browsing all 165 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to Output a JavaScript Variable in an Anchor

Web browsers interpret Web pages that are written in HyperText Markup Language, and, when used in conjunction with CSS and JavaScript, HTML is the standard language used to create pages on the World...

View Article


Javascript Code That Returns the Value of the Drop Down Box

After the user loads your Web page in the browser, you must use JavaScript to manipulate and view selected values. You can use JavaScript to return the value the user has chosen in a drop-down...

View Article


How to Take the First 10 Characters From a JavaScript Variable

If your Web application needs to manipulate text data, it can access powerful JavaScript string methods that perform a variety of useful tasks. The "substr" function, for example, is ideal for taking...

View Article

How to Analyze a Javascript Split

The JavaScript "split" function provides programmers with a method to take one array variable and split it into another array variable. You analyze the new array variable by identifying how many new...

View Article

How to Detect an Abandonment in JavaScript

You can call a JavaScript function when a user leaves the page, which is referred to as an "abandonment" by some analysis programs. You can add an abandoned counter to your Web pages so that you can...

View Article


Image may be NSFW.
Clik here to view.

How to Measure a Website in Pixels

If you don't detect your website visitor's screen resolution, you may be making it harder for them to view your content. A page designed for a screen with 1024 by 628 resolution requires scrolling when...

View Article

How to Remove an iFrame Element With DHTML in IE

"Inline Floating Frames," or iFrames as Microsoft calls them, allow site owners to embed Web pages within their Web pages. A travel site, for instance might include a small iFrame that displays a live...

View Article

Image may be NSFW.
Clik here to view.

How to Measure ASCII Character Width

The ASCII character set, created in the 1960s, consists of all the characters you see on your keyboard. When developers build websites, they use these characters to create the text that appears on Web...

View Article


How to Make a Text Scroll Down by Itself

While including a scrollbar on a page is fairly simple, you can change the way that the scrollbar operates if you have some slightly more advanced skills. If you have a number of images on a page or if...

View Article


Image may be NSFW.
Clik here to view.

How to Change the Speed of Slideshows With JavaScript

Slidershows became a popular feature for Web pages shortly after the release of jQuery in 2006, a JavaScript library that makes it easy to create the kinds of animations required for sliders to work....

View Article

Image may be NSFW.
Clik here to view.

How to Use Jquery.Get in HTML

The jQuery JavaScript framework endows website developers with the power to create asynchronous interaction between the visitor to a website and the server that hosts the site's HTML files....

View Article

Image may be NSFW.
Clik here to view.

How to Replace Child Nodes in JavaScript

Nodes make it possible for Web pages to exist. Objects on a Web page, such as buttons, paragraphs and text are actually elements called "nodes." A parent "paragraph" node, for example, may contain a...

View Article

How to Make a Picture a Link That Opens in a New Tab

Hyperlinks are active links on Web pages designed to redirect the user to a new Web page when clicked. They are commonly inserted into page text but also can be inserted into images. Image hyperlinks...

View Article


How to Hide div innerHTML in Safari

You can hide a div on your Web page with JavaScript by setting its "visibility" style property to "hidden." But what if you want to hide its contents while preserving the borders or other styles...

View Article

Image may be NSFW.
Clik here to view.

Java Script Font Size Control

JavaScript allows Web developers to create interactive page functions which can tailor the appearance of elements in a way that suits users. Using a JavaScript function, a Web page control can alter...

View Article


Image may be NSFW.
Clik here to view.

What Is JS Code?

JavaScript code is saved within files using the ".js" extension. Such code is frequently used within websites and Web pages. JavaScript can tailor the style of a Web page dynamically as it is viewed,...

View Article

Image may be NSFW.
Clik here to view.

Hidden Fields in JavaScript

Hidden fields are an element of HTML forms. HTML forms contain a variety of different elements, like buttons, fields to enter text or drop-down menus to select specific answers to questions. Hidden...

View Article


How to Make Checkboxes Work in HTML for Response.Redirect

JavaScript coding lets you do a "response.redirect" used in .NET programming when users click a checkbox. JavaScript is used when you need to perform an action on the website after the user loads the...

View Article

Image may be NSFW.
Clik here to view.

How to Hide Parts of Tables With JavaScript

JavaScript functions allow you to add interactive functionality to your Web pages, such as when you want to enable your site's users to collapse or hide portions of your tables. The JavaScript...

View Article

How to Limit the Characters With CreateRange in JavaScript

The JavaScript "createTextRange" function sets up a range of characters for a text box. The range of characters is set by the number of characters contained in the "createTextRange" function. Users are...

View Article
Browsing all 165 articles
Browse latest View live