Web SQL Spec On The W3C Site?

May 11, 2010

I was looking at the Web SQL spec on the W3C site (here)the example code

Code:
function prepareDatabase(ready, error) {
return openDatabase('documents', '1.0', 'Offline document storage', 5*1024*1024, function (db) {[code]....

I don't understand how/why prepareDatabase is set twice.Is there a term for this? I can't for the life of me think what it is. I know I've seen it before though.

View 3 Replies


ADVERTISEMENT

Scanning Files In A Spec Folder

May 15, 2007

I'm struggling to read files in a folder and then pass the variable to the following:

</body>
<OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="video/RC Radio Controlled Model Airplane [from].wmv">
<PARAM NAME="AutoStart" Value="false">
<PARAM NAME="ShowControls" VALUE="true">

[Code]....

View 6 Replies View Related

Where Is "official", Not Microsoft, Spec For Javascrpt, Etc.?

Jul 23, 2005

I know where to find the spec for ECMAScript and the Document Object Model,
but where do I find the spec for, e.g.?

alert
location.href

View 5 Replies View Related

Can JS Suss Out "on-site" Vs Off-site HTTP Requests?

Dec 5, 2006

this may be more of an "html" issue, but I'll wing it.

i've got a multi-language site, where the home-page of each language group
features a link to a popup window that offers background info on site
management. the popup is fired by a javascript function, when they click
the site management link. there's also a "window close" function button so
they can nuke it as they please.

now, oddly, people who search for my site in the chinese language on google,
are sent directly to the site management popup window, which of course,
opens in their "full" browser window, and which also has no links back to
the main site, because it's meant to open only as an "accessory" to the main
site.

my question is this: is there any way, with Javascript, that I could
determine if they arrived at this window from "off-site" (ie, a google
search), and therefore offer such "off-site" visitors a link back to the
principal site, a link that would be hidden for visitors who clicked the
popup window from my own site?

View 2 Replies View Related

Posting Data From A Form On My Site To A Form On Someone Else's Site:

Feb 25, 2006

Basically, I registered for a free board at one of the various sites because my server doesn't support .cgi scripts. I want to know if there is a way to have the data from a form on my site post to the board site -A user would fill in my form, click submit, and a new post would appear on the board site -as if they had entered it there.
If you can point me in the right direction, I would be grateful. Here is my thinking.

A) I can't locate the script that they use to perform a "submit"; so I thought I might enter their <head> data (as far as xmlns, href, etc) in my <head>; that my website might call up their script files, css sheets, etc.

B)I could code my own Javascript function to send my form data to their site. If I knew how to simulate a mouseclick on someone else's site, I could have the script "click" there, paste the data, and hit the submit button. But I don't.

C) I could size their site down to the form itself and put it in a frame on my page

Option C is clearly easier, but I would prefer option A or B. I have time and will happily do the research myself; provided that I know if approach A or B is even feasible.

View 1 Replies View Related

Print Site

Jul 23, 2005

How can I print a web-site without site number and url?

View 6 Replies View Related

Cookies To Another Web Site

Oct 25, 2005

Got a client with three web sites. I want to be able to pass cookies between these sites, so far no luck. Tried:

