html

How to implement animation between pages

I have been advised here not to create a single page website. However, I would like to create animation effects between tabs like this one. How this can be done if I have a separate HTML for each tab ? Or maybe you have a better approach... ...

Can jQuery retrieve a file?

I have a django application that creates xls and txt files. I'm trying to create a button which sends a jQuery.get request to django, django then returns a freshly created file to jQuery which in turn pops open a save as dialog. My code looks like this: jQuery("#testButton").live("click",function() { jQuery.jGrowl("click"); ...

Open a file:// protocol with UNC paths in HTML page

Hi - I'm trying to open a file located on a networkshare by giving the anchor tag path = file://///servername/folder/file.docx This works in IE8 and i'm able to open the file in word, however in Firefox nothing happens. I believe it's due to some secruity settings in Firefox. I tried about:config and turning off the checkloaduri value. ...

weird characters in HTML email

Hi stackers! I'm reading email from a maildir and some emails have weird sets of characters in them: =3D =09 I think =3D is = and =09 is a space. There are some others, but I'm not sure: =E2 =80 =93 Does anyone know what these are and what encoding issues I'm dealing with here? BTW, I tried fetching these email via POP3 and it's ...

html - problem with word wrapping

Hello! I have some text in div, and I want it to wrap to fit document width (without any scrolls!). I don't want to have word-break, like div {word-wrap: break-word;} For example (this is what I want to get): hello world! today is a good day. But not: hello world! today is a good day. or: hello world! today is a go od day. ...

How to read from CSS files with jQuery

Ok, I have a HTML page with jQuery included. I have a CSS file with a good load of lines in, I would like to read all styles for a given element from the external CSS file... Not the inline styles... I have the following code (which looks like it should work...): var styleProperties= {}; var getCssProperties = ['width', 'margin', 'hei...

H1 tags, SEO and semantics

Hi guys, I'm using the H1 tag in my document as the main title, as you do. The text in the H1 is the title of the company, which needs to be shown on every page. I'm using the H2 tag for the title of the main content on each page. So the H1 is the same on every page, and the H2 changes. I know that a lot of sites use the H1 to do wha...

multiple contenteditable elements, using arrow keys to navigate

I got multiple <p contenteditable="true"></p> elements on a page. I'm looking for a solution to use arrow keys for navigating across those disjoint elements just as if they were one single editable element. So for instance, if the caret is at the 10th character on the last line of the 1st paragraph and the user hits the down arrow key, ...

European signs in img src problem

Hey. I recently encountered a strange problem on my website. Images with æ ø and å in them (Western European signs) Won't display. The character encoding on all sites is "Iso-8859-1" I can print æ ø and å on the page without problems. If I right click the "broken image" and choose properties, it displays the filename with the europea...

clear property is not working in ie 7

Hi all, I m using a div in my web site by using float:left and float:right after that is used clear:both, its working fine in all browser except ie7 i have tried a lot of things please tell me a solution to resolve this problem.... css: .clear { clear : both; margin : 0px; } html: <div style="float:left">some text</div> <...

How to pass a link to Facebook iPhone app status update?

It's possible to create href-attibutes that makes the iPhone quit Safari and launch another app. For the official Twitter-app this would look like: <a href="twitter:///post?message=my+important+message">Click to deliver message to Twitter-apps status updater</a> For the Facebook-app the protocoll is: fb:/// But i can't figure out, ...

Select box hides the lengthy text as its option when displayed in IE whereas it is displayed perfect with Firefox

Select box hides the lengthy text as its option when displayed in IE whereas it is displayed perfect with Firefox, How can I rectify this issue... <select name="product" id="product" style="width:135px;" onChange="javascript:refill();bannersize();"> <option value="">Select Product</option> <?php while($result=mysql_fetch_object(...

Table Template with Rich UI

Hello, I'm trying to find a html (or maybe flash) table template with rich ui features. I googled it, but couldn't find something that has a rich ui, also looked through jquery, still no luck. Before going any deeper search, I believe someone may have suggestions for me. Thanks. ...

Why won't this HTML work?

I have a span text block inside a paragraph. Inside this span block I have two paragraph breaks. On webkit, the browser renders the first paragraph correctly but fails back to browser default settings on the last two. Why? <style type="text/css"> span.post-content { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; }...

Hiding the fact that my website is built in ASP.NET

I have developed a web application in ASP.NET 3.5 and C#. When I deploy the application, people can see the telltale signs that I'm using ASP.NET. How do I make it so that anyone who sees my site won't see that I'm using ASP.NET? ...

HTML: Nesting DIVs problem

I am coding a form generator. So far, so good, then I decided to give it a real test. I made a form with some nested each holding a few controls. I will post the HTML at the end. If you load it into a browser, it renders, but is obviously wrong. I had previously tested using the W3C validator and things were fine, but that was for n...

how to add a images in select list

Hi All, I have a select list of gender code: <select> <option>male</option> <option>female</option> <option>others</option> </select> I want to use a image in drop down list as drop-down-icon.jpeg i want to add a button in place of drop down icon how to use it Thanks ...

How to display an HTML list non-nested?

Here's the HMTL <ul> <li>Salads</li> <li>Fruits <ul> <li>Apples</li> <li>Prunes</li> </ul> </li> <li>Main Course</li> </ul> Here's what it looks like now: Salads Fruits Apples Prunes Main Course And here's what I'd like it to look like: Salads Fruits Main Course Apples P...

Getting variable in iframe

I'm passing a varaible to a iframe but can't seem to access this variable via the global get variable. <iframe src="uploadContract.php?clientid={$clientid}" frameborder="0" height="95"></iframe> in uploadContract.php I try to access the variable like $_GET['clientid']; Somehow I can't seem to get the value via the Get global What am...

Will this encoding be a problem in the future?

I have this function inside a php file: mysql_query("SET NAMES 'utf8'") or die(mysql_error()); mysql_query("SET CHARACTER SET 'utf8'") or die(mysql_error()); some stuff happening here, rename($src, $dest.$cat); Thats on the server, and is the setup I have today which works (atleast on my browsers). Now, on my local machine (my...