html

Modify HTML Content with Squid

We have setup our network as per the tutorial here: https://help.ubuntu.com/community/Upside-Down-TernetHowTo. Basically, we have a squid proxy that inverts images for pages that clients request. We're trying to modify the script so that we can edit the contents of the webpage before the webpage is sent to the client. We are not having...

Problem uploading .docx through html form

I've made a simple form, with the proper enctype for uploading files. When i try to upload a .docx everything works fine in IE 8 and Safari, but in Firefox or IE 7 or 6 i can't even click submit, nothing happens! Could this still be a server issue? It's an apache server. Everything works fine if i choose to upload a .doc file <form enc...

How to build website with two speaking language (Arabic and English)?

hi, I am beginner in web designing, I using CLASSIC ASP for web development. My client need his website in two languages (Arabic and English). What is the best way for develop website in multiple language? I read some information from website's :- Create website in two lanuages. for example (www.example.com/English/)and (www.example...

Localization of accesskeys in internet explorer

We have an enterprise web application that we are converting from english to Thai. One area that has got us stumped is on the issue of "access keys". We use the "Accesskey" attribute in IE to provide short cuts to our buttons. However, how do we do this in Thai? Does HTML and IE support unicode access keys and if so how? Our application...

Squid proxy not serving modified html content

I'm trying to use squid to modify the page content of web page requests. I followed the upside-down-ternet tutorial which showed instructions for how to flip images on pages. I need to change the actual html of the page. I've been trying to do the same thing as in the tutorial, but instead of editing the image I'm trying to edit the htm...

I have to do the Demo HTML page that uses RFID ActiveX to scan RFID and show the result whether the card is valid or not.

My RFID project Developed in ASP.NET. ...

Automatically tidy up JSP/JSF files

Hi, I am working on a webapplication and I do most of the XHTML stuff in an editor. Every once in a while I froget to close a tag or mess up the nesting (we all get distracted sometimes ;-)). So I commpile, package and run my webapp (using maven mvn clean package jetty:run-war only to notice that displaying the view (where I messed up ...

HTML form requirements specification

I am building a framework that will validate forms both client-side (javascript) and server-side based on a form requirements specification written in json. The purpose is to get rid of logically equivalent code on the server and client to make the code more maintainable, faster to write, and less buggy. The specification format may ...

Lists inside lists don't validate with w3c?

Hi everybody, I've got some lists inside lists to make some fancy drop-down menus. e.g <ul> <li>something <ul> <li>sub menu</li> </ul> </li> </ul> Problem is, w3c doesn't like it. Is there a way to make this validate or this just one of these hacks that browsers can render, but w3c dislikes? ...

Can you drag and drop a URL with a large icon/graphic from a web page to you desktop?

Is there anyway to create a desktop icon (cross platform/browser) from a linked image on a page without some kind of executable? <a href="http://www.example.com"&gt;&lt;img src="nice_icon.png" /></a> ...

HTML textarea; scroll vertically to text

I have an HTML textarea: <textarea> Some text Another text in another line BOOM Hello there. </textarea> I want to be able to vertically scroll to the word BOOM so that it is visible (it doesn't matter on which line it appears). Is this possible? ...

PHP functions vs includes for site template

What is the best, easiest, and fastest way to use a template for a page. Right now I have been using a function to create my template for each page. $title = "Kick Me"; <?php pageHtmlHeadStart($title)> <!-- Were Javascript would go --> <?php pageHtmlHeadEnd(); guiHeader(); ?> Content went here. <?php guiFooter; ?> I uses to ...

IE not triggering keyboard event on a form with ONE FIELD

I'm seeing my Friend's code here... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> Check action </TITLE> <script> function detectEvent(){ if(window.event.keyCode==13) { alert("you hit return!"); } } </script> </HEAD> <BODY> <form name="name1" onkeyu...

Google toolbar reporting "This page is in Filipino" when it is English

How does Google Toolbar determine the language of a page to offer translation from it? Google is mis-identifiying a simple login page on our site as Filipino and offering to translate it into English. I've tried added a lang="en" attribute to the <html> element of the page, but that seems to have made no difference. Anyone know why thi...

dynamically add elements from jquery or javascript

if a user types in an input say 3 into a text box three small text boxes should be shown below or in a popup through javascript or jquery .How can this be done... <input type="text" name="order">3</input> Thanks.. ...

Can I clear browser cache of the page leaving page?

Can I clear browser cache of the page when I'm leaving it. // Clear browser cache Response.Redirect("otherpage.html"); By "clean browser cache" I didn't mean all the cache. I meant make user download the page next time he goes back to it (by pressing back button in my case). Edit Usually Sky Sanders suggestion works. In fact that wha...

IE8 positioning, nightmare!

Well hi, guess what, I have an IE positioning issue! This is in 8, so god know what's going on in the other versions (checking later) Both the boxes call the same class, why is IE being so difficult? Here's how it's meant to look: And here's how it does look: CSS: (removed comments for ease of reading) div .roundbigboxkunde { ...

IE 6 png transparency issue...

My page is not rendering properly in ie6 because of transparency problem in ie 6. How can fix this issue. ...

Table of contents: leading dots

What is a nice way to do leading dots in a table of contents with CSS? Example: Link.............Chapter 1 Link.............Chapter 2 Link.............Chapter 3 ...

CSS Issue in Firefox/IE

I'm working on a site's CSS and am running across an issue with the body margin section. If you look at this in Firefox and then IE, you can see the line isn't lined up right in Firefox, but it is in IE. (In the black header section). Here is what I have for the body tag, It's something with the margin and I can't figure it out: body ...