Hi all,
I'm new to Javascript and also Maps in Google. my task is :
to allow user to add marker on the map
display an info window when the user click on the marker
display 'Kuala Lumpur City Center' in the info window if the marker pointing to the Kuala Lumpur City Center and 'Unknown location' for other locations.
My problem is I ...
My html markup is as below:
<ul class="top-nav">
<li id="page-1"><a href="/">HOME</a>
<ul class="page-1 current">
<li><a title="" href="#">FEATURES</a></li>
<li><a title="" href="#">ABOUT US</a></li>
<li><a title="" href="#">CONTACT</a></li>
</ul>
</li>
<li id="...
All,
How to enable/disable textbox onclick of this radio button
i.e, if radio button is selected then the textbox should be enabled else disabled
<INPUT TYPE="radio" name="type" id="type1">
<input type="text" name="name" value="<?php echo $name?>" onChange="javascript:enableField();"/>
...
Hi there.
I have got a css problem.
http://www.luukratief-design.nl/dump/parallax/index.html
I cant get this page to align center.
Before i get the answer to use "text-align: center;" on the body, i already did.
The page 100% validates (CSS and HTML).
Please help, never had this before.
...
how do I remove the extra space between the rows and columns in the table.
I've tried changing the margin, padding, and various border properties on the table and tr and td.
I want the pictures to all be right next to each other to look like one big image.
how should I fix this?
style.css
table {
border-collapse:collapse;
}
i...
I just started working on a website that is full of pages with all their HTML on a single line, which is a real pain to read and work with. I'm looking for a tool (preferably a Python library) that will take HTML input and return the same HTML unchanged, except for adding linebreaks and appropriate indentation. (All tags, markup, and c...
HI all,
I have allways been wondering how other people get to align to the centre the main div container as the only way I manage so far is adding to the css file the following:
*{
padding:auto;
margin:auto;
text-align:centre;
}
I have seen other pages using:
*{padding:0px;margin:0px}
but I cant see where or what do they do, to centra...
On the iPad gallery at http://movies.apple.com/ipad/gallery/ there is a nifty 3D-ish view when you click on the "360°"-Button on the lower right. It seems to be built with Prototype, some custom JS and 180 single JPEGs.
Now, I don't want to steal Apple's code, but I really would like to have a similar effect. I'm afraid recreating the e...
Is it possible to override the styling that is applied to a hyperlink if it has the disabled="disabled" attribute?
It's currently greyed out. Not bothered about making it an active link, just want to change the font, color, etc.
UPDATE : Must work in IE6, IE7 & FF
UPDATE :
It's worse than I though the html is <A id="someId" disabled>...
Flash banner block up authorization div.
Currently it looks like:
I want it to be:
...
I have a list of divs, with diffrent not fixed height, and I wnat to show them as table.
Example of div list
<div class="container">
<div class="item">1 some some some text1</div>
<div class="item">2 a few text2</div>
<div class="item">3 a lotttttttttttttttttttttttttttttttttttttttttttt of text3</div>
<div class="item">4some...
Hello,
I am new in Rails and I am trying to put countries in array and then display them in a select box. My array looks like this:
country = {}
country['FR'] = 'France'
country['UK'] = 'United Kingdom'
Any ideas?
...
I have next markup:
<div id="lefttop"></div>
<div id="leftbottom"></div>
<div id="central"></div>
I need markup as shown on the picture below:
...
Is there a wordpress plug-in which enables you to attach image gallery to your news/post?
...
I have a long string of HTML that contains
<p>
<img>
<span>
and a bunch of other tags.
Is there anyway of extracting ONLY the text within the tags from this string?
...
<option value="07.00" disabled="disabled">07.00 P.M</option>
This is not working in IE-7 rest working in all the browsers..
...
(Can't think of a good title :(( )
Hey all,
I'm developing a bookmarklet. When clicked on it creates a toolbar on the page the user is looking at. The above involves pulling various javascript and css files from my server and injecting them into the pages DOM.
I don't want to encode toolbar's HTML as a string inside one of my javascr...
Hello
I'm a newbie to GWT (by the way being really impressed by it) and find it really attractive to a person like me with good knowledge of C++/.NET desktop technologies willing to write web applications.
I started my own project based on the generated sample from the GWT Eclipse Wizard. This project generates simple html page with ...
Is there a way of synchronizing changes made in a html file only in some areas? leaving the other elements intact.
Lets say I have these 2 files:
hello-world-english.html:
<div>
<p>Hello World</p>
</div>
hello-world-spanish.html:
<div>
<p>Hola Mundo</p>
</div>
And I make the following change to the first one (hello-world-english....
hi
i'm using struts (form) + validation
i just want to ask if can i set focus on some field on form after validation without javascript? i think i red something in book programming jakarta struts but i can't remember.
thanks
...