html

JQuery autocompleter for dynamic input boxes

I have a webpage with jquery generating dynamic html input boxes. Something like this appears on the page. <input type="text" id="numbers[]" ></input> <input type="text" id="numbers[]" ></input> <input type="text" id="numbers[]" ></input> <input type="text" id="numbers[]" ></input> These text-boxes all use the same autocompleter, is ...

How do you ask an external program to open a file being served through a web browser? What about detecting if the external program is installed?

Hello Folks, I have a two part question. The first I think I have an okay answer to.... I am looking to force an external program to be called up to view a configuration file for an application my company is working on. The basic gist I guess is to set the Content-type header to type that your application is associating with, and then ...

how to take control of render process or supress BR's TAG behaviour?

I'm using a control in my asp.net web page that I don't have the source code, this control renders some undesirable BR(new line) tags in HTML which they are breaknig my layout. I would like to know if there is a way I can take control of render process without breaking control behaviour (it is a very complex ajax powered one) or do somet...

How do you display hyperlinks without an underline ?

How do you display hyperlinks without an underline ? ...

Evaluating PHP Code

I am very much a beginner when it comes to using PHP. I was given this code, to try and output the contents of a files on a folder, onto a server, but my issue is I do not know how to read and alter this code to fit my specific file path. Can someone help me out with this, and lets just use the name folder as an arbitrary pathname. ...

What video format works best for a website designed for mobile phones?

I am going to be working on designing a mobile-phone friendly version of a client's website. I have done the research on how to build it, bu, as we have a few videos on it, I need to know what video formats would work best when a phone accesses the site. Any ideas? ...

How can I notify the parent page when a popup has finished a load which the parent initated?

My main HTML page does the following: var popup = window.open(...); // Wait for popup to load popup.onload = function() { do_something(); }; popup.location = "new-page.html"; I'd like do_something to be called when new-page.html is finished loading. But what I currently have doesn't work -- do_something is never called. How can I ma...

Lyrics translation in html

How to represent lyrics and corresponding translation strophe in HTML? just an example: Может, поздно, может, слишком рано, Maybe, it's too late or, maybe, early, И о чем не думал много лет, It has not occurred to me for years, Походить я стал на Дон-Жуана, I resemble now Don Juan, really, Как запра...

CSS rule for attribute + sibling in DOM

What I have is a form with one fieldset containing several other fieldsets. For each fieldset, the user can check a box next to the legend and expand that fieldset (in theory, at least). I was thinking it would be cool to try using pure CSS for the effect, but I'm getting hung up on how to write the rule based on the two elements positi...

How can you print an html string from C# (with user permision)?

I have an html string and I want to print it out. I'm okay with it opening the confirm or print preview dialog box I just want a function like this HtmlPrinter.PrintHtml("<html><body>Page I'm printing</body></html>"); anyone know anything that will work like this? ...

jQuery Fading Opacity Problem

Hi Everyone: For a client, I am attempting to get this site to work in IE and other web browsers (currently only works in Safari and Firefox for Mac): http://www.randomscripts.net/think_company_world/main.php I am using JQuery's fadeIn and fadeOut functions on the pictures to cycle them through in the background. For every other brows...

Removing the list style for the Twitter Badge.

I am looking to remover the circle bullet list style that is currently applied to my list. I've tried adding list-style:none; to almost every css id i have relating to the twitter feed and nothing works. Here is my code. <div id="twitter_div"> <ul id="twitter_update_list"></ul> </div> #twitter_div { float:left; margin:0; ...

Removing appended html using jQuery?

Using jquery, I currently append html to a div on a click event. The following code allows me to fade in only the appended portion of the div: var html = ".."; $('<div></div>').appendTo("#id").hide().append(html).fadeIn('slow'); This portion works perfectly. But how can I later remove (fade out) only the appended portion? I tried h...

HTML interface to RESTful web service *without* javascript

Even if I offer alternatives to PUT and DELETE (c.f. "Low REST"), how can I provide user-friendly form validation for users who access my web service from the browser, while still exposing RESTful URIs? The form validation problem (described below) is my current quandry, but the broader question I want to ask is: if I go down the path of...

How to format code in html / css / js/ php

I'm looking for a way to automatically format and color code I write in an HTML document. I know wikipedia does it, for example on the page: http://en.wikipedia.org/wiki/Nested_function I'm sure there are libraries out there to do this, but I can't for the life of me, find one. Does anyone have any suggestions? ...

How to Prevent Linke break for Divs in CSS?

I am creating menu for a website. for each item (Home, Contact us, About us) I use Background color and text of size 125X30. In CSS, When i use float it works correct. But when i removed float, all individual item such as home, contact etc come down one by one. I need it left to right in a single line without float. Help me ...

Hover Over a Menu Item Working in Firefox but not in Internet Explorer

Here is the coding in which hover is working inf firefox but not in IE .menu { margin-top:1px; display:inline-block; background-color:#FCFAB4; color:#000000; height:30px; width:121px; padding-top:10px; font-size:13px; font-weight:bold; font-family:Geneva, Arial, Helvetica, sans-serif; text-align:center; } .menu:hover { b...

do we have akismet api to be used on html pages?

Hi, for the purpose of preventing spam in my application, i wanted to try Akismet plugin. But the page is a html page in the asp.net application. do we have any akismet api for html pages. Please let me know.. PS: i need to retain it as a html page, and not change it to an aspx page. Thanks in advance, Geetha ...

foreach loop question with datatable

i have a data table and i want to write a loop where i can render a html table and i want to do it from scratch (not abstracted data sources) i want to have the number of items per row a variable. what is the correct loop syntax given a datatable with X number of records where each record is one cell. so if i have 20 records and my Nu...

About META Tags: Can not Find Them in Page Source!

I encountered many sites including stackoverflow.com whose page source do not show META tags like keywords, description. I am just wandering is it because they blocked it by some sort of tech or they just drop them since, as I know, those tags are not so much valuable as before. If they blacked them, then what kind of software or tech ...