Duplicate:
Disabling Back button on the browser
Prevent Use of the Back Button (in IE)
I have to disable back and forward button of browser ( IE and Firefox both ).
I have tried:
//disable back button
window.onbeforeunload= function() { }
window.history.forward(1);
but this works only in IE.
Is there any foolproof so...
I'm adding multi language support to a prototype web site. The site was developed using html lables which I could multilanguage using asp:literal or I could change them all to asp:labels as shown below.
<asp:label ID="lblAddress1" runat="server" Text='<%$ Resources:lblAddress1 %>' /></br>
<label><asp:Literal ID="Literal1" runat="serve...
Hi! I would like to insert a descriptive text inside an input element that disappers when the user click on it.
Example
I know it is a very common trick, but I do not know how to do that..
What is the simplest/better solution?
...
I was just wondering if there are any methods of creating nice, smooth transition effects when navigating between pages? Things like blind effects, sliding effects, etc. I guess I'm looking for something like what jQuery can do with images - but for actual web pages. I know there are fade effects and all that, but I was just wondering if...
I have a regex to extract the text from an HTML font tag:
<FONT FACE=\"Excelsior LT Std Bold\"(.*)>(.*)</FONT>
That's working fine until I have some nested font tags. Instead of matching
<FONT FACE="Excelsior LT Std Bold">Fett</FONT>
the result for string
<FONT FACE="Excelsior LT Std Bold">Fett</FONT> + <U>Unterstrichen</U> + <FO...
I am having trouble arranging items with the css below.
One of the more obvious problems I am having is that The strong text for the headings of the table columns is black, and does not match the strong text in the information above the table.
My main problem is that Layer3 will not go to the bottom of the Layer2. I want it to be belo...
A question prompted by jbar's question.
In scripting languages like Python, Ruby, and Perl, there are libraries that simplify generating dynamic HTML. (For example, the cgi module in Ruby.)
Are there any similar packages for C++? I don't know of one, and at least some desultory googling didn't reveal one.
...
Is it possible to have HTML appearing above embedded Silverlight?
...
What I'm looking for is a clean method to round the corners of all inputs with the class "submit". I've experimented with a number of javascript techniques, but none worked well for form elements. Pure CSS would be great, but, note, the button needs to expand, and will have arbitrary text. Other methods required really ugly HTML cruft ar...
Hi,
I am facing an issue with IE6 : every time I mouse over an image the image will reload and flicker.
This is due to the fact that IE has an option "check new version of stored pages all the time" which is basically "reload everything all the time".
I found some fixes on google :
Adding
<meta http-equiv="Page-Enter" content="revea...
I'm playing with a new service's very simple API and I'm just curious if its possible to send an xml-rpc request directly from an html form. The api request example is this:
<?xml version="1.0"?>
<methodCall>
<methodName>send</methodName>
<params>
<param><value><string>YOUR_API_KEY</string></value></param>
<param><va...
Two divs, floated left, of unknown width. One of them has more content than fits the page, so it moves below the first (except in IE):
http://corexii.com/floatproblem/float.html
Add display:inline-table; and the big one wraps its content (consistently across browsers):
http://corexii.com/floatproblem/table.html
But introduce a doctyp...
I have some data with one row of headers and one or more rows of values that I want to display. Currently, I'm using an HTML table, but I've come across situations where I have so many columns, the table goes off the end of the screen. Or that some column names are so long (they're usually just a single word that have underscores as spac...
Hi,
I am trying to clear everything on my HTML form when I link back to it from a hyperlink.
Any ideas? My development language is java.
...
I've set up an example of what I'm running into here: http://studiozion.com/cssproblem/fix_it.htm.
Relevant code blocks...
<style type="text/css">
body
{
background: transparent url(Grade300_Color1.png) repeat-x
}
.RowMaker
{
overflow: auto;
}
.ColumnMaker
{
float: left;
}
.ColumnMaker2
{
float: right;
}
.PadTop
{
...
I'm wondering if there's a way to count lines inside a div for example. Say we have a div like so:
<div id="content">hello how are you?</div>
Depending on many factors, the div can have one, or two, or even four lines of text. Is there any way for the script to know?
In other words, are automatic breaks represented in DOM at all?
...
I am working on my site in Firefox 3.0.9 (and am very green with CSS) and it looks fair so far. However I have a floating horizontal nav bar at the top that looks like is stepping down. Here is what I attempted so far:
1) I have adjusted the margins, zeroed the padding and changed the width of the background image - all to no effect.
...
I have a few radiobuttons in a jsp page. I run a javascript method once the page is loaded that seeks for certain radio buttons and change its name so they work like a radio group.
I'm doing it this way because the radio buttons are inside jsf table and I have no access to the name property when coding and I want all of the radio butto...
Hi everyone,
Is it Possible to keep the background-image for drop down box using CSS.
For Textbox is getting correctly.
can anybody give sample example
Thanks & Regards
Ravi Kumar
...
When is one called versus the other? Is there a situation were onChange would be called but onBlur would not be called?
...