html

post html form fields to google map and get back result page

Hi, I'm not an expert but i know a little about HTML forms, here is my problem i want to create a simple html page with form for my customers to enter a gps values to maps.google.com and get back the result page embedded in the same html here is the exact format of my string as an example : 32 06 12.66N, 20 12 22.65E notes that th...

How to send HTTP request in java?

I want to compose a HTTP request message in java and then want to send it to a HTTP WebServer. I also want the document content of the page recieved which I would have recieved if I sent the same HTTP request from a webpage. ...

Make Input Box Have Safari's Blue Outline

Hi Everyone: I am wondering if there is some way to make an box have the Safari's light highlight all of the time. I would assume there would be a way to replicate this, however I have not found one. Thanks for any help! ...

AJAX message under google ads

Hi everyone, i'm building a ASP.NET application using C#. On my website, I also use AJAX toolkit from Microsoft. When error message are diplayed, they appear under the google ads. It's very anoying because before adding the ads, everything was working good. In fact, it work perfectly but I'm searching for a way (probably CSS) to put th...

Using jquery to get per row totals and grand total of table

So the short version of this is: Can I traverse only the elements within the matched element of the selectors before the each()? Or is there a simpler way of getting what I want without an each() loop? I thought this would be much easier, which makes me think I'm just missing some fundamental principle of element traversing with jquer...

rails form_for styling

Is there a way to add styling to rails form_for and make it display inline? ...

Problem while using pre tag.

In my project we need to display code snippet, so I am using pre and code(both) tag. PROBLEM While displaying the code snippet it is displaying white spaces before and after the actual content. How to remove these white spaces before and after the snippet. ...

HTML controls in PDF

Hi Guys, I ran into an interesting problem at work today. I got a request to provide a link to a certain PDF file from my company's homepage. Now, this PDF is to contain some testimonials etc. and is to be followed by a feedback page which has HTML like controls - radio buttons, textboxes and a submit button - We are still talking about...

How to show a comparison of 2 html text blocks

I need to take two text blocks with html tags and render a comparison - merge the two text blocks and then highlight what was added or removed from one version to the next. I have used the PEAR Text_Diff class to successfully render comparisons of plain text, but when I try to throw text with html tags in it, it gets UGLY. Because of t...

Son of Suckerfish Menu problem IE6

My menu dropdowns are 'hiding' behind content that appear below the dropdowns. The menu is working fine in Firefox, Opera, Safari, IE8, but not in IE6. An example of this is on this page - http://marketplace.prettypollution.com/news-events , if you hover over 'Contact Us' in the top menu it is hidden behind the below content. Any ide...

Horizontal text scroller with length detection javascript/jquery

I am looking for a way to do Horizontal text scrolling that only scrolls ONLY WHEN the text length is longer than the container DIV. Any suggestion how to do that? ...

jquery focus on input

I got one main search field always visible at the site and a login form (by default hidden) only visible if the login button is pushed (this trigger a jQuery toggle function). I have no problem getting the main search field to have focus, but I want the first element in the login form to have focus if visible. In the HTML code, the th...

Embed video in SharePoint Content Editor WebPart - code?

I've tried this: <EMBED style="WIDTH: 209px; HEIGHT: 196px" pluginspage=http://www.microsoft.com/Windows/MediaPlayer/ src=../Documents/filename.wmv width=209 height=196 type=application/x-mplayer2 controller="false" SHOWSTATUSBAR="0" AUTOPLAY="0"> But it just plays the sound and shows up with a green square - how do I get it right? ...

Get img thumbnails from Vimeo?

Hi, I want to get a thumbnail image for videos from Vimeo. When getting images from Youtube I just do like this: http://img.youtube.com/vi/HwP5NG-3e8I/2.jpg Any idea how to do for Vimeo? Here is same question, without any answer. ...

HTML/CSS Best way rounded corners

Possible Duplicate: What is the best way to create rounded corners using CSS? What is the best way to make rounded corners in div-containers! I need a solution which works in every browser .. what i have tried is jquery corner plugin (don't work in Chrome) CSS tags (don't work in IE) Is the only working solution (for every b...

Web browser: Hide mouse cursor

Is it possible to hide the mouse cursor in a web browser? I've done this in Flash for a touch screen application, where a mouse cursor is distracting and unneeded. This time it's for a display screen that is non-interactive, so a mouse cursor is not needed. My gut feeling is there's no easy way to achieve this in the web browser, only ...

IE8: The option tag gets a "selected" attribute by default (And cloneNode makes a mess of it)

IE seems to add automatically a "selected" attribute on the option tag. But then if you cloneNode it, things get weird. If you open a page in IE8 with the code below: <html> <body> <form><select><option>o1</option></select></form> <script> // without clone node var elm = document.getElementsByTagName('form')[0]; ...

style and script tags in HTML body... why not?

[This is related to this question, but not since it's not about email.] In many cases -- especially when working with a CMS or someone else's framework, it's much easier to embed <style> tags and <script> tags in the <body> than in the <head>. This seems to work in IE6, IE7 (Windows), Firefox 3.x and Safari (OS X). Strictly speaking, ...

have an MP3\WAV in backgroung of HTML

i want to have an MP3 constantly playing and looping in an HTML page after a page has been loaded. I also want to control this sound with HTML interface for PLAY\STOP and if i can tune up down the volume as well then it would be great but that's an optional. Is there a way to first load the sound file first and play it in a loop or ever...

Website not rendering correctly in IE - Just cannot get it right. :(

Hi all, I have been trying to days now to get this website completed ... however, when viewing it in IE (compatibility mode) the header is all messed up. :( The website is here: http://nageela.einfal.com/ This is actually the first design I've converted into a Wordpress theme, so it's been very challenging. If anyone has any suggesti...