We changed our privacy policy. Read more.

Questions tagged [html5]

HTML5 is the latest standard for HTML. It was specially designed to deliver rich content without the need for additional plugins. The current version delivers everything from animation to graphics, music to movies, and can also be used to build complicated web applications.

Filter by
Sorted by
Tagged with
23
votes
3answers
20k views

Including SVG in a Lightning Component

I'm trying to animate a circular countdown timer for my lightning component, but it seems I can't use SVG tags (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/...
11
votes
6answers
2k views

HTML5 elements vanish when rerendering Visualforce

I have noticed that HTML 5 tags like <section> and <header> disappear from the page when I reRender the page. On initial load of the page the HTML5 elements appear as expected but when the ...
3
votes
1answer
4k views

Sorting List in descending order

I have created a th/td HTML table where Wrapper class List is already sorted with Comparable interface. Requirement - User should be able to sort it in descending order based on the same field as ...
30
votes
2answers
6k views

How are Salesforce1 and Aura related?

I have been playing around with Salesforce1 for a while now. I have also read several (unofficial) links which suggest that it's built using Aura. I downloaded the Aura repo from github and have been ...
8
votes
1answer
2k views

<input type="range" /> not working on iOS

I've created a very basic lightning component: <aura:component implements="flexipage:availableForAllPageTypes"> <input type="range" min="0" max="100" value="50" /> </aura:component&...
4
votes
1answer
8k views

Conditional Rendering inside Visualforce pages

I have an overwritten edit page for my custom object, which have different record types with different fields. The simplified desktop version of this VF page looks like this: <apex:page ...
1
vote
1answer
2k views

Lightning component access to scrollTop

I would like like to get the scroll position of a tbody in a lightning component, what's the supported way to do this? cmp.find('myComponent').getElement().scrollTop is undefined. If I do this in ...
21
votes
2answers
9k views

IE10 Forced into IE7 Standards document mode for Visualforce

I've created a VF page which leverages some nice CSS 3 and HTML 5 features but it doesn't render correctly on IE10. This is not because IE10 doesn't stick to standards, but because it's reverting to ...
3
votes
1answer
940 views

Is it possible to make apex:input "locale aware"?

I want to use the fairly new input types that HTML5 defines. In Salesforce, the different types are: date, datetime, datetime-local, month, week, time, email, number, range, search, tel, text, and url....
1
vote
2answers
458 views

Visualforce + Google Polymer

I am looking for examples which show Visualforce with Google Polymer integration. Can anyone point me to relevant links?
6
votes
1answer
792 views

manifest attribute of Summer13 not working on my prerelease org?

<apex:page showHeader="false" sidebar="false" standardStylesheets="false" docType="html-5.0" manifest="/apex/CacheManifest"> <header> <h1>Congratulations!</h1> </header>...
9
votes
1answer
3k views

The purpose of ARIA attributes in Lightning components

In samples of Lightning design system I have seen a lot of aria-* attributes, for example: <ul role="tree" aria-labelledby="treeheading" ...> <button aria-controls="accordion-details-01" ...
8
votes
1answer
603 views

Dynamic Visualforce Components - Access Pass-Through Attributes

Is it possible to use html-pass-throug attributes at Dynamic Visualforce Components? Component.Apex.InputField result = new Component.Apex.InputField(); result.style = 'font-size: 9px'; result.title ...
1
vote
2answers
2k views

navigator.geolocation.getCurrentPosition fails in Visualforce page

I ran into a rather bizarre issue today with the HTML5 Geolocation API. I'm working one a Visualforce page in Salesforce1 that grabs the user's current location and passes it up to an Apex Controller ...
0
votes
2answers
1k views

How to execute the standard Onclick Javascript code from Detail Page Button in a Visualforce Page?

I've a custom button in the detail view of the object (type is onClick Javascript). I have a visualforce Page where I'm trying to replicate the same functionality done through the Onclick JS button in ...
0
votes
2answers
4k views

How to disable the increment and decrement buttons for lightning:inputField that renders a number?

I have a lightning:inputField within a lightning:recordEditForm. How can I disable the increment and decrement buttons for ALL fields that render a number? I tried setting the class conditionally to ...