Hi, all.
I have an ordered list for my horizontal navbar, but I'm using sprite images (for a, active & hover) instead of letting any text show. I'm trying to let the image appear on a row using float: left, but it's not happening. I think the next image appears behind the first.
Here's my code:
HTML:
<div id="navbar">
<ol id="...
I want to display my radio buttons in 1 line such as:
O Option1 O Option2
However with Vaadin I cannot accomplish this it seems like the following,
O Option1
O Option2
here is my code:
final List<String> options = Arrays.asList(new String[] {
"hebele", "hubele"});
final OptionGroup group = new OptionGroup("...
Hi,
I have a page with two textareas, where registered users can fill them with HTML codes. First one has TinyMCE (so HTML is cleaned up), but the other one does not, since I expect the code to be inserted as embed codes from other sites (mostly sites that provide maps, e.g. Google Maps, MapMyRace.com, etc). But problem is that those ot...
I need to place an advertisement as a background image of my webpage. What's the best way to make the body background image a clickable link?
...
I have a cricket based portal check here cricket scores
This site has near to millions pages.
But is it advisable to have a multiple sitemaps in the website or not?
if Yes, what Name shall we give for the second site map? sitemap2.xml does this work?
Some where in the blog i have read that each sitemap should not have more than 1000 l...
Hi guys, I am trying to create two form elements when the user clicks a button, which he can do 5 times, but I am new to jQuery so I am running into problems,
here is the code:
$(document).ready(function() {
$('#btnAdd').click(function() {
var num = $('.clonedInput').length;
var numTwo = $('.clonedInputTwo...
I have to fix all the closing tags of the <img> tag as shown in the text below. Instead of closing the <img> with a >, it should close with />.
Is there any easy way to search for all the <img> in this text and fix the > ?
(If it is closed with a /> already then there is no action required).
Other question, if there is no "width" or "...
Is it possible to calculate boundaries for a html layout block?
For example there is
<div id="area">
...
</div>
and it's required to find out minimum size (width, height measured in pixels) to fit the #area into popup modal dialog.
How stable are these approiaches?
Thank you in advance!
...
Can anyone recommend me a java library to allow me XPath Queries over URLs?
I've tried JAXP without success.
Thank you.
...
i have an unknown number of divs with unknown data in each div (unknown height)
these divs have same width say 300px. i need to place them one after another so i get a grid as a result. all divs in each row should have same height so each row would be flat and the whole grid would look good.
my current version does not work. it makes a ...
We would like to mimic taking user input one letter at a time (intended for children). Assuming they are going to type "hello" we would want to capture all the letters separately. (e.g. you will show something like 5 underscores to show that they have to provide 5 inputs). Assuming they enter h e l d (i.e. the last letter is a mistake) ...
Hello,
Is there any way to pass values between two forms. Let's say, I have two html form.
At Form 1, there's one field called name and submit button.
At Form 2, there's two field called name and email and submit button.
What I want to get is, At form 1, when i fill Form 1 name field and click submit, it will carry me to form 2 and n...
Hi,
I'd like to create an effect in a site I’m building where an image is masked by an overlay. The overlay should create a “fade out” effect — I don’t actually want anything animated, but the overlay should make the image look as if it’s fading to the background colour at the edges.
Something like this: http://imgur.com/fqtc9.png
I p...
How do I add code snippets to a web page? I've built a jquery plugin for my front-end team and I want to build a quick page illustrating its use. I want to include some code and i've seen a few sites using stylized code snippets (colour coding, indentation etc). How is this achieved?
...
how can I play a sound clip on page load?Is there any javascript or jquery to do that?I am creating my page in php.
...
Hello everyone...
I have this div that is supposed to be hidden when the page loads and it would appear when clicking on a certain button. Although in the CSS class I added display:none to the class and in the JQuery I added ("$('.panel').hide()") the panel still appears when the page is loading, once the page loads it disappears ... A...
I would like to provide a textbox in a client WinForms application for setting up the body text of an email and I know there's the excellent Freetextbox for asp.net, but is there anything like it for Winforms?
...
I want to insert an element(span,div etc) at the position determined by user selection of text in the document.
I was able to get the element on which selection is made. But I am not able to get the exact position where the selection is made.
For example:
<span>this is testing string for testing purpose</span>
In this, lets assume t...
I'm trying to fit three images inside a div, but I'm having trouble getting them to align properly. This is what I have in mind:
But I can't for the life of me figure this one out. Can anyone please lend a hand? Thanks!
...
Possible Duplicate:
Can I just make up attributes on my HTML tags?
Hi,
I am not sure if what I am asking is even possible, but I'd like to be able to add a custom (nonrendered) propery to an existing HTML DOM node.
For example, if I have a simple DOM as below:
<body>
<p>
<span id="aSpan"></span>
</p>
</body>
.. I'd l...