Search:
Type: Posts; User: scottjsn
Search :
Search took 0.01 seconds.
Try to develop a web page on Internet Explorer 9. It is actually very simple, see I want to display the text: "Immigration" or a word "auto". After the page is displayed, I see there are blue colored...
For either latest Firefox or IE, I tried to inform the user that he/she has made changes on the current form, and if the he/she wants to save the changes.
So on the jsp, I coded:
<script>...
When use <a href="xxxxx">test</a>, it always displays a blue underline. How to make it not shown up?
Thanks to help.
How to add white space(s) to the option text?
<select id="sel">
<option value=""></option>
</select>
<script>
var text ="abc xyz";
var value ="val";
var contrlObj =...
I used to use the Prototype JavaScript framework, version 1.4.0. When I tried to reload my page to a div container, I'll call:
var myAjax = new Ajax.Updater(
{
success: targetElement,
failure:...
To simplize my question, this is what I basically want to do:
Display a menu bar which contains: ABC | XYZ | HELP
When the HELP menu gets the focus, it will display two items, like:
HELP...
If I include a javascript file as
<script language="JavaScript" type="text/javascript" src="js/test.js"></script>
in a jsp page.
When the page is loaded, the users can use the View Page...
For a string of the formats: abc_def_ghl or abcd_xyz, abc_def_ghl_k, etc
I like to replace the "_char" with the uppercased char, for example:
abc_def_ghl --> abcDefGhl
abcd_xyz --> abcdXyz
...
Sorry for the mistake.
It should be:
var content = '<div class="process"><br>'
content += '<embed src="/flash/loading.swf" quality="autolow" '
if(modal.browserWindow.os != 'mac') {
content...
When the user does the search and waits for the result, an animated image such as an hourglass will appear on the middle of the screen so that the user will know the process is still going on.
I...
Using IE9.
In the JSP page, I added <script type="text/javascript" src="test/scripts/test.js" ></script>
The file test.js contains a simple function test(){alert("loaded");} to open the alert...
There is a free rotating dial displayed on the screen when waiting for a process to complete. But I do not remember the link.
Could anybody help me on this? (How how to make one, if possible).
...
Created a set radio buttons on a JSP.
<input type="radio" id="radio1" name="test" value="A" />AAA
<input type="radio" id="radio2" name="test" value="B" />BBB
At the end of the page,...
To make an <a class="button"> based button, I used the CSS:
.button:link{
border-radius: 5px; /*and other settings*/
}
This presents the button with a round corner on Firefox, but a squared...
For displaying a link, instead of using <a>, I used <div class="xxxxxxx">, such as
<div class="first" >
Outer line
<div class="second">
inner line
</div>
</div
The same piece of codes (see below) generated different displays on Firefox and IE.
<style>
.linkButton {
background: #7CFC00
text-decoration: none;
border: 1px solid #aaa;
...
Is there a feature to grade the answer on this forum?
I use the list to present the menu bar:
<ul id="p" style="border-top:none; border-bottom:none;">
<li id="c1" class="list"><a href="#">abc</a></li>
<li id="c2" class="list"><a...
ISSUE:
The .btn{} section works only if it co-exists with a:link,a:visited and a:hover,a:active. If I do so, all the <a> links across the application will be affected.
What I truly want is that...
<div>
<div id="1st">First</div><div id="2nd">Second</div>
</div>
When displayed, the words "First" and "Second" are in two separate lines.
How can I keep them in the same line?
The pure <a></a> only displays as a link. But I saw it can be modified into a button like image. For instance, <a class="xxxx" href="xxxxx.com"> Some Name</a>. This is achieved POSSIBLY via the class...
Using Firefox (ESP) 10 for SUSE Linux 11. When a popup window was opened (with a OK button on it), it could not be closed. I encountered two issues:
1) In a javascript I used
alert("100");
...
In a web based (POS) application, when user clicks on the Print This Page button, the receipt will be printed out. In javascript, I use: window.open.
The problem is that it always triggers the...
I also tried the internal DTD for the XML file:
<!DOCTYPE resultsmap [
<!ELEMENT resultsmap (tutorial)+>
<!ELEMENT tutorial (name,url)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT url (#PCDATA)>...