I've been at this for a few hours so I hope someone can help me with this and not just tell me to GOOGLE it.
I'm using iscroll because of its great features of fixed header/footer.
I have links in the footer. When in normal safari, it all works fine. When the webapp is saved to the home screen, and then launched, after a link is clicked they close the webapp and launch safari.
I've tried AJAX with no good luck.
Can someone please help.
Try using relative links rather than absolute links.
for example use links such as
/link/to/page or link/to/page
rather than
http://domainname.com/link/to/page
or
http://www.domainname.com/link/to/page
Related
i'm creating an application using vb.net to collect reviews from AliExpress. The thing is, when I load this page in the webbrowser, it loads all buttons and pictures, but buttons do not work, nothing works.
https://feedback.aliexpress.com/display/productEvaluation.htm?productId=32804434631&ownerMemberId=206096294&companyId=218486349&memberType=seller&startValidDate=&i18n=true
I already tried enable/disable javascript from IE, but it didn't work.
Something interesting, if i open this link from Chrome, everything works fine, but if I open the link from IE or from my app (webbrowser), loads everything but its not functional.
I'm pretty sure is some configuration with the IE but I haven't found anything yet in my research.
Any clue what's going on here?
I'd really appreciate your help.
Please someone help me on the issue below.
I have a list dropdown box to be opened on trigger of a img div on top of it.
This works perfect in chrome, while it does not work in all other browsers like firefox, ie and others. I have a fiddle link ready which shows working example for chrome.
[link]http://jsfiddle.net/jNVwF/
Hope to hear from anyone of stack users.
Gone through Reference - Similar stacks
Firefox 5 dispatchEvent not working
(Not working, Implemented)
What am i doing wrong with fiddle link?
Thanks again.
Sajay.
I've got this weird problem happening with a site I'm currently working on. When you load the page, everything looks fine. It's only until you hover ANY part of the page that the some of the fonts shift, almost as if the letter-spacing contracts.
It's really hard to explain, but to see what I'm talking about have a look at this page in IE8, and keep an eye on the navigation and page title.
Site Link
The problem started occurring when I added the Selectivizr.js to the site, and when I take Selectivizr js away it works fine.
Any help with this would be hugely appreciated. Thanks in advance!
I'm making my first mobile app, and have a weird issue.
When the app is launched regularly through safari, obviously the links work as if any other regular HTML links. When I add the webapp to my home screen (to get the full effect, button, splash, and get rid of the safari controls) then I have a problem where whenever a link is clicked it closes the webapp and relaunches in normal safari.
That's exactly how links work. It has nothing to do with iScroll. If you want to stay within the web app, you need to load the pages with Ajax instead.
Since you're developing for a mobile browser, you probably don't have to worry much about Ajax compatibility; you can use XMLHttpRequest to load your pages.
I also found this solution (sorry, i couldn't find url of the original post)
var a=document.getElementsByTagName("a");
for(var i=0;i<a.length;i++)
{
a[i].onclick=function()
{
window.location=this.getAttribute("href");
return false
}
}
...this "hack" works for me. Hope it helps!
I want to capture a webpage as an image. I am able to do this using a firefox extension using context.drawWindow method. Now I want to strech myself and see if I can do this using a bookmarklet :)
I remember reading somewhere that context.drawWindow() works only from the firefox toolbars. I dont know if that's still true or not.
Can anyone shed some light if I can execute context.drawWindow() from a bookmarklet or no?
Thanks
Kapil
You can't, since bookmarklets run with the permissions of the page, and drawWindow is chrome-only (can only be used by Firefox UI and extensions, not Web pages).