Window.dialogArguments Not Supported In Safari

Jun 16, 2011

I am using window.dialogArguments in safari(5.0.5) but it is not supporting.Is there any replacement for this in safari?

View 2 Replies


ADVERTISEMENT

Window.print(); In Safari!?

Aug 11, 2004

i'm trying to send a html page directly to the print preview and bypass opening it in a new window. i've found a good solution by having a frameset with 2 rows. the top row is relative while the bottom row is 1 pixel height (hidden at the bottom). the user clicks a print button in the main top frame and it loads the html page that needs to be printed in the bottom hidden frame. on the print file, i included:

<body onload="window.print();">

therefore, the code above initiates an instant print preview. the problem is that it doesn't work in safari (osx). instead of printing the specific frame that the page is in, it print the frameset at the _top of the browser window.i tried changing the location to this., parent.window, etc...but, none worked.

View 3 Replies View Related

Window.opener.location On Safari

Jul 30, 2005

I am trying to use the window.opener.location code from a link on my popup window to change the webpage in the window that opened my popup. It works on ie/firefox, but doesnt work on safari.

function changepage(id) {
window.opener.focus();
//window.opener.location('http://www.mysite.com/index.php?id='+id);
window.opener.location.pathname = 'index.php?id=' + id;
self.close();
return false;
}

Now i've tried the link with both <a href="#" changepage(35);"> and <a href="javascript:changepage(32);"> but safari doesnt want to touch the opener page. Do you know of any workaround/hack to get this to work? If not, is there a way to check to see if the user has safari and change the code to opening the page in a new window?

View 4 Replies View Related

Window.open Changes Focus In Safari?

Mar 24, 2011

I use a cookie to keep track of a particular window (using window.name), lets call this the main window. I use the window to distribute data returned from the server.

I use window.open("",mainWindowName) to get the reference to the main window object.

The problem is in nearly all browsers this works fine (focus stays on the current window), however in Safari, window.open also sets focus to that window (mainWindowName).

Of course I can reset focus back to the current window in Safari, but there is a quick flash of windows focus changing and it doesn't look good.

View 2 Replies View Related

Window Refuses To Close In OSX/Safari 3.1?

Feb 4, 2009

got an one that might prove interesting. I have a window that refuses to close in OSX/Safari 3.1 if it has any history.

Details:

I have an embedded flash app that offers links. These links will initiate a new window. I have little access to the working of the links, so I am assuming that they are using window.open and call the popup page.

So once the window is open, I have a link within that window to close it using an a tag that fires a js function which in turn uses self.close(); See code below. This works well in all cases. The problem comes into play under the following conditions:

1) Mac/Safari 3.1 (note that XP/Safari 3.1 does NOT produce the same issue)

2) Once the window is open, the user clicks a 2nd link from the Flash app, showing the selected html page and adding history to the popup window.

3) The user then tries to close the window, which now fails.

4) Any additional addition to the popups history yields the same results (as one might imagine).

I tried to use javascript to navigate back to the initial history point, and then run self.close. This sort of worked as I would revert back in the history stack with the first click, then the window would close on the second call to the close function. But I couldn't get it to work in one click. I did notice that adding an alert between the history rollback and the self.close() actually allowed this idea to work. So I tried a setTimeout, but did not have success. Seems like there's something there, but I guess I don't understand well enough to come up with the solution.

Code:
function self_close(){
self.close();
}

HTML Code:
<a href="#" onclick='javascript:self_close();return false;'>close</a>

View 2 Replies View Related

Window.closed Not Working In Safari?

Jun 25, 2010

