|
|
Miscellaneous
ASP » Tips and Tutorials » Miscellaneous
A D V E R T I S E M E N T
Today's Special: Get free Magazine from SAP!
Update FaderIf you have a new feature on your website, you can put up an image or text to proclaim how new the feature is. The image, or text, will automatically "fade" in intensity as the days go on. Detecting Javascript to Optimize Page Logging - FreeUse javascript detection to choose the optimal method to log visitor traffic. Includes instructions and sample ASP and Javascript code for js detection using a simple redirection test. Calculate Distance Between Two Points Using Longitude & Latitude - GPLTutorial and sample codes to calculate the distance between two locations. Free sample source codes in PHP, ASP, ColdFusion, C/C++, C#, Java, Perl, Visual Basic and Javascript. Longitude and latitude for United States ZIP Code and Canadian Postal Code are available in database subscription. LTrim; RTrim; and Trim FunctionsYou may use these functions to use to lead spacing. For left of string LTRIM, right of string TRIM, for both side TRIM.
Regular Expression Syntax - FreeIn this article, we will look at a list of metacharacters. You may create your own pattern using these metacharacters Finding links using Regular Expression Syntax - FreeIn this example source code we will find links in a test using regular expression syntax. You may use this pattern to find in a custom script.
Using built-in functions in ASP - FreewareThere are a lot of functions in ASP. Some are for typecasting, formatting, math, date and string manipulation. One of the greatest thing I love about vbscript, is they are easy to learn and use. Including a file in a ASP page - FreewareThis tutorial covers the benefits of using includes in ASP pages. FORMATTING CURRENCYIf you are building a shooping cart, you want to modify currency. If you add this simple code inside your code, you may easily change currency format. To make this changes you must modify local identifier of page.
Remote Scripting With JavaScript and ASPRemote scripting is an extremely powerful feature available in both Netscape Navigator and Internet Explorer. It allows us to use a combination of scripting languages to call server side ASP code from the client using JavaScript. This article shows us how to install remote scripting as well as two examples of using it to interact with ASP scripts using client-side JavaScript code. Get a screen size without a componentIn this tutorial i will teach you how to get the screen size of a users monitor and display it with a combo of javascript and ASP.
You can store the screen sizes in an ASP variable, then use it for your code or to simply record what size they use. Towards Next Generation URLs.For many years we have heard about the impending death of URLs that are difficult to type, remember and preserve. The use of URLs has actually improved little thus far, but changes are afoot in both development practices and Web server technology that should help advance URLs to the next generation. Query String IntroductionExplains the basics of using a query string to send information to different page. Always Updated CopyrightNever worry about your copyright being out of date again. Displaying Code/HTMLDo you want to show your visitors the source code or HTML source of your website? So do a lot of people, but they don't want to take the time to package the source code, and can't think of any easy way to package the HTML source without giving away source code. This short tutorial will show you how to display a link on each of your pages that will allow the user to see the HTML source and/or ASP code of that page. Tickertape 2A nice way to point out some features on your website is by means of a tickertape. Not only can you show messages this way, but the ticker can also contain hyperlinks, so you can direct your visitors directly to the right place. This is an advanced version of the first ticker. Access ASP Application object from a remote scriptBasic idea and full source code to remote access contents of ASP Application object from a remote script. Lets you read, write and enumerate application dictionary from the remote script (WSH, remote ASP/IIS server) or application. Site fits all resolutionsIf you have a website, than your first problem will be: who's going to visit my website and with what browser and screenresolution? The first problem is solved by testing with various browsers. The second problem is a little less easy. But as always, there's a solution. ContentType tutorialContentType command allows to use an asp file as a source for plain text, html, images, pdf files. Using ASP and javascript togetherThis basic tutorial will show you how to include information in a non-asp page information generated from an .asp page by using javascript. A banner rotator script and a text hit counter are used as examples.
|
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
| |
|