Safari On Desktop
Jun 13, 2007I just downloaded safari on my desktop, but not able to open java appl.
View 3 RepliesI just downloaded safari on my desktop, but not able to open java appl.
View 3 RepliesNotice: This is a discussion thread for comments about the SitePoint article, Take Your CSS to the Desktop with Adobe AIR!.
The only book that covers Adobe AIR with AJAX (html, javascript) is Larry Ullman's Adobe AIR (Adobe Integrated Runtime) with Ajax: Visual QuickPro Guide
All the other books cover Flex (MXML) and Flash (Actionscript) and expect you to know those things first.
document.getElementById('desktop').onclick = "javascript:alert(1);";
Getting very very annoyed at javascript! Why doesn't this work!
You'll see I'm a gamer as well as a web/desktop developer and I have built so many application in both technologies.
But yesterday I was amused by something I saw. I like to play this Combat Arms game from Nexon a very well developed FPS online action game, scince I downloaded the update I noticed that when I double click on the game icon it actually open a browser where I login (in the past I log in from the game itself) when I login I press a button IN THE SITE where it says "START GAME" and the game automatically starts.
now the question is "HOW THE HECK DID THEY DO THAT?" [code]...
How can I change Windows (or any other) desktop background in javascript ?
It is possible?
It's not something that's ever really come up before, but I'm re-creating a desktop application as a web-app and I'm coming across a number of places where:1. A select box may be pre-filled with data from a database, and2. Changing that select box affects the rest of the page.I'm looking for a neat way to perform an action that could happen when the page loads, and/or when the select changes. Knowing my luck it's something stupidly easy.For example, some code that is currently in progress:
switch($('option:selected',$transaction).text()){ // On Load
case 'Comparable': case 'For Sale / To Let':
$.each($priceFields, function(){
[code]....
jQuery isn't working on my desktop. After some debugging, this is the simplest example that I could come up with, that doesn't work.
<html>
<head>
<script language="javascript" src="jquery-1.6.2.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
function myFunc(idx) {
[Code]...
i followed my first AJAX tutorial on the web: [URL]
the AJAX is working fine on the site itself, but when i download the source codes provided with the tutorial, it won't run from my machine. i checked this with several tutorials and all same. i.e. no results when run from the desktop machine.
i tried with IE7 and ff 4.0
I just came across following demo application: [URL] I have a few questions about this:What is the right approach to start a project, which have heavy use of JS? how to choose which library is best, or one should develop his own library specific to requirements to keep the file size smaller?
View 24 Replies View Relatedhow ca i save the content of textarea on computer desktop
View 3 Replies View RelatedI've been searching for a script that creates a desktop shortcut for a URL. The script must work for all versions of Windows and Mac. I haven't found anything useful in my research yet. I know it sounds pretty basic but I am not sure where the limitations are when jQuery and the clients' browser interact with the OS.
Does anybody know if there has been any groundbreaking on this subject with jQuery?
I am working on getting my tumblr blog on my web site and there's a feature in the template that I would like to use on my site but after going through lots of sites offering tools, I couldn't find one the same.
this is my blog [URL] when hovering over a photo, you see the zoom button, clicking it makes the picture bigger and fades the background out.
Anyone know where I can get a script to do this? Has anyone used one of these? Do they automatically work on all images on the page without extra code on each image?
is possible with JavaScript to drag and drop a .jpg from your desktop to a small square box on you website. On drop the picture has to upload the file and store it on the server.
View 2 Replies View RelatedThe 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]......
I 'm working on a menu which imitates a desktop application menu toolbar (like this on your firefox ).Here's a demo[1] The menu is an <ul> containing <li> elements and <ul>s for sub-navigation.[2] User clicks the top-nav <li> with the arrow indicator and sub-menu pops out.[3] By clicking again the sub-menu hides.[4] Also by clicking outside the top-nav <ul>, a visible sub-menu hides (i used focusout event for this one).[5] Last one, a usability enhancement. Once a user clicks a top-nav <li> element with arrow indicator, he doesn't have to click again the rest <li>s with sub-nav. For instance, in the demo, if i click "Articles" and the menu pops out i shouldn't have to click "Games" in order to display it's own sub-nav.I'm having problems with [2]-[3], like arrow flickering as i click but before releasing the mouse button.umber [5] is a big mystery to me, i 'm not at this level right now.
View 1 Replies View Relatedhow do I change my html/javascript so that if I drag and drop a link from a webpage to
the desktop in such a way that the name of the shortcut created is not the URL of the link but the link itself?
e.g. if the link is
<a href="http://www.microsoft.com"> MS </a>
then the name of the desktop icon should be 'MS' and not
http://www.microsoft.com
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.
The following code suppresses the 'enter' key, when run in I.E. 5.5 or
later (Windows) but not when run in Safari (Mac)
<body onkeypress="javascript:keysuppress(event)" >
function keysuppress(e)
{
if (e.type=="keypress" && e.keyCode=="13")
{
event.returnValue=false
}
}
What code can I use to suppress the 'enter' key when running an app in
Safari?
I am currently working on a project that displays preview of a jpeg
in an iframe. we can edit this preview - like increasing its zoom
level and changing pages , images etc. This works fine with IE on windows
but whenit comes to Safari on Mac , the preview is lost on refreshing the
browser.
I have noticed that this problem occurs when ever I use Iframes.
Although the main jsp page is refreshed and shown, the jsp page that
is the source for iframe contained in the main jsp page is not shown.
I thought that if I have:
....
<body onload="some_script();">
....
that some_script would not be called until the <body> was completely
loaded - is this not the case? With Safari 1.3 I seem to have to delay
inside some_script (there is some php in the <body> that slows down the
loading). Since I happen to have a spare iframe in my <body>, I load a
tiny bit of html in it whose job is simply to set a "loaded" flag,
tested inside my delay code.
What I was observing was that some fields inside a <form> in the <body>,
whose values are set by some_script, were, with Safari, not visible
until I clicked in one of them - then they all popped into sight. I
wasn't seeing this with other browsers and a delay mechanism fixed it.
It was as if the onload was triggered as soon as it was encountered
rather than when the loading was complete.
I'm trying to use the onPaste event in a text input, which according to Apple is supported. However, I get no response in Safari. Firefox works fine.
View 3 Replies View RelatedI am having problems with a website. It uses javascript to choose a payment option and then calculates the price accordingly. It works on I.E and firefox, but not on safari. A few of our clients use it so it has to be sorted out urgently.
I have no idea why it wouldn't work in safari and i don't have broad enough skills for that.
Is anyone knows how to use top.close in javascript in safari browser?
View 3 Replies View RelatedI have a form that has a Javascript function being called when a button is clicked. The function works properly in every browser except Safari and IE 5.2 for Mac. Any ideas?
View 5 Replies View RelatedI'm writing some stuff where I wish to allow the cursor keys to control
elements in a page. This has not been a problem except with Safari
which appears to duplicate the keydown and keyup events which are fired
when the cursor keys are pressed. I.e. pressing and releasing say, K,
results in one keydown event followed by one keyup event. Press any of
the cursor keys results in two keydown events followed by two keyup
events.....
I have a big <table> and I have added an onmousedown handler.
When I get back the event in IE and Firefox, the individual <td>
element appears in window.event.srcElement (IE) and in
event.target (Firefox). However in Safari the target is just the
<table>, not the <td>.
I need to get back the <td> associated with the event, and I would
not like to put an onmousedown handler on each table cell because
there are a lot of them. Does anybody know how I can get the event
and figure out which table cell was clicked?