If JAWS does not read ActiveX content, how should I go about making this website 508 compliant?
Here is a code excerpt:
<SCRIPT LANGUAGE="javascript" FOR="posXUserForm" EVENT="ControlInitialized" >
try {
posXUserForm.SchemaLoadObject.URL = "form.xsd";
posXUserForm.XML...
I heard (from Crockford) what type attributes on LINK and SCRIPT elements are superfluous when those elements are used to load external resources. (Because the HTTP response determines the content-type of the resource.)
<link rel="Stylesheet" href="foo.css">
<script src="foo.js"></script>
But what about the case when non-HTML code is...
I have some HTML data (over which I have no control, can only read it) that contains a lot of Scandinavian characters (å, ä, ö, æ, ø, etc.). These "special" chars are stored as HTML character numbers (æ = æ). I need to convert these to the corresponding actual character in PHP (or JavaScript but I guess PHP is better here...). Seems...
I was at w3schools.com learning html and their code examples included the word "class" such as <div class="page"> . They didn't explain it so i needed you guys to. So please define what class in <div class="page"> means.
...
Often I add helper functions to my PHP that return complex HTML. For example, it is not an easy task to ensure that a form element is accessible, can handle errors etc. and so I will have a PHP function wrap this problem.
Unfortunately, sometimes, I will need to generate the same HTML but with JS instead. An example of this is where I h...
I need format html string. Just like in some html editor (Netbean with Alt-Shift-F). Anyone know any js function or lib can do this?
...
I'm using Perl.
I have the tag, for example: "XYZ_PKM_HTML"
I would like to be able to provide a base url, for example: www.example.com
and the to get the HTML page (not necessarily the main page, thats easy) where this tag appears.
is it possible? any idea? (or already made modules, looked on cpan, there were some interesting stuff, bu...
I am trying to create a form for my company's website. I am letting a customer selectively donate to my company upon download of a piece of software. If they check a box, I'd like a "Donate" button to appear with code to go to my third party store (I know how to do this), and if they don't select the checkbox, then I'd like a different b...
Hi,
Why I want to block a JS file download in HTML? Well, this is my time-chart for the page load:
jQuery (1.2) loaded
jQuery plugin loaded (extends the current jQuery object)
custom JS loaded
custom JS uses document.write to add extra scripts
the added extra script loads a new jQuery (1.4, but it doesn't matter)
-> so my extension is...
I'm trying to get the .copy below to shrink-wrap to the width of the image:
HTML:
<div class="post">
<img src="some/image.png" />
<div class="copy">
<p>Morbi dignissim leo a erat tristique eu faucibus dolor commodo. Cras scelerisque, est quis molestie tempus, ante sem fringilla ante, non convallis quam mi ac metus. Donec rhoncus...
I have this very usefull little piece of javascript that centers mig div. By i would like to make it apply to 3 divs on the same site, without repeating the same piece of code 3 times.
Any ideas on how to do it?
Putting all 3 divs into 1 divs that takes care of it, is not and option.
<script type="text/javascript">
<!--
functi...
I have an image and text beside it with this code. A sample can be seen here:
The problem is that the text is starting from the center of the image (on the right side) whereas i want the text to start from the top right-hand side of the image.
Here is my code:
<table width="550">
<tr>
<td>
<div id="i1">
<img src="<? ...
Is it possible to transpose an html table (without javascript).
I m generating a table with rails (and erb) from a list of object. So it's really easy and natural to do it when each row correspond to one object. However , I need each object to be represented as a column. I would like to have only one loop and describe each column rather ...
This is a piece of code on home.php
<form action="./Login" method="post">
Email Address: <br />
<input type="text" name="username" tabindex="1" /><br />
Password: <br />
<input type="password" name="password" tabindex="2" /><br />
<input type="hidden" name="home" value="yes" />
<div class="options">
<input type="submit" value="" name="L...
Hi Everyone,
I've uploaded a website onto my remote server to a sub folder and I want to prepend a file so I can make that folder the root.
http://tiny.cc/e2tr1
Its just a basic php site with some includes.
in the .htaccess file I have:
php_value include_path ".:/home/thecarbonlist.com/htdocs/beta/includes"
php_value auto_prepend_fi...
i have css look like below
ul.sometclass li a {
display:inline-block;
}
my html look like
<ul class="someclass">
<li>
<a href="outertest.html">outer test
<div style="display:inline; float:left;overflow: hidden;">
<a href="innertest.html"><div style="display:inline; float:left;">inner test</a>
...
What would be the best way to resize a content div to match the browser, keeping a white margin around it, whilst also resizing an image contained within it, so that it keeps a good aspect ratio?
this is the effect i am looking to create: http://www.louisvuitton.com/
...
How to run a jQuery Code after loading all the images in my page ?
...
I have two divs like this
<div style="position:relative; width: 500px; overflow:auto">
<div style="position:absolute; top:0;left:0;width:100%">
</div>
</div>
Now the problem in IE is Scrollbars start to appear unnecessarily for the outer div. Even when i have specified the inner div's width to be 100% it extends more...
My website is XHTML 1.1, and I had added 'rel' attributes to the <li> and <div> tags on my page, to store data for a jQuery script on the page. When validating my page, I get the error: "there is no attribute 'rel'". So, what is the best way to store arbitrary data in HTML tags?
I am working on a comments page for my website. When a ...