I'm opening a new window with window.open in javascript and i'm keeping his reference to make focus on it or detect if the window is closed or not.My code is working well in Firefox and Chrome (execpt the window.focus, but there's already an issue in chromium: [URL]

In Safari window.open and window.focus works well. But window.closed has a strange behaviour. If I close the new window without navigating in it, window.closed works after closing the window. But if a navigate to another page, window.closed return false, even after closed the window.Is there a way to keep the reference on my new window event if the user navigate to another page ?

here is a sample of my code (I use jQuery 1.4.2):

Code:

MyBrowser = $.klass({
window_ref: null,
initialize: function() {

[code]....

View 1 Replies View Related

JQuery :: $.post Callback Broken In Safari In New Window.open()

Jul 9, 2009

I'm opening a new window with window.open() In the new window a file is loaded with the following post data function:

function ajaxPost(url,data){
$.post(url,data,
function(data){
alert(data)

[Code]....

If I call this function form within the new window everything is fine

- If I call it from the opener window the callback function is broken

- only in safari - ff works fine.

View 1 Replies View Related

Calling Parent Window Function From Child Iframe Not Working In Safari?

Feb 8, 2009

I have a simple javascript function loadNPlay('file'),

parent.loadNPlay('file');

on clicke event it simply plays the file in a player in the parent window. with IE and Mozilla its working fine but with Safari, when called from iframe this function doesn't work(it does work, ie loadNPlay(..) when called in the same window, in safari)

I have tried:parent.loacation.loadNPlay(..) as well, it doesn't work.

View 2 Replies View Related

ClientHeight Not Supported By FF

May 7, 2007

<script type="text/javascript">
var tdLeftheight, tdRightHeight;
tdLeftheight=document.getElementById("tdLeftContent").clientHeight;
tdRightHeight=document.getElementById("tdSidePanelLinksUP").height;
//alert(tdLeftheight +' '+tdRightHeight);
document.getElementById("tdSidePanelLinksDown").style.height= tdLeftheight-tdRightHeight;
</script>

The clientHeight attribute is not supported by FF. Any alternative to this?

View 3 Replies View Related

Checking To See SVG Is Supported?

Aug 3, 2011

I'm using jQuery SVG and would like to check if the browser that the person is using will support SVG --- if not, they'll receive a polite message; is there anyway to check this using javascript?

View 2 Replies View Related

Determining Supported CSS Attributes?

Nov 23, 2009

Is there anyway using Javascript, one can determine whether or not the browser viewing the page supports a particular CSS property or value? For example, I know IE6 doesn't support the value of "fixed" for the "position" property, so is there anyway I can determine this with Javascript, without resorting to browser sniffing?

View 4 Replies View Related

JQuery :: APIs Supported In Android 2.3.4?

Oct 7, 2011

Can anyone let us know that what jQuery APIs are supported in Andoid 2.3.4. It would be helpful if you can provide sheet/list of jQuery APIs in different categories like TRAVERSAL,CORE,UI,AJAX etc which are supported in Android 2.3.4.

View 1 Replies View Related

JQuery :: Which Plattforms Are Supported By JQ Touch

Jul 21, 2011

I would like to know whether anyone can tell me which plattforms are supported by jQ Touch. On the homepage of jQ Touch it is said, that is "for mobile web development on the iPhone, Android, iPod Touch, and other forward-thinking devices" SO what is meant by that. Which other browsers are supported?

View 1 Replies View Related

SetTimeout() Function Not Supported In An IE Version

Jul 30, 2009

does anyone know if the setTimeout() function in js has been just recently supported? i created an online demonstration of a product that uses this function to delay the playing of .wav files after various second intervals. i know that Opera doesn't support this function because when I click my button, all of the .wav files that i have in the function that runs behind the button play at once. i have probably 10 wav files that are played throughout the function, at various conditional statements. does anyone know if earlier (like REALLY old) versions of IE do not support this function? or maybe ie8 doesn't support it? i developed this and tested it in all major browsers except IE8 and any version earlier than IE6.

View 5 Replies View Related

JQuery :: Is The <caption> Tag Inside A Table Supported

Nov 29, 2009

is the <caption> Tag inside a Table supported? An if yes, how can i read the text inside this tag?

View 1 Replies View Related

WP Site With Plugins - Object Not Supported Error

Nov 22, 2010

I've been working on a WP site that uses a handful of plugins - several of which include java-script files. I've been having trouble with one of the plugins and have started the debugging process and noticed that the page the problem is occurring on shows a few java-script errors. [URL]. What do the "Object Not Supported" errors mean - and what would it entail to fix them?

Webpage Error Details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Mon, 22 Nov 2010 16:43:02 UTC

Message: Object doesn't support this property or method
Line: 143
Char: 2
Code: 0
[URI]

Message: Object doesn't support this property or method
Line: 4621
Char: 7
Code: 0
[URI]

Message: 'style' is null or not an object
Line: 33
Char: 6
Code: 0
[URI]

View 6 Replies View Related

Detecting If Onscroll Events Working / Supported In Firefox

Jul 23, 2005

Is there a way to detect if an textarea onscroll event is working in
Firefox (or Mozilla). I know that there is an onscroll event bubbling
bug with current vesions of these browsers so I want to detect this
problem with a test like "if (textarea.onscroll == 'undefined' ||
!textarea.onscroll) {}."

View 1 Replies View Related

Validation (xhtml 1.0 Transitional) Element Marquee Is Not Supported

Dec 15, 2009

// This is asp.net snippet
<marquee id="marqueeLeft" class="marqueestyle" direction="up" onmouseout="this.start();" onmouseover="this.stop();"
scrolldelay="500" style="height: 99px; width: 100%;" >
<asp:PlaceHolder ID="LeftPlaceHolder" runat="server"></asp:PlaceHolder>
</marquee>

When I moved the pointer to this <marquee> tag. It shows the error message "Validation (xhtml 1.0 transitional) element marquee is not supported". When i run my web app it runs successfully but it gives jscript error as System.Argument Exception as value for controls and behaviors must not be null.

View 8 Replies View Related

Extract A List Of Supported Events In Firefox‏ Programmatically?

Jun 30, 2011

I need to obtain a list of supported events on an encountered browser version programmatically, ie, via script. Since Explorer exposes its events on document object I can do something as simple as this:

;for(x in document)if(/^on/.test(x))alert(x);

(!warning: long list ahead..., you can use the console.log(x) instead) ..and simply store them on some appropriate object for latter use in my program flow.

Is there a sort of hack or "a hidden corner" or whatever, that would enable us to build a list of events available on Firefox in a similar fashion?

View 2 Replies View Related

Configuring A Script - Detect Whether @font-face Is Supported By The Browser

Nov 20, 2009

So I have this script that will let me detect whether @font-face is supported by the browser. Once this script runs then isFontFaceSupported() // will return a boolean indicating support.

So I just want to load a single .css stylesheet if isFontFaceSupported returns a 1, and if it returns a 0, then it does nothing, finished.

Here is the script.

The following is a font-face glyph definition for the . character:

View 13 Replies View Related

Mobile Safari And Onmousedown - Code Doesn't Work In Mobile Safari?

Jun 6, 2010

The very simple code (below) works fine in Safari (and Chrome, Firefox etc.), but it doesn't work in Mobile Safari. Why?(You can find a working example at: http:[url]....)

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>[code]......

View 2 Replies View Related

"no Such Interface Supported" When Using Parent.frame.document.location.href

Jul 23, 2005

I have some code that changes a PDF file in another frame using:

parent.frame.document.location.href = "PDF File"

This code works fine the first time it is called. But if a PDF file is
in that frame and the code is called again IE gives me an error:

"no such interface supported"

I have used this code for the past 5 years and it has worked fine with
Adobe Acrobat 4-6 it is only 7 that started to cause me grief. It is
only IE that has this problem, Netscape seems to work fine.

I have checked the web and talked to Adobe and have yet to find a
solution.

View 2 Replies View Related

Embed Or Object Tag Supported "onclick Event"?

Mar 4, 2009

I want to add onclick event for object tag.Does object tag supported onclick event?

View 3 Replies View Related

IE Error: "No Such Interface Supported"

Sep 27, 2009

The following code works in FF, Is there any way to have the code work correctly in IE 7? The error is on both the following lines, odoc.appendChild(ne);.

<!--#include file="include/dbcommon.asp"-->
<%
set dbConnection = server.CreateObject ("ADODB.Connection")

[code]....

View 2 Replies View Related

Child Window Close Event - Opening Another Link In A Separate Window Using Window.open()

Jan 29, 2010

I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.

View 4 Replies View Related

Safari 1.3+

Jul 23, 2005

Does anyone know if there is a quick test to tell if Safari 1.3 (or 2.0
will suffice) is the browser that doesn't rely on the typical
navigator.* methods? For instance, there is the good 'ol document.all
test for MSIE... Looking to add Safari support to my tty editor for my cms.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved