Hallo Experts,
I have a standard "select multiple" HTML Input field als below:
<select multiple="multiple" size="5" id="mysel" name="countries">
<option value="2">Afghanistan</option>
<option value="4">Aland</option>
</select>
As this is a "multiselect", to select more than one value you have to hold the CTRL Key and selct any f...
I just re-opened a website I'm developing, and my submit buttons are freaking out!
I really don't have any idea what happened, and rather than root around the 20+ components I've been working on, I thought I'd ask the experts first.
What can cause this? Any ideas?
...
I have two columns in a table. Without explicitely specifying a column width, I want to allow a bit of space between the left column and the right. I know I can do this by setting the padding-right style on each left cell, but is there some way to just specify it once so it applies to all cellsin that column? I don't want to add a "sp...
Instead of a blog/cms, I'd like to have a static html-based site with a few (rarely updated) pages. I figure the simplest way to update them is to keep the sources in a format like ReST, and compile it each time it updates. What is a recommended compiler for this usage? I'd like to have my own theme/design and I don't need anything beyon...
I am having a tough time thinking a solution to the following problem.
Let me illustrate it first
Situation
I have 26 items (in this example, in general the number is not known..) but only 12 can be visible at one time.. I also have some navigation elements (the green boxes)
Width of purple and green boxes is fixed but height of purpl...
Given the following string:
htmlStr1 = " <div>This is a string with whitespace in the beginning</div> ";
htmlStr2 = "<div>This is a string with no whitespace in the beginning</div> ";
Is there a way to write a function that can detect if this string has a whitespace in the very beginning only?
e.g., it should do the following:
alert...
I am using the Cycle plugin for JQuery to create a banner rotator with the pauseOnHover functionality. I have it working properly and even have the pageAnchorBuilder working correctly so that it displays an image vs '1,2,3, etc. The problem is it can't find the images because I am not using images as the selector but divs.
How can I ch...
I have the following HTML w/Javascript code (note: this only works in Internet Explorer):
<script type='text/javascript'>
function changeIt() {
var startTag = "<span class='h' id='123abc'>";
var endTag = "</span>";
var htmlStr = document.selection.createRange().htmlText;
document.selection.createRange().pasteHTML(startTag + htmlStr...
Hi all,
I've got a web page I'm generating with Pylons and the evoque templating tool. I'm trying to generate a page with multiple forms per page (one form is part of a base template that becomes part of every page). I'm having a problem as I seemingly can only get the form element values for one form; whenever I try to get the value fr...
Anyone know of a way of making jHtmlArea support table content, and allow the user to add tables/cells/rows to the editor box? It doesn't appear to be a standard feature for the plugin.
I would like for my user to be able to create tables in the WYSIWYG editor.
Thanks!
...
Hi,
Is there a widely used standard way on how to index ajax loaded content (for search engines)?
For example, indexing HTML content that would dynamically be inserted into a page.
Thanks
...
Hi,
I've developed a web application that manages audio files. Part of the application is playing the files. I use the following code in order to play the files:
<center>
<object id=\"MediaPlayer
type=application/x-oleobject height=52 standby=Instalando Windows Media Player ... width=358 align=absMiddle classid=CLSID:22D6F312-B0F6-...
I am using Python and need to find and retrieve all character data between tags:
<tag>I need this stuff</tag>
I then want to output the found data to another file. I am just looking for a very easy and efficient way to do this.
If you can post a quick code snippet to portray the ease of use. Because I am having a bit of trouble u...
Hi,
I would like to use jQuery and its drag-and-drop function, such as:
http://jqueryui.com/demos/draggable/
In my case, I would like to enable drag-and-droping on content of an HTML table. For instance with a table of 20x20, in order to move a tag from a cell to an other cell.
Is that hard to do? I don't see any example after sear...
I have code like the below. Instead of having the box stretch all the way to the right how do i make it only as long as it needs to be?
<html><body>
<pre style="{border-style:solid;}">A Sentence</pre>
</body></html>
...
Hi, I'm aware that this is kinda a hack but for reasons of simplicity I would like to replace the contents of an entire webpage with an answer received through Ajax. This includes possible HTTP headers. Is it possible to do so?
To clarify further, right now I added for debugging purposes:
alert(response);
and this produces:
For rea...
Possible Duplicate:
How can I convert HTML to PDF using Perl?
Does anyone know best way to convert HTML to PDF using Perl?
Is there any module available that can be used for this?
My HTML contains few images and charts which should be converted properly to PDF.
...
I am using urllib.urlretrieve in python to download websites. Though some websites seem to not want me to download them, unless they have a proper referrer from their own site. Does anybody know of a way I can set a referrer in one of python's libraries or a external one to.
...
I am working on the redesign of my website http://square1dev.com. In the sidebar however, I am having some issues making it look correct in Google Chrome. Issues are:
Categories Title (h2 Background Image) - There is supposed to be a small little line to the right side of the word "Categories". Safari and Firefox show this, Chrome howev...
I have an absolutely positioned input box in a form. The input box has transparent background:
.form-page input[type="text"] {
border: none;
background-color: transparent;
/* Other stuff: font-weight, font-size */
}
Surprisingly, I cannot select this input box by clicking on it in IE8. It works perfectly in Fir...