html

How to generate a tinyurl in Delphi

I have a chat program, written in Delphi 7, that I would like to replace long url's posted, with a smaller tinyurl as displayed. I've Googled but haven't found anything helpful quite yet. Thanks in Advance Mark ...

how to extract metadata from html files using java

hi ive been doing a project in which metadata for various filetypes(html, xml etc.,) are needed. are there any existing api's to do the above. ideas and suggestions regardin the above are welcome. thanks in advance. ...

Why is my Style Sheet Going HayWire on MVC?

I am working on familiarizing myself with the MVC on ASP.NET. I have on my global.asax routes.MapRoute("Dept", "Dept/Invoice/{Category}/{Name}", new {controller = "Dept", action = "Invoice", Category = "", Name = ""}); The Controller.cs code gets the data and put it in a table which is fine. My html starts... <%@ Page Language="C#...

Good mp3 player for music website to sell songs?

I am building a website for someone who is starting a music studio. They want an mp3 player on there so people can hear some music. They also want the songs to have a download and buy link. I usually stay away from any flash stuff, but I think a flash player is the way to go for this right? Is there a good recommended one for this typ...

Grab PDF file from website?

I maintain a website showing my university group's publications. I have written a quick and dirty Ruby script to parse a CSV file containing this data (which I grab manually from ISI Web of Science website), and present it in a nice format in HTML. There is no direct link to a PDF file in the CSV file. Instead, there is information whi...

IE6: Images are stretched for a split second with height:auto

I have height:auto set, but I'm noticing that small thumbnail images are being stretched vertically in Internet Explorer 6 for a split second, then conforming to their correct height. One thing to note, in the HTML, the image tag looks like this: <img src="http://location" width="96" /> Will setting the height attribute in the HTML f...

How to use a PHP includes across multiple directories/sub directories with relative paths

I'm having difficulty with paths in a cms system I'm attempting to build, I've basically got a folder with my header.php and footer.php files inside. These are included in index.php and work fine. But then when I attempt to use the same includes in a file within my admin sub directory, the images and CSS are broken, obviously because th...

What are the Legal / Allowed characters for web server file names on?

What characters are allowed in filenames for HTML files on ALL servers (*nix, Windows, etc.) ? I'm looking for the "lowest common denominator" that will work on all servers. USE: I'm naming a file to be served up publicly (Mysite.com/My-Page.htm) E.g., space? _ - , etc. E.g., can I have File-Name.htm, File_Name.htm File Name.htm...

HTML: div size?

I have 3 divs, all contained within a parent They are in parent-div. Here's my HTML: <div id="header"> <div id="left"></div> <div id="middle"></div> <div id="right"></div> </div> And my CSS: #left { float: left; width: 334px; background-image: ...; } #middle { float: left; width: ???; background-image: ...;...

Rendering error with a list on IE8, 7, 6

What is the trick to getting IE to display a <ul>? I am working on a page with a php extension. I have a simple list. <ul> <li>Stuff one</li> <li>stuff two</li> <li>stuff three</li> <li>stuff four</li> </ul> While on Safari and Firefox I get a list that renders properly, on IE it just displays a paragraph. I have ...

why my foreign language(malayalam) characters are stored as html characters in database

hello, in my web site, using google language api , i type malayalam language in text box and text area , ഇതു ഒരു നല്ല സിനിമ ആണ് like this, but when i look in to the mySQL database, in the table, it is &#3335;&#3364;&#3393; &#3346;&#3376;&#3393; &#3368;&#3378;&#3405;&#3378; &#3384;&#3391;&#3368;&#3391;&#3374; &#3334;&#3363;&#...

How do you access a dynamically built select box's selected value with jQuery?

Is there a way to get the selected value (or text, or index) of a select box that the server fills (using ASP.NET) in the client? I've tried $("#ID").val() - but the only time that works is when I continue to another page and then go back. Even then, the value that is returned is the previously selected value - if the user changes the ...

two infragistics controls on same line

My ASPX code is: <span> <igsch:WebDateChooser ID="ContractPeriod2Start" runat="server" NullDateLabel="" Editable="True" EnableAppStyling="True"> </igsch:WebDateChooser> <igsch:WebDateChooser ID="ContractPeriod2End" runat="server" NullDateLabel="" Editable="True" EnableAppStyling="True"> </igsc...

Jquery problem selecting all elements of a table

I'm using JQuery 1.3.2 and have the following code - My html is - <table class="disableClass" id="formOptionsPreview"> <%--Spacing Row, this row exists solely to make the table columns size correctly --%> <tr id="formOptionsPreviewRow"> <td style="width: 130px; border-style: none"> &nbsp; </td> <td style="width: 90...

Can't get Server Side Includes (one HTML file into another) to work.

I can't get server side includes to work. I simply want to include one html file into another and I just can't seem to get it working Setup The server is a another machine (not localhost) running Windows XP. I've got a slighly older version of the xampp stack which is running only Apache/2.2.11 Virtual directory (in httpd-vhosts.conf)...

Are there simple http services out there to check domain name availability

Hi. Im looking to call a simple http service from my Java servlet to check the price an availability of domain names from my site. Basically, i want to do something like this checker here... http://www.123-reg.co.uk/ I know i can just to a get on the target url and parse the response, but I'm looking for an exising service this just gi...

The right way to do radio buttons?

So.. I have been trying to avoid radio buttons at all cost in my web development projects because I just cant figure out the right way to code them. Do you set a label for radio button.. if so, how does that work for screen readers. The way I have been doing most of my forms is by using un-ordered lists. Each input being a list item. ...

How to open a sequence of small windows always in the same window?

I know how to open a small window: function SmallWindow(theURL,winName) {window.open(theURL,winName,'toolbar=yes,scrollbars=yes, menubar=yes,toolbar=yes,resizable=yes,width=800,height=500,left=300,top=200');} being called as <a href="http://newURL.html" onclick="SmallWindow(this.href, ''); return false"> Click here</a> The pro...

Keyboard options for FileUpload in IE differnt from Firefox?

I am using Apache's File Upload. Key board "tab" and then "enter" on the Browse button of File Upload does not open an option to browse in IE, but submits the form. But the space bar works fine. In firefox, it works fine, with "enter" it opens an option to browse. Can anyone plesae let me know why does this happen? Or am I supposed to sp...

jQuery live('click') firing for right-click

I've noticed a strange behaviour of the live() function in jQuery: <a href="#" id="normal">normal</a> <a href="#" id="live">live</a> $('#normal').click(clickHandler); $('#live').live('click', clickHandler); function clickHandler() { alert("Clicked"); return false; } That's fine and dandy until you right-click on the "live" l...