document.cookie = name + "=" + escape (value) +
((exp == null) ? "" : ("; expires=" + exp.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
("; domain=.yorktest.com") +
((secure == true) ? "; secure" : "");

Code:

View 1 Replies View Related

Get Info From Another Site?

Feb 22, 2010

I'm making a fansite for a game called RuneScape and I'm a bit stuck on this part.

What I need for my website is, a page that will have the prices (min, middle, and max) of things from this [URL] or other items, which will be chosen later on.

Here are two example sites that I am wanting to ... do the same thing as them.

First Example [URL] Second Example [URL]

View 2 Replies View Related

Scroll Box To Top For PHP Site

Aug 22, 2011

Any script that adds a "move to top" box for our .php site similar to the one we have on our blog site: [URL]

View 5 Replies View Related

Site Not Working In IE/Win

Jul 11, 2006

My site does not work in IE/Win

I really don't know where to look for the problem because it works in all other browsers.

Any ideas... I've looked at all the css and html and can't find a fault, so I can only guess it's the javascript????

View 1 Replies View Related

Launching Another Site Via A Pop Up

Apr 7, 2004

im launching a new site that is the same topic as another site i have

i want to launch the new site as a pop up or pop under from the established site.

What code would i use to generate it so that this only happens per unique visitor and not per page impressions.

View 3 Replies View Related

Blur Whole Site Except One Div?

Apr 21, 2009

I wondered if there was a way to blur my whole site except a popup-div when a link is clicked - just like lightbox fades out the page, just with a blur effect instead:[url]...

View 2 Replies View Related

Can't See Assign Site

Dec 5, 2010

[code]...

i want to see if i click Google button

View 8 Replies View Related

Add Stopwatch To Site

Jun 7, 2011

I want to add stopwatch to my site.Any free JavaScript please share here.

View 5 Replies View Related

Editing HTML From Within A Web Site

Jul 23, 2005

There are times that I am using another person's computer who has no
knowledge of updating HTML and does not even know if he has the
necessary programs to do the FTP.

I may see a minor problem with my site and would like to change it on
the fly. What I would like to know are the answers to the following
questions.

1. Is there any way to display unformated HTML within a web page
without using the browsers source facility?

2. Is there a way to modify it? Maybe showing it in a form textarea.

3. Is there a way for javascript or a form to do an FTP back to the web
site? This would obviously require id and password.

View 3 Replies View Related

Keeping A Menubar On Top Of The Site

Jul 23, 2005

I was trying to "pin" a menubar to the top of a site. It should allways stay on its absolute position. Especially when the user scrolls the page...

I did like this:

<div id="object1" style="position:absolute; visibility:left:50px;
top:50px"> MENU </div>

called from a timer:

document.object1.style.top=50;
OR
window.document.object1.style.top=50;
OR
document.object1.top=50;
OR
window.document.object1.top=50;

none of them worked...now what?

View 4 Replies View Related

Javascript Site Scanner?

Oct 27, 2005

Is there any program out there that can scan a website for javascript errors? Just trying to fix some EXTREMELY minor problems on a very large (20,000 pages) web site...

View 1 Replies View Related

PCName From Users Who Get On Site

May 18, 2006

Is it possible with javascript to retrieve somebody's Computer name when he
connects to a webserver? (So the webserver receives the computername of the
client).

View 6 Replies View Related

How To Detect Navigating Away From A Site

Jun 19, 2006

I have a web application that has basic authentication turned on (IIS).
What I would like to accomplish is detect whether user is navigating
away from the site or simply going to the different page using
JavaScript. I am aware that it is easy to detect where you came from
(referrer), but I haven't been able to find a way to where you're going
to. I did my fair amount of research online, but I couldn't find a
solution for this.

However, my boss told me that he has seen a website that detects the
fact that you're navigating away from your site. Does anyone know
anything about this?

View 7 Replies View Related

How To Display Other Site Contents

Sep 6, 2007

how to display other website contents using javascript aside from iframe?

View 3 Replies View Related

Add Site To Trusted Sites

Jul 20, 2005

The next step after Grant Wagner's simple solution to my "Get computer name" thread, is to automatically add the web application's site to the list of trusted sites in IE.

Obviously, the user should get a popup first that says "Do you want to add this site?"

I've looked through the Wscript doco in MSDN, but can't find a way of manipulating this browser setting.

I'd expect it to be something like "setHomePage" - namely "addTrustedSite".

Is it possible?

View 12 Replies View Related

JQuery :: Is UI Section Of Site Down?

Jul 1, 2009

Is the UI section of the site down? I have a few websites that link to it and they're all taking forever to load, seemingly hanging when "waiting for ui.jquery.com..."

View 3 Replies View Related

Displaying Content From One Site On Another

Sep 24, 2009

You've all seen it before banner codes/rss feed displayers/twitter feeds/etc. All you do is copy and paste a <script src="[URL]"></script> somewhere on your website and it retrieves the html from the remote server and displays it on your site. I have a back end php page that pulls the required information from my DB based off a userid passed to it i.e.:
mywebserver.com/display.php?id=xxxx
Is the javascript just a simple ajax call to my php page passing straight on the userid passed to it or is there something more complex to it? I was always under the impression you couldn't do remote ajax calls to a page on a different server, which if I get this right a script off my server included on another domain becomes a member script of that domain and not my own?

View 17 Replies View Related

Site Slow In IE7 - Speed It Up?

Apr 6, 2010

I've got the following site that loads great in FF and Chrome (no surprise), but is terribly slow in IE7. It's even quick in IE6, but not 7. Here's the site code...

Now I'm using JQuery in a couple places, but it's by no means nothing crazy. The page is fairly simple.

I thought of preloading the main content images, but even after they are loaded in the cycle, the loading time is still slow.

View 10 Replies View Related

How To Play Music On A Site?

Jun 22, 2010

this site [URL] plays music when you are there.

how do they do it?

View 1 Replies View Related

Allow Facebook Comments On Site?

Jan 31, 2011

I have been working on this for four hours and none of the methods online have worked. Every site has outdated screenshots and I have nowhere else to turn. There's supposedly just a couple of lines of code and "3 easy steps" to allow me to have a Facebook comment box on any page of my site. I DO NOT use Wordpress or any blogging software / sites. I am working from scratch in Dreamweaver.

View 5 Replies View Related







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