0
votes
2answers
23 views

popup window not open in jquery mobile

I have implemented a script to prevent the link in my mobile app on my ipad. It works fine but I have problem now with the popup I have with jquery mobile. The problem is when I use this script, the ...
2
votes
4answers
58 views

Show/hide multiple elements with JQUERY/HTML when hovering

This is what I have so far: <div style="position: relative;"> <a href="#games"> <div class="sidenavOff"> <img src = "images/card_normal.png" /> <img src = ...
1
vote
2answers
57 views

a href open page in the same window

When i open my project in safari browser and i add the icon on my homescreen of my ipad the links doesn´t work how i want. the situation is this: i have a directory project/index.html . and i have ...
0
votes
3answers
29 views

HTML Div with data and status at top right corner

I am trying to get this working but could not find anything on the web. What I need is a simple div (110px Height * 230px Width). It has two texts on it (A Title and a description). But I need a to ...
0
votes
1answer
23 views

Issue with Java Swing href

I have a Href in my XHTML code that reads as follows <a href="https://aaaa.bbbb.cccc.dddd/irj/portal?NavigationTarget=navurl://505cdd9568643d505f993e328f125aaf&tabstrips=8;">Overview of ...
-1
votes
2answers
25 views

HTML5 - Get data from input type color with JavaScript

Let's say i have a code like this: <input id="color" type="color" onchange="get()"> <script language="javascript"> function get() { alert(document.getElementById("color").value) } ...
2
votes
0answers
74 views

What exactly is semantic HTML and how would I use it to describe the American flag? [closed]

I had a job interview the other day for a front-end web development position. I consider myself to be a competent front-end developer yet I was caught completely off-guard when the interviewer asked ...
0
votes
2answers
34 views

Display content of browser status bar in webpage

Can we display the content of Browser's status bar in our Web Page ? Like when I am uploading a file it shows status like "Sending Request" then "Uploading 5%" and so on. Can we directly show this in ...
1
vote
4answers
35 views

Is there any difference for data-attribute=false with data-attribute=“false” in html element?

I have data attribute in html element as <button data-verified=false>Update</button>. It have boolean value for data attribute. Is there any difference with following element <button ...
0
votes
1answer
47 views

JavaScript - cannot call my object's methods

I am developing a PhoneGap application for Android OS. I want to my application to be designed as most extendable as possible. Therefor I am writing all my modules as plgins, save them in one map and ...
0
votes
0answers
17 views

i need to hide the first line and last line of the list in sencha touch 2?

