Displaying keyword search results 71 - 80
Created by James on May 03, 2009 20:25:10 Last update: May 03, 2009 20:25:10
Created by Dr. Xi on March 02, 2009 23:29:08 Last update: March 28, 2009 21:35:41
An HTML form contains more than what meets the eye. This bookmarklet displays information about form fields in the page. When there are multiple forms on the page, successive invocations of the bookmarklet display each form in turn. Add this link to your bookmarks. Here's the code:
Created by Dr. Xi on August 28, 2008 22:52:01 Last update: March 28, 2009 16:50:42
Created by Dr. Xi on January 29, 2009 21:33:44 Last update: January 30, 2009 17:43:33
You can use applet , object , or embed tags to embed an applet in your HTML page. However, The applet tag is interpreted by both IE and Mozilla family of browsers. The applet tag won't automatically download a JRE if the Java Plug-in isn't already installed. The object tag works only for IE The embed tag works only for Mozilla family of browsers, i.e., Firefox. Use applet tag:
<applet code="MyApplet.class" width="200" ...Use object tag:
<!-- latest JRE --> <OBJECT classid="clsid:...Use embed tag:
<!-- highest JRE that supports MIME type ...Mixed object and embed tag:
<object classid="clsid:8AD9C840-044E-11D1-B3E9...You need to use a different name for the Mozilla embed tag and use that name to refer to the applet...
Created by Dr. Xi on January 30, 2009 16:57:12 Last update: January 30, 2009 17:25:36
The scriptable attribute defaults to false . However, even when you set it to true , there is a time delay between when the applet is loaded and when it becomes scriptable . The following code may fail:
Created by Dr. Xi on April 22, 2007 21:58:45 Last update: January 19, 2009 20:26:12
Your code will be syntax highlighted when you specify the language of your code with the BBcode code tag:
[code=lang] Your code here [/code]where "lang" is the language of your code. For example, the following Perl code
#!/usr/bin/perl print "Hello World!\n";is rendered with:
[code=perl] #!/usr/bin/perl print "Hel...The following are supported languages and their corresponding names for BBcode:
Apache conf: apacheconf, aconf, apache Bash...The full list is available from http://pygments.org/ , which is our backend engine for syntax highlight rendering.
Created by Dr. Xi on October 04, 2008 03:29:55 Last update: October 04, 2008 04:26:40
Created by Dr. Xi on August 14, 2008 22:44:53 Last update: September 29, 2008 21:41:40
oNewWindow = window.open( [sURL] [, sName] [, sF...Example:
window.open("Sample.htm",null, "height=200,...However, for IE7 (at least) the sName parameter can't have the space character:
// this works window.open("sample.html", "wndCh...
Created by Dr. Xi on September 17, 2008 02:56:09 Last update: September 23, 2008 02:46:03
When a page is in a standalone window, window.focus() brings that page to the front. With tabbed browsing (in either IE, or Firefox), a popup window may be opened in a new tab. In that case, window.focus() has no effect. For testing purposes, this is the parent page:
<html> <body> <h2>The Popup</h2> </body>...I haven't found a solution to this when the popup is displayed in a tab. However, you can configure the browser so that it displays popups in a new window instead of a new tab. For IE, open up " Internet Options ", on the general tab under the " Tabs " section, click " Settings ". Under "When a popup is encountered", check...
Created by Dr. Xi on September 22, 2008 23:15:03 Last update: September 23, 2008 02:33:14
Simply put, you can't. There are various hacks to get what you want, but none of them is 100% satisfactory: Disable caching:
<html> <head> <meta http-equiv="Expires" C...Open the target URL in a new browser without the toolbar and close the parent:
<a href="#" onclick="location.replace('nextpage.ht...Maybe a better question to ask is why you want to disable the back button. A lot of users use the back button because it is convenient and they are used to it. It's probably better to solve the problem at the server side so that using the back button would not interfere with your...