I am using the js code window.print() to perform print functionality. But this is not working in Fluid browser in MAC OS. Its working in all other browsers. Please give me a solution for this.
thnx
seems like you're not the only one having this problem (see this post in fluidapps google group), so i assume this is a bug.
the best way to get a fast and reliable answer is to ask the developers - just click on "support" on the official website (on the right side below the download/purchase-buttons).
Related
I want to detect the elastic scroll in order to try to replicate some iOS behaviour like refreshing my page if someone scrolls the whole page up.
Also it would be nice if I could present a message to the user just like in iOS (but this might be asking too much).
I tried searching around the web but couldn't really find any proper info. Has anyone worked around this?
P.S. Sorry for not posting code as this is still a concept. I will post it here when I pull it off.
I ended up following a similar approach to the one followed on Hammer.js example: http://eightmedia.github.io/hammer.js/examples/pull-to-refresh.html
I do believe there is no way to use simple javascript to move mouse and click item/url. I have searched a lot about this, and most answer I found, it's not possible for security reason.
But How about using firefox addon script? I do believe it's possible, because imacros does that, even better they can record and replay it.
But I can find how they do that, Can anybody give me some clue how to move mouse cursor using addon script?
Thanks for all your help.
The best way to do that that doesn't involve the headache of making sure that everything is positioned exactly correctly is using Selenium IDE. Selenium provides a very robust browser automation toolkit, and the IDE version is fairly easy to use although it may require some tweaking. You can download the Firefox plugin here, under Selenium IDE.
I need to disable fullscreen message ("you've gone fullscreen") coming on the top when chrome fullscreen mode is activated .
i need to do it through javascript . but it's one of the default functionality of chrome.
can any one help me out ?
It's not possible. As you pointed you it's one of the default functionality of chrome.
and I agree with the comment by mic You can't it's there for security
That message is, if you it can be disabled at all, likely a user preference. I have had my fair share of changing that kind of things for a custom "layer" over windows with an integrated browser and I can tell you it's impossible with javascript without some listener app. We created a C# listener app for that kind of thing that keeps checking a certain text file. We made javascript edit the text file and then let C# work it's hacking magic in some of the user's settings.
You could take a look at Chromium, the stripped down version of Chrome, if that would be of any help ;)
ps: To all the people going mental over changing user settings like that, our customers were old people that were unable to use a computer, and our application's purpose was to do as much as possible for them.
You cannot possibly do that as suggested by these links.
https://superuser.com/questions/398945/disable-the-youve-gone-full-screen-notification-in-chrome
https://groups.google.com/forum/#!topic/chromebook-central/h1crbhOy-7U
On the other note, why exactly would you want to do that?
I'm developing a web-app and want to use JavaScript and HTML5 for gestures. I came across this -http://scripty2.com/demos/touch/ , but for this we need Starlight browser (http://starlight-webkit.org/Starlight/).
I don't want to restrict users to a specific browser. For Firefox I found this ( http://felipe.wordpress.com/2010/08/11/multitouch-in-firefox4/ ).
So I was wondering if someone can point me to any resource that won't restrict me to a particular browser. My goal is to define custom gestures.
-AB
I've tried to use these firefox resources but they didn´t work on my HP TouchSmart 300.
So here´s my solution:I´ve found my way using TuioJs and npTuioClient . This connects TUIO to your desktop browser. It works on firefox and chrome, didn´t try on IE.
Unfortunately, we cannot expect that an average user will set up TUIO just to visit our website, but anyway, it is a solution. Let´s hope there will be better solutions using HMTL5 in the near future.
Does anyone know a way to mimic the UIDatePicker and the even more general UIPicker iOS controls in HTML & JavaScript?
Does anyone know of a solution like this? I've seen JavaScript mimics of other iPhone/iPad controls, such as the UIPopoverController. I would really like to be able to offer this way of entering dates (compared to solutions like jQuery UI's datepicker). It looks like it would be easy to use both on a mouse scroll-wheel and on the iPad. So, any advice?
One reason all these strange widgets exist is because typing on touchscreens is annoying. You probably wouldn't want to use this sort of widget on desktop for the same reason that very few people like to draw pictures with their mice: the control you get with a mouse isn't really the same as the control you get with a touchscreen.
For that reason, libraries that have implemented functionality like this do it specifically for mobile, and do not ensure compatibility with older browsers such as IE6. If you only need to support good Webkit browsers, and you don't mind using a large framework for this purpose, Sencha Touch's Picker works well (see this page for an example). Sencha's doesn't offer mousewheel support.
I don't know if anyone has implemented one outside of a large framework, but it wouldn't hurt to look around.
--- EDIT ---
A solution listed in a previous StackOverflow question (Date Picker for iPhone Web Application) was chosen as the answer, but it's only for mobile — perhaps only for iPhone. You could look at the code and write one that would work on desktop.
#theazureshadow has a point that this is probably a bad idea for a mouse-based experience.
For anyone looking to do this in a touch-screen browser (smartphone or tablet, iOS or Android), and from my research, this is a great solution : http://demo.mobiscroll.com/. (Found in this answer)
If you only target iOS (iPad and iPhone), this code has a better native iOS feel : http://cubiq.org/spinning-wheel-on-webkit-for-iphone-ipod-touch
I've been looking for the same thing today and found this pretty good implementation:
http://marinovdh.wordpress.com/2011/09/14/use-the-iphone-uipickerview-control-as-a-selectbox-on-your-website-with-jquery/
There's a zip file with a working demo you can play with. I didn't create this, but I'm going to modify it for a project I'm working on.