Hey Guys
I am trying to create a car application, each car belongs to a make and model, but only certain makes have certain models.
So I would like a series of select boxes that are populated dynamically based on the previous, however I also would like to add another record to that select box if you cant find the one you want.
I would...
The following table element in the "center" div causes the contents in the "left" divs to be offset by several pixels from the top (8 in my browser). Adding some text prior to the table removes this offset.
Why? How do I stop this from happening without requiring a "dummy" line of text before my table?
<html>
<head>
<style type="te...
I've got 2 dropdownboxes. Dropdownbox 1 shows all the tables from a database. When dropdownbox 1 is selected; dropdownbox 2 will be populated with tablefields from the selected table.
dropdownbox 1:
This dropdown is populated with the following mysql query: "show tables from testdb"
dropdownbox 2:
This dropdown will auto populate when ...
Is there a style for a select option's "selected" color? For example:
<HTML>
<BODY>
<FORM NAME="form1">
<SELECT NAME="mySelect" SIZE="7" style="background-color:red;">
<OPTION>Test 1
<OPTION>Test 2
<OPTION>Test 3
<OPTION>Test 4
<OPTION>Test 5
<OPTION>Test 6
<OPTION>Test 7
</SELECT>
</FORM>
</BODY>
</HTML>
When I select an option it tu...
I was recently searching for a way to call the print function on a PDF I was displaying in adobe air. I solved this problem with a little help from this fellow, and by calling postMessage on my PDF like so:
//this is the HTML I use to view my PDF
<object id="PDFObj" data="test.pdf" type="application/pdf"/>
...
//this actionscript live...
Hi,
I have developed a jquery plugin for facilitating Ajax requests.
For debugging purposes, I'd also like it to optinally check dynamically loaded html / xhtml code for well-formedness. Is there any easy to do that with jQuery?
Thanks,
Adrian
...
The following CSS works well under firefox but doesn't work under IE browser, Why?
Also, how can I make only the elements, directly under the parent element, be affected by CSS?
CSS:
.box{font:24px;}
.box>div{font:18px}
.box>div>div{font:12px;}
HTML:
<div class="box">
level1
<div>
level2
<div> level3</div>
<...
I was working on a project to submit a form from an email. The scenario is this. We will send a form to list of emails where in the customer has to fill in the form and once they hit submit, the form should be submitted and server should be able to retrieve the values that is provided by the person filling in.When i tried, it was not con...
I've read somewhere that IMG elements behave like both. If correct, could someone please explain with examples?
...
So I have created a slider for a homepage, that slides some images with a title and teaser text using jQuery. Everything works fine, and I went to check IE and found that IE 6 and 7 kills my slider css completely. I can't figure out why, but for some reason I can't hide the non active slides with overflow: hidden; I've tried tweaking the...
How do I convert a PDF file to HTML in PHP? Is there any lib or web service? I mean free, thanks!
...
I have this code but when I run it I get an exception:
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:8081 connect,resolve)
This is the code, the server is running good, but the client doesn't work.
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="615" height="360"
...
I'd like to create an FAQ page for my website that lists all of the questions as hyperlinks. When the link is clicked, the answer for that question should expand out beneath it.
The answers need to be hidden by default, and preferably clicking the link toggles the answers' visibility.
Any thoughts?
Edit
I've tried several of the sug...
Is it possible to have a bunch of <select> dropdowns in html that only display a small (say 10 pixels wide) icon, but when you click it the drop down has a list with the icons beside a descriptive string. (Let's see if ASCII art works on SO):
[X]
| X - Disable |
| v/ - Enable |
| O - Ignore |
+-------------+
[O]
[v]
[X]
Can that be...
i want to know the width and height of the html elements like divs body and tables.
is this possible ? i want the calculated width,height and not the one that i apply to the elements.
using jquery would be fine.
thanks
...
Hi,
I'm trying to construct a two row table similar to following:
---
-
where the bottom is filling the space of the upper row. Is this possible using CSS? In HTML I can do things like colspan.
...
I have a table with a few rows of data. I would like to display a row based on what option is selected on the ddl. how do I do that?
<script type="text/javascript" language="javascript">
function optionSelected() {
alert('HELP!!');
}
</script>
...
<select id="optionSelect" onchange="optionSelected()">
<option i...
I have a id based CSS file where I noticed I'm mostly repeating myself. What I'd like to do is specify that an item with an id follows a certain class + some other rules. For example: I'd like id id1 to have all the properties of class LinkButton applied as well as the value back-color: green. Is there a way to do this in the css file...
With the example below, I need to add padding and background-color properties to the text anchor. I then need to exclude padding and background-color from anchors that contain images.
<p>
<a href="#">this is a text link that needs to be styled</a>
<a href="#"><img src="image/name.jpg" alt="this needs to be excluded from styling" /><...
Hello,
How can I share html/js widget? Javascript, iframe or what way is good?
Now I have html page, css file and js file. I want to share this widget with people so they can attach it to their blogs, websites etc.
...