html

Are files run on local machines cached?

I had a nightmare last night. I've been working on an mvc website. I'd created my master view and had ALL my styling in a seperate css file. I've created a ton of View pages as well. All of a sudden, out of nowhere, I get the blue screen of death. Checkdisk runs etc and when the OS gets back up and running my masterpage and css file are ...

Javascript, Smartphone detection for videos?

If there's a better way I am all for it. But I wanna detect a smartphone user on my site. Whether they be a webOS, Android, or iPhone OS phone. I have a flash video on my site, but when I detect a smartphone users I want it to be a HTML5 video on the site instead. ...

How do you get the numbers of an ordered list to show on the left in IE?

I have a rows of data in div tags that float left and have widths set. They are inside li tags. Everything works fine in chrome and FF, but in IE8 the numbers show up in the middle of my rows, right next to the last div tag that doesn't have a float left. The lists are created dynamically so I'll try to recreate an example. <ol id='l...

CSS3 transitions with variable heights?

I'm working on a layout that switches a div between two classes, one with a height of 0px. CSS3 animations scale the div height great. The only problem is that I want it to scale to the content height, instead of a set height. Is this possible with CSS3 transitions? Thanks all! ...

HTML5 File API read as text and binary

I am currently working on the HTML5 File API, and I need to get binary file data. The FileReader's readAsText, and readAsDataURL methods work fine, but readAsBinaryString returns the same data as readAsText. I need binary data, but im getting a text string. Am I missing something? ...

jquery slider alternative?

Hello, Are there any alternatives to jquery-ui slider? It doesn't do what I want it to be (allow images to be used rather then the default css, well it does but the handle goes above the images). Thanks! ...

How to get external pages into div ?

Hi i tried for including external page in div in my home page but the problem is that external page is developed in ajax means that if we click any link inside that external it doesn't change URL . My problem is that when i included that page in my code using code on link. http://www.javascriptkit.com/script/script2/ajaxpagefetcher.s...

include .html in a .html

Hello, I used the script <!--#include virtual="dontate.html" --> to include a .html file into another .html file, but for some reason does not show up. Any reason as to why? I will be using WAMP and LAMP. Thanks Jean ...

Problem in clicking button all over it. CSS button.

Probem I have a CSS button which am able to click only on the test area. I am unable to click on the non-text area of the button. Here is the HTML code for the "EDIT" button on my website. <div class="stndrd_btn"> <p><?php echo $html->link('Edit','... destination....'); ?></p> </div> Below is the CSS code for the button. .stnd...

Adding value from one list to another depanding on button clicked

Hi I have two multi lists. In first multi list, i got all the attributes of table by using query then now by selecting one attribute from this list, when i click on "ADD" button i want that copy of this attribute should go into another list. What i have done is i added javascript onclick function for ADD button in that i got the select...

jQuery - add / remove table rows

From my selection on the right I dynamically construct (clone) a set of rows to the left. There I also add a REMOVE button. I can't call a jQuery function from that button. Also upon clicking the REMOVE button how can I set the checkbox of the respective row on the right to its previous state (checked). There is all the code below. Thank...

Insert div over flash in IE

Hi, I have a menu bar which has several submenu items. The homepage contains a flash animation which is located under the menu bar. When the submenu items are over the flash file, the flash file will be displayed over the menu bar. I tried with z-index, but it won't work. This problem only happens in IE. Any tips? Thanks ...

Text equivalents for icons that using css background-image property

If the element is not rendered successfully, the text equivalent will be displayed. For the <img> tags, we could use ALT attributes to represent the text equivalents. But things get complicated when the image is rendered as <span> + background-image css property. Since ALT attribute is only meaningful for <img>, it couldn't be used here...

Want to load .cache.html file of GWT application on client side

Hi Guys I want to load .cache.html file of GWT application on client side ( Browser ) but now when I load my application on browser each time .cache.html file is downloaded from the server I don't want it to be downloaded on each request , because it's too heavy Please suggest me solution Thanks ...

HTML: How to create a scalable layout with elements glued to the edges

I am trying to do something like this: : : ..:..................................................:.. :B <center>B</center> B: : : : Sed et velit sit amet eros pulvinar auctor. : : Integer tristiqu...

how can i change the DOCTYPE

anyone here know how i can dynamically change the doctype with javascript? i have tried with this function, document.doctype('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'); , but it does not work. ...

Why do we need DOCTYPE to the HTML/JSP pages ?

I have very basic question. I don't know this question makes any sense or not. I don't know the reason why we need DOCTYPE to the HTML/JSP pages also. The pages will work Without DOCTYPE also. ...

floating text between two columns with white space in the middle

I need to design a page similar to this http://www.brightech.co.il/page.png where the text and image are dynamically inserted in the server side, and the only thing which remains constant is the white space below the left column. I need the text to continue naturally from the paragraph in the upper left column to the lower right one. ...

Problem with horizontal menu and IE7

Hi, I made horizontal menu with some sub-menu items. Unfortunately I third level sub-menu items does not appear in IE7. Whole html, css code and working menu you can see at http://jsfiddle.net/XzCMr/ How I found out, IE7 hides third level in second level. If I change css margin from #main-nav li ul ul { width:202px; margin:...

how can i set the video's height and width to fill the colorbox ?

hi; the video is shown in a colorbox.But this doesn't fill the colorbox.How can i solve the problem?here is the colorbox code. $(".aHelpSource").colorbox({ iframe: true, innerWidth: 700, innerHeight: 400 }); here is the code which for the video. "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width='150%' height='150%...