i want to hide my first and last line in list (sencha touch 2).please help me Ext.define("TestSatham.view.FileGroupList",{ extend:"Ext.dataview.List", requires:["TestSatham.store.FileGroupList"], ...
0
votes
4answers
34 views

Confused with HTML validation error

I have this code: <img src="Media//Service//rightImage.jpg" alt="Watch Repair" width="380px" height="272px" style="float:right;" /> and the HTML validation tool on the w3.org website I am ...
-2
votes
0answers
38 views

Switch to a different tab for a single form

I am trying to split a courier order form in two tabs basically 'pick-up information' and 'drop-off information' with a hyperlink at the end of tab1 having href="#tab2" but on clicking 'Drop-off ...
3
votes
1answer
44 views

CSS Animation Forward then Backward Flickering

I'm trying to create a CSS animation that when a user clicks an element it animates to the right then when they click it again it animates to the left. The problem I have is that it is introducing ...
0
votes
2answers
40 views

Limit html text input to a particular number of bytes?

Using HTML5 (or less preferably JavaScript) is it possible to limit the maximum length of an input to a particular number of bytes? I realise that I can limit to a number of characters with: ...
0
votes
2answers
47 views

Fill remaining width between elements and cut text

I have a footer to posts on a blog, the posts are of dynamic with. There are some elements in the footer that are left-aligned, one that's right-aligned and one between them that should fill the ...
0
votes
0answers
26 views

100% height breaks on iPad using CSS3 Animations

Having a few issues making the following page iPad compatible (works perfectly on CSS3 compatible browsers usually) http://inspirationx.net/test/i-animation/i-animation.html Basically on the iPad ...
1
vote
3answers
63 views

Style the parent of the current element

In this code, I want my ul to have a border line colored with the activate li color. For example, if the .activate element is gray, the ul border bottom must be gray. How can I accomplish this with ...
3
votes
3answers
36 views

Issue : Text get cut while using break word

At the time of add story, I have given ckeditor to add experience details & advice section. But at the time of display it goes out of scope for that we have used "word-wrap: break-word;". Using ...
11
votes
2answers
167 views

Automatically add “…” if text extends certain width, but show it on hover?

I'm trying to do the following, having a <div> of certain width, lets say 30% and than 1 line of text in it, however I want to show ... if text is to long, also width of the <div> will be ...
7
votes
2answers
140 views

Why are my cookie settings not being applied?

Based on the answer here: How can I write and read bool values into/from cookies?, I'm trying to implement cookie reading/writing code. I've got a series of checkboxes on a page whose checked state ...
2
votes
2answers
41 views

Bottom border runs away when hovering button with box-shadow in IE9

Bottom border moves down and down again in IE9 when hovering/unhovering the button: <!DOCTYPE html> <html> <head> <style> .btn:hover { box-shadow: 0 0 0 2px ...
-1
votes
1answer
32 views

jQuery Mobile — how to lay out my pages

I have an app that I'm building which is for completing a work order. The main page shows the details of the work order (site address, what needs to be done, etc.) and then there are a couple of ...
2
votes
4answers
70 views

HTML tag that causes other tags to be rendered as plain text

I'd like to add an area to a page where all of the dynamic content is rendered as plain text instead of markup. For example: <myMagicTag> <b>Hello</b> World ...
1
vote
5answers
164 views

how to align two submit button on same line

I have a page with two submit button for different purpose,i assigned inside the table ,i am trying to align it in the same line. html is <td> <div> Involved: <form> <input ...
0
votes
2answers
78 views

Hide a menu until a box is hovered

I have an accordion style menu that floats to the right of the page. It takes up a lot of space and I would like to find a way to make it hidden. How can I make an orange box to be put in its ...
1
vote
0answers
100 views

how to store html content in local storage and show in xml format

I am new to local storage and html5.I have html page with username,password and Comment text boxes.When ever i click on the button those values should be store in local storage.And next task is to ...
2
votes
2answers
113 views

Force external download url

I want to host on my webpage an external url containing a mp3 file. The problem is that clicking on that link will open the player, i have to right click and "Save link as" in order to download the ...
1
vote
5answers
544 views

How to disable script in HTML code & still show them?

What are the ways which can be used to display [in html] a code segment involving script tag & at the same time preventing browser execution of that script code?
5
votes
2answers
182 views

using html abbr tag to explain content

Is it bad form to use the abbr tag to explain words that are not actually abbreviations but to produce a "hover over" explanation of content? If it is why is this bad form and what is a good html ...
0
votes
4answers
3k views

How to add a html5 CANVAS within a DIV

I'm using the below code to generate a canvas. At the moment it adds the canvas element to the body, how can I get it to add it to a div named "divGameStage", which is not nested within any other ...
2
votes
1answer
14k views

Pure CSS Select Menu/Dropdown: How to make custom right arrow?

I am using a custom select/dropdown menu per the solution here: http://stackoverflow.com/a/10190884/1318135 This functions great, except that the 'arrow' on the right does not look very good. I ...
1
vote
2answers
3k views

Putting <div> inside <p> is adding an extra <p>

From http://webdesign.about.com/od/htmltags/p/aadivtag.htm "In HTML 4, the DIV element cannot be inside another block-level element, like a P element. However, in HTML5 the DIV element can be found ...
0
votes
1answer
794 views
+50

How to play a Google Text-To-Speech URL

Some of you know a flash player that works?? I tryed this http://www.alsacreations.fr/dewplayer.html but don't work. <object type="application/x-shockwave-flash" data="dewplayer.swf" width="200" ...
5
votes
2answers
2k views

Best way to stop specific JavaScript function on mobile devices

For my current project, I am using parallax scrolling on the website, and am currently developing the mobile/tablet versions of the site. At current, parallax scrolling doesn't work well on tablets ...
0
votes
2answers
1k views

Invalid HTML Unclosed Element

I am getting the following validation errors: Line 63, Column 7: End tag for body seen but there were unclosed elements. </body> Line 19, Column 25: Unclosed element section.<section ...
38
votes
5answers
11k views

Can you have multiline HTML5 placeholder text in a <textarea>?

I have ghost text in textfields that disappear when you focus on them using HTML5's placeholder attribute: <input type="text" name="email" placeholder="Enter email"/> I want to use that same ...
1
vote
1answer
168 views

UndoRedo: Logging every single stage versus logging only the action?

I'm developing a canvas graphical editor. I have already coded an undo-redo system that is based on logging the action in an array, like: HistoryLog=[ [action,objectid,data].... ...
3
votes
1answer
185 views

is it semantic/acceptable to put paging (NEXT/LAST, etc) links in a <tfoot> of a statistical table element?

having trouble deciding whether or not it makes sense to put paging information about a stats table in a <tfoot> element of the table. information like "Page 1 of 13" and links to "next" & ...
9
votes
2answers
3k views

Is Microformats vCard still a best semantic way to code “contact information”, in HTML 5?

Is Microformats still a best semantic way to code contact information in a web page? I asked this question almost 2 years ago and got the answer where Microformat was the best solution. What is the ...
5
votes
2answers
3k views

How to change WebKit's error message for required HTML form fields

Gecko allows you to set the error message for required HTML form fields with x-moz-errormessage. What's the equivalent for WebKit?
38
votes
6answers
29k views

HTML5 form required attribute. Set custom validation message?

I've got the following HTML5 form: http://jsfiddle.net/nfgfP/ Currently when I hit enter when they're both blank a popup box appears saying "Please fill out this field" how would I change that ...
22
votes
3answers
11k views

Are HTML Image Maps still used?

Do people still use the old HTML Image Maps? The ones with: <map name="test" id="test"> <area shape="poly" alt="" title="" coords=... Or is there a newer, better alternative?
109
votes
11answers
17k views

Would you recommend starting from HTML5 & CSS3 for beginners? [closed]

I am a middle school student trying to dive into the world of web designing and developing. I have been interested in (using) the web since I was little, but now I want to be in the "creating" side. ...
94
votes
8answers
36k views

how to store an Array in localStorage? [duplicate]

If i didn't need localStorage, my code would look like this: var names=new Array(); names[0]=prompt("New member name?"); This works, however I need to store this variable in localStorage and its ...
5
votes
2answers
4k views

HTML5 Files and FileLists path

I am wondering where the file path is stored in a File object in HTML javascript. I used the Webkit DevTools and got this: FileList 0: File fileName: "script.js" fileSize: 71268 name: ...
767
votes
9answers
220k views

Change an input's HTML5 placeholder color with CSS

Chrome supports the placeholder attribute on input[type=text] elements (others probably do too). But the following CSS doesn't do diddly squat to the placeholder's value: CSS: input[placeholder], ...
306
votes
10answers
194k views

HTML 5: Is it <br> <br/> or <br />?

I've tried checking other answers, but I'm still confused--especially after seeing W3schools HTML 5 reference. I thought HTML 4.01 was supposed to "allow" single-tags to just be <img> and ...
68
votes
7answers
7k views

Is there a limit to the length of HTML attributes?

How long is too long for an attribute value in HTML? I'm using HTML5 style data attributes (data-foo="bar") in a new application, and in one place it would be really handy to store a fair whack of ...
48
votes
8answers
71k views

What's the key difference between HTML 4 and HTML 5?

What are the key differences between HTML4 and HTML5 draft? Please keep the answers related to changed syntax and added/removed html elements.

1 2 3 4 5 118
15 30 50 per page