Hello,
The following code does not fit onto the iphone screen;
how do I have to define the viewport?
<html>
<body>
<center>
<div id="karteu" style="background: url('../customer/Karten/karte1.jpg') no-repeat left center;width:714px;height:540px;" >
</div>
</body>
</html>
Normally the site should be zoomed, so i first should see the web...
Hi Folks,
Firefox & IE's do have browser-settings where an user may allow those forbidden
cross domain calls.
My question: Is there a similar setting/option in Safari's and/or Chrome browsers?
Kind Regards
--Andy
...
I am trying to use a media rule to target css to iPad only. I want to exclude iPhone/iPod and desktop browsers. I would like to to also exclude other mobile devices if possible.
I have used
<style type="text/css" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px)">
but just found out that desktop Safari 4...
To clarify the weird title. I am trying to use figure out if there is a way, either by javascript or some other means, when the user is presented with a standard text keyboard to listen for the keyboards action like 'GO' or 'Search'. This button is in the bottom right corner of the keyboard used in Safari on the iPhone. This is NOT a ...
Please help about controlling PDFs through JavaScript loaded inside Safari.
Safari uses a PDF plugin of its own something exclusive to Safari and not present in other webkit based browsers like Chrome.
Any of the or js commands that would work with the Adobe's plugin don't seem to work.
Any help / pointers would be appreciated.
-nee...
Hi,
on a web page i am trying to redirect the browser to another page on the same site.
the code is very simple for that:
window.location = "/path1/path2"
on safari - both windows as well as mac - a message box containing only the text
"http://domain.com"
comes up.
I have tried different ways of specifying this: location.href, wi...
I'm trying to drag one img and so it fires ondragenter for IE and dragover event for standard browsers, on IE and FF after the user drags it could fire ondrop event however on Webkit based (chrome and safari), i need to cancel or preventDefault() on the dragover event, doing that so will disable the dragging. Any idea on solving this? Th...
I use JQTouch for an iPhone app. JQtouch disable by default the possibility to pinch&zoom the page.
For one page (containing a big image), i need to enable the pinch & zoom feature.
This is easy :
var viewport = $("head meta[name=viewport]");
viewport.attr('content', 'width=320, initial-scale=1, maximum-scale=10.0, minimum-scale=1, user...
I have a facebook Iframe application with multiple PHP pages in it.
I have some links that point relatively to the files inside my "iframe folder".
Having some issues with session variables inside the iframe. I set some session variables but they do not persist from one page to another.
This does work on other browsers.
I've been rea...
Hi,
I am working on a calendar that will show bookings. The height of containing the booking is calculated dynamically in proportion to the length of the booking. The following code works perfectly well in Firefox but not in Safari or Opera:
function calculateBookingHeight(from, to) {
var today = new Date;
var end = new Date....
I'm transferring fragments of HTML via Ajax. Safari (4.0.5) reports: "Resource interpreted as other but transferred with MIME type text/html."
The file name of the file I get has a .html extension. The server does set the header for this:
Content-Type:text/html
As I said, the content is a fragment of HTML, which is injected into the ...
Im having problems with a css text variable in this javascript with webkit based browsers(Chrome & Safari) but it works in firefox 3.6
importScript('User:Gerbrant/hidePane.js');//Special thanks to Gerbrant for this wonderful script
function addGlobalStyle(css) {
var head = document.getElementsByTagName('head')[0];
if (!head) { r...
my index.html page open a overlay facebox page with a contact.php page form.... it contain this code for display error messages in a div.
<script type="text/javascript">
$(document).ready(function() {
$('#submitform').ajaxForm({
target: '#error',
success: function() {
$('#error').fadeIn('slow');
}
});
});
</script>
...
I'm using @rem's jQuery :visited plugin to do something with visited links on a page. The plugin works by creating an invisible iframe, injecting the HTML source, and comparing the colour of links to see which have been visited. It works perfectly.
The problem I have is that on Safari, the status bar message always hangs on "Loading (X-...
hi everyone, this is my 1st post here in this community forum, just would like to say "HI" to everyone.
i would like to share with you my experience in developing multiple dependency selection form developed in java script, how this script works is that when 1st selection is selected, based on the value the user select, a second level s...
I'm developing a site and I am implementing a jquery hover effect on some list items. It works perfectly in all browser except safari and chrome (mac and pc). For some reason the hover effect doesnt work on those to browsers.
Here is the link link text
I thought I would add the code just in case it helps (it also uses the color_librar...
Hiya All,
I have a rather strange bug which i can't make sense of that is apearing in webkit based browsers (chrome and safari).
When this page http://bluprintliving.mammalworld.com/turnmill-street loads for the first time the content seems to jump out of the container but only at the end of the render. on refresh it stays in and behav...
Hello guys,
I have a session created which is null when called from an ajax call on Safari.
header.php
session_start();
$_SESSION['test'] = 'this is my session';
mypage.php
session_start();
echo $_SESSION['test']; <-- NOT WORKING ON SAFARI
Thanks
...
Hello guys,
I'm creating a website for iPhone and i use the native app (cliqcliq Quickpick) to upload photos. I use the script like the following to check if the application is installed. The basic idea is to send user to a custom url, if application is there it is launched, if it is not there the url should be ignored and user is take...
Hi i have used the jquery cycle plugin to create multiple simple sliding galleries. In Chrome/Safair on Mac the browser is not loading the images.
Here is the link
the js i am using is here, although it could be a css issue..? I am struggling to find the real problem.
$(document).ready(function() {
$('.slides').each(function(...