I have a select element with a few options. Depending on what is selected, I would like to toggle the display for inherited data.
<select>
<option>Option "A"</option>
<option>Option "B"</option>
</select>
<table>
<tr><th>TABLE A SELECT</th></tr>
</table>
<table>
<tr><th>TABLE B SELECT</th></tr>
</table>
option ...
So, in my current project, when you navigate to the "team" page, which has the path /home/about/company/team/ the header of the page looks like this:
/home/about/company/ <--- this is what i call the "rootline"
TEAM <-- this is the title of the current page
... content goes here ...
My current markup looks like ...
Is it possible to use CSS sprites for the list background image? Normally, I render my sprites with CSS like this:
.sprite { background: url(sprite.png) no-repeat top left;}
.sprite-checkmark { background-position: 0 -24px; width: 24px; height: 23px; }
.sprite-comment { background-position: 0 -48px; width: 14px; height: 14px; }
<div c...
I use this code to determine checkbox width and height:
var chk = $('input[type="checkbox"]:first');
chkWidth = chk.innerWidth()
+ parseInt(chk.css('margin-left').replace('px', ''))
+ parseInt(chk.css('margin-right').replace('px', '')); /*IS there better way instead of px replace?? */
chkHeight = chk.innerHeight()
+ parseIn...
Hi,
I have a simple DOM code like the following
<div>
<div>
</div>
</div>
I want to set the background color of the outer div using the inner div alone. Is it possible? The question might be a bit crazy. But I have a strong reason behind asking that. I am working on a framework where there are html code generated dynamically...
i would like to replicate that you see a regular input text and when you click it changes into textarea.
is this a hidden layer or is it actually changing the input to textarea? how to do it?
...
Is any website where I could upload my JQuery/Javascript, CSS, and HTML projects to show demos?
I am looking for any free file hosting service
to show my demos,
has a public download location for those files,
and is more than just storing files on their server.
I have asked this question because I would be providing links on my wor...
I am writing a css code for a webpage, i have a navigation menu on the top with the code:
<div class="nav-menu">
<ul>
<li><a href="#">Services</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Tell a friend</a></li>
<li><a href="#">Mission</a></li>
<li><a h...
How would I split a HTML formatted file into several HTML files (complete with with HTML, HEAD and BODY tags) with PHP? I would have a placeholder tag (something like <div class='placeholder'></div> ) for all the places I want to cut.
Thanks.
...
I need to design a page for a web application that makes sense for user input. Sadly, the simplest and most logical manner for the user to interact with the data is completely unlike the form it needs to be printed in.
I'm aware of the @media @print @screen styles that allow me to style up the page differently for different media. Wha...
Is there any IDE that lets or complete the tag immediately ?
eg. once i finish writing <html>, it will insert </html> automatically.
this will reduce time and also help to reduce error.
I am working in windows and would like to have some free editors/IDE.
I am just starting to learn some html and web programming, so any tips is welco...
I have developed a web application (ASP.NET Web Forms). One of my customer has very restrictive policies. When he accesses the web page, IE shows this message:
Your security settings do not allow Web sites to use ActiveX controls installed on your computer. This page may not display correctly.
As far as I know, we don't use ActiveX con...
Im designing my school's website and I kind of want to do like a "What are you looking for" page with only an input box where people can enter in phone or something and it would be completed with autosuggest (got that part ok). Then when the user clicked go, the button would take them to the page defined by the search so it would go dire...
I have a complex classic ASP system that has worked well for years but has recently started having a strange and intermittent problem.
On some forms, folks will report that they click "Submit" but that the form just resets itself (or, perhaps, the browser just reloads the form - my users are probably not able to tell the difference).
M...
I want to let the user resize the headers (width) of an HTML table in a similar way Excel does. I know there are JS frameworks and widgets that support it, but we use and old widget server library (Common Controls) and I would like to add this support in a simple way, to already existing tables.
I was thinking in a Javascript object th...
Let's say I do something stupid like this:
<div class="my_class">fun wee!!</div>
<span class="my_class"><b class="my_class">Title</b></span>
<p class="my_class">Client</p>
<Script>
$('.my_class').click(function() {
alert('You clicked a ??????? Tag!!');
});
</script>
Where I have selected lots of different tags with the same selec...
Hi, I'm working on a servlet that makes a connection to a database gets the information of one of the tables ans sends this information to a jsp file. This file will print on the brower the information table, adding radio buttons that allows us to choose one of the rows.
The servlet looks like this:
List<InfoBean> items = new ArrayList...
I don't know much css or html, so I have a question about taking html that looks like this:
html code paste and putting into another page.
The problem is when I just copy and paste this into a webpage is completely messes up the background (turns it black) and overwrites other settings. How can I take that exported html and css so that ...
I'm doing a sorting of a set of users, I have 4 groupings like so (2 shown):
<div id="team1" class="groupWrapper">
<div id="p1" class="groupItem"><div class="itemHeader"><div class="first">John</div><div class="skill">15</div></div></div>
<div id="p2" class="groupItem"><div class="itemHeader"><div class="first">Luke</div><div class=...
I was wondering if it is possible to create a flash movie that rotates values that are stored in HTML. For example if i have these 3 containers:
<div style="display:none">
<img src="someimage1" />
<span class="text1">text1</span>
<span class="text2">text2</span>
</div>
<div style="display:none">
<img src="someimage2" />
...