Results for "Category: Internet/ Browsers/ HTML"
Instead of using a META refresh, use an ASP refresh to insure you have the most current copy of the web page.
Format the current data (off the server) in the following format, for example, Tuesday, June 19, 2001.
After searching throughout the web for a JavaScript function that would add a web page to a users favorites folder, I grew increasingly impatient with the laziness of others code, (hey why re-create the wheel?) because others code only lets you add one page to a users favorites folder. Therefore, I created a DYNAMIC “Add to Favorites” function, that for example will add the web page where the code is located to the users favorites. Just create an include virtual, (for script) and insert the include onto all of your pages, or preferably if you have a header page include, just copy the code into that – and Voila! As long as you have the TITLE tags on your page, you’re set!
Ever want alternate the row colors of your record set? This code is the easiest way to do it!
This is a follow up to Sam's arcticle posted a few days ago. ---------------------------------------------
Ever since the "official" end of the browser war, developers have had to ask themselves "to Netscape? Or not to Netscape." That is the question. With old standards in mind, and new ones on the way with the release Netscape 6.1 the question remains.
This is a client server application in which client is an ASP site and the server is a VB component that uses Winsock control, the users can send messages to the server via client side ASP code.
Creates a pop-up window to display an image viewer on a website. The viewer can then move backwards and/or forwards through the images. Useful if you need to create multiple pop-up image viewers as it uses a single ASP page and XML files to generate the HTML file. An example is given which can be used as your starting point.
simple editing XML, XSL cek if XML/XSL well formed or not display XML as tree view transform and display XML (based on XSL) as HTML
Displays a dynamic calendar in html using asp
Calendar generated using Dynamic HTML and client-side vbscripts. Can be used as a modal datepicker popup window. Does not use the asp 'post'/'get' method to process the contents of the page. Fast and easy to use. Added some bug-fixes.
Lets your site visitors download with one link! Just add a link and your done! Also makes a nice anti-leech program!
Helps to show how to make an Active-Desktop webpage. Every step is commented, and ASP isn't even (really) needed to manipulate the material within the page (just shown in the example).
I coded this script after weeks of trying to get perl whois scripts to work,on a windows 2000 server, it uses Microsoft.XMLHTTP component to retrieve whois information from Nominet UK & Network Solutions. It works by posting the domain name to their whois page. The page is returned to the script and XMLHTTP component strips the rubbish of the returned object and prints out the whois information You can see the script in action at the following addresses: http://www.dwiwebdesign.com/whois/whoisv1-uk.asp http://www.dwiwebdesign.com/whois/whoisv1-us.asp http://www.dwiwebdesign.com/whois/whoisv1-uk&us.asp You don't need any objects installed on the server. Only Internet Explorer 5 or more. If there's any problems email me and i will try to help you out.. David Irwin
Ever see a search engine that highlights your search results? This code does that. It takes a querystring, and compares it to a second variable. The second variable will be written to the page, and any matching words will be in highlighted and bolded. See screenshot for details.
Create a Windows 98-Style dialog box header. Ever wanted to recreate that cool gradient bar that starts at one color and ends up another-without images? Now You Can! Easily Modifed to include icons or any type of images. BONUS: The "CreateColorTable()" function used in the script creates a 216 color table without using images! This script is totally independant of any other files or images, simply cut, paste and modifiy at your own will.
I looked for a way to format the date into dd/mm/yyyy server side. not much here so here is a one liner for those who need it.
**UPDATED 3/23/2002 ** Here is code that show, how to have PAGE with frames, define its frame pages dynamically acording to paramethers included in the calling URL. Attachment file contains COMPLETE example of the code. Code is short, simple and effective. Check also my home page for updated version of the example: http://www.benchmarking.fi/programming/?mainframepage=programming/ASP/tipsandtricks/index.htm UPDATED VERSION INCLUDES ASP,VbScript and JavaScript versions.
Will call a webservice that will verify an email address down to server level. This service is provided for FREE! No costs involved. Try it out!
The response.redirect method is great for moving a user from one page to another. However, it does have one major limitation--you can only use it if absolutely nothing has been written to the page. Sometimes, you actually do want to write something to the page and then redirect it, for example when displaying the status of an operation. In this case, the following JavaRedirect function comes in handy. It requires a Java compatible browser. (Note:this script has been changed to incorporate Lewis Moten's helpful suggestions).