Datalist Compatibility for all browsers - visualforce

I am creating a datalist on vf page.This datalist is compatible for all browsers but it’s not working on ios.so can we make a datalist or something else which functionality should be same like datalist by some other way using javascript and visualforce which will be compatible for all browsers ? please suggest me.

You will probably want to use a native SF component so you don't have to worry about compatibility (as long as you only support what Salesforce supports).
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_repeat.htm is pretty easy to use.

Related

Disabling the zoom/pan/scroll functions for the Webbrowser Control

I have seen many posts about how it's impossible to disable the zoom/pan/scroll functions on the Web-browser control natively for Windows Phone 7. So what options do we have?
I did a little digging and I found a quick way to do so, so I thought I'd share it here.
It's not a quick few lines of code which is a shame but all of it is up on the web so it should be easy to implement. First you need the Linq ddl and this class here called LinqToVisualTree. Then you can use these in a WebBrowserHelper class where you just pass in your web browser when you create the webBrowserHelper and the rest is taken care of. You can even set whether or not you'd like the scrolling to be disabled.
One problem I found with this was that when I double tap on the web page it still zooms in sometimes. Does anyone know how this might be fixed? I'm sure there is a way to do it using the LinqToVisualTree but I can't figure it out.

How to inject JavaScript using FireBreath

is it possible to inject javascript inside a web page from a Plug-In made under FireBreath Framework? i dont want to use safari extensions so I am wondering if using Plug-ins I can do the same or even more than suggest do it with Extensions. Mi idea is to write a function that detects a keyPress event in whatever textbox in the page and then pass the message to a javascript function which communicate with the JSAPI function exposed by the plugin.
thanks for any suggestions or guide.
BTW I am creating the firebreath plug-in to work with Mac OSx platform.
While you can inject JavaScript into a page from a plugin - just like you could from JavaScript - you'd need to get the plugin embedded into the page.
If you have that kind of control over the page then you won't need a plugin in the first place.
To have control over arbitrary pages that you can't control directly, you need a browser-extension/-addon. This article contains more detail on the subject.

Column navigation

Is there any module available for column navigation style for eg. joomla main navigation? . I am using joomla 1.7
I think they might be using IceMegaMenu, which I've tried myself and works really well. I personally think that it should be integreted as a standar feature, as it really chenges the way menus act and is 100% compatible (you may even choose to make it work without js, and results are still great).
PS Hoping that this won't be considered spam, you can see the menu in action, as I've implemented it, at my web site. It's a very standard version, without js.
For a complete overveiw of the features you may have a look at the official Demo, it really looks like Joomla.org relies on IceMegaMenu...

IE8 forced to compatibility mode

My team is developing a website with a pretty complicated UI; jQuery, ASP.Net AJAX, etc. Of course I want my site to be compatible with all the modern browsers. Sometimes, in testing or general usage of the site while it is being developed, IE8 tells me that the page doesn't work in standards mode and it is switching to compatibility mode but it never tells me why. Is there some log or report or setting or something in IE8 that I can use to find out what upset IE8 Standards mode? Everything seems to work fine in FF, Chrome, Safari, and IE7 so what is it that IE8 doesn't like and how can I find that out?
The issue has to do with the styles that you are using which IE8 layout engine has trouble interpreting. Unfortunately there is no comprehensive list of style combinations what will trigger this behavior. You have the ability to turn off the automatic recovery on your own machine by going to 'Tools->Internet Options-> Advanced Tab -> Browsing -> and uncheck 'Automatically recovery from layout errors ..."
This is of course only applied to your machine and is of no benefit to your customers if the layout error is triggered. I do not have an answer to your specific issue, but I'd suggest validating your css against the W3C CSS validator:
http://jigsaw.w3.org/css-validator/
Any try removing complex styles one at a time until you find the combination that is triggering the error for your site.
Probably not an actual answer, but FWIW if it's complaining about the page as delivered (e.g., before you manipulate it with the DOM), you should be able to find out what it's complaining about if you pass that same page through the W3C validator. Of course, the validator checks against the validator's interpretation of the standards (which is very good though possibly not perfect) rather than Microsoft's interpretation of standards (no comment), so the two may not always align...
I suppose there are several issues that could cause IE8 to change into Compatibility Mode, but the style that I found in my site was using a pseudo element on the body tag. Removing this stopped IE8 from automatically switching to Compatibility Mode.
Removed this:
body:after {
// This causes IE8 to freak out and change into Compatibility Mode!
}
Check at Quirksmode to see if they know of obvious causes.

Ajax Toolkit ReorderList Two components with the same id 'componentid' can't be added to the applicaiton

Line 3655
Char 59
Ajax Toolkit ReorderList Two components with the same id 'componentid' can't be added to the applicaiton. When using with a database to update a simple list it works fine until it is being used very fast dragging multiple things reasonably fast. This occurs in IE, Firefox and Chrome. It appears to be something that allows the same id to be created at a guess though it is in the bowls of the Ajax toolkit somewhere. Does anyone have the answer - else I'm off to painstakingly debug the toolkit code.
Ended up implementing using Jquery plugin. Works much nicer and cleaner than the the MS Ajax toolkit ReorderList. This was not happening on the asp.net at there was no database attached

Resources