Mark Of The Web Woes
Jul 23, 2005
I've started testing on Win XP SP2 and it now has something called local machine lockdown activated by default. It means that active content,
such as JavaScript, is prevented from running.
I thought that the solution was simply - to enable the testing of files locally - to just add what M$ calls the "mark of the web". So I added
this line to the tops of my HTML pages:
<!-- saved from url=(0013)about:internet -->
However, the local links in the files, such as to external JavaScript files, do not work because (I believe) the HTML files are now treated as an internet zone and not a local zone file.
Without deactivating the lockdown is there a way to get a bunch of inter-linked files to work locally, or is it just my lack of understanding of what's going on that's at fault?
View 16 Replies
ADVERTISEMENT
Oct 23, 2007
Just another quick question:
Code:
function calc(value, rate)
{
setTimeout("calc(value, rate)", 1000);
}
In FireFox error console it says that "value" and "rate" are not defined. But they are?
View 3 Replies
View Related
Oct 3, 2003
I have done something that works perfectly in IE, but doesn't work at all in Netscape.
I have a page of thumbnail images (Page A). When each thumbnail is clicked on, a small 300x 300 pop up (Page B) appears with a larger "preview." The preview image that appears in the small pop-up is dynamically created with the onClick/ image swapping method. (In other words, when a user clicks on a thumbnail on Page A, it swaps a transparent gif I have placed on Page B with the preview image).
Now I've tested this on IE and it works perfectly. But in Netscape, not only does the image swap not occur (no preview image appears), but the height and width attributes I've designated for the pop up are ignored (the pop up is full screen instead of 300x300).
View 8 Replies
View Related
Sep 27, 2011
I have a Javascript array object like this:
[0][0] - 32[1] - 13[2] - 26[1][0] - 8[1] - 17[2] - 4[2][0] - 10[1] - 30[2] - 22...etc
and what I want to end up is with an array with the sum of the [0], [1] and [2] values, so for instance with this example, I want an array returned like this:
[50, 60, 52] i.e. this is [(32+8+10), (13+17+30), (26+4+22)]
My real problem with this is that the "inner array" can be any number of (its dynamic), so in my example its just 3 values but it could be for example 5 values e.g.:
[0][0] - 32[1] - 13[2] - 26[3] - 16[4] - 6etc
View 10 Replies
View Related
Jul 7, 2006
If I type http://domain.com/product/5 into my browser I will see the
product details in the main div plus a side bar div containing links to
other products. This side bar is common to all product views. I click a
sidebar link to product 6 and an ajax request updates the main cell
with the product 6 information. My location bar will still say
/product/5. If I refresh the browser I will see product 5. If I
bookmark the page it will be for product 5. If I click the back button
I will go to the page I saw before product 5. I know none of these
problems with AJAX are new. Why is it that JavaScript can't tell the
browser "Now you are looking at http://domain.com/product/6"? Is there
a security risk? Is this just something not yet implemented?
View 4 Replies
View Related
Dec 5, 2009
suppose that a web page has a mark "M". For example,when a user open the web page If the mark "M" is printed in the position of height 300px from the top of the browser and width 500px from the left of the browser, I like to get the height value 300px and width value 500px. Let's call them X position and Y position.Can I get the X position and Y position of the mark "M" in javascript just after the mark "M" is printed.
View 22 Replies
View Related
Nov 7, 2003
I'm listing a query as HTML from a database. I'd like to enable a checkbox at runtime.
That is... When I find a field=1 I want to have it selected. If 0 deselected. Is it possible right with HTML or do I need Javascript? In both cases, how can I do this?
View 3 Replies
View Related
May 3, 2006
which of the following two codes is correct and where is the correct notation standardized:
a) alert("Hello World");
b) alert('Hello World');
View 4 Replies
View Related
Apr 14, 2011
how do I write a quotation mark (") in javascript?
View 2 Replies
View Related
Jul 23, 2005
I'm working on a JSP application, and wish to define a text-field so
that it becomes marked (highligted) when it obtains focus.
I've tried giving the text-field a value when it obtains focus, but
the value is not marked. So if i wish to alter the value, I have to
manually delete the given 'onFocus' value before I set a new value.
<INPUT TYPE=TEXT NAME=test size=30 want this
to be highlighted!'">
I'm missing something to highlight the text-field text in the code
above.
View 1 Replies
View Related
May 15, 2009
I am looking for a plugin for jQuery to mark areas on image and select a friend like you can do it in some social networks to mark your friends on fotos!
View 1 Replies
View Related
Aug 26, 2010
Looking to return true if a question mark (?) exists in a given string.I was thinking of something like the following, but it obviously doesn't work.
alert('/?'.test('my?string'));
View 1 Replies
View Related
Feb 1, 2011
We all know AC_OETags.js.URL like: [URL]How to make flash detection in variable with valu true or false if it is (not) detected to use in PHP applications?
View 5 Replies
View Related
Jul 24, 2010
I have done how to find out co ordinate(x and y axis) of a point on an image where a user clicks. But I need the opposite thing now. I need to mark a point on an image when a user gives suitable x axis and y axis co ordinate as input, how can i do this with java script?
View 2 Replies
View Related
Apr 20, 2010
I am basically trying to enter a name along with a mark and store this in a javascript cookie. From this I want to create the mean and graph for up to 100 results.This is the code:
<html>
<head>
<title>Class Marks Calculator</title>[code]....
I have been working on this for hours and do not understand where I am going wrong.
View 5 Replies
View Related
Jun 26, 2010
disable select until user puts mark in check box. Then enable select.I have two select box's on a page. The first asks what product, the second is based on the first and presents a list of pdf's according to which product the user selected. (yes, multi dimensional)What I have works fine, but now i need to make the user put a check mark in a check box before the First SELECT box becomes enabled/available.So basically, when they agree, they can get the download.Here are my select boxes.
HTML Code:
<form>
<select name="category" style="width:180px"></select>
<select name="site" style="width:180px" onchange="openLink(this.value)"></select>[code]....
(ignore the The 'open' button. It's there in case the default option is what the user wants, so they don't have reselect via the select box.)
1. How do I disable the select boxes by default on page load?
2. How do I detect that the user has put a tick in and the enable the disabled Select box?
View 6 Replies
View Related
Dec 2, 2010
I've a in a simple webpage. When this checkbox is enabled or checked orclicked I need to add some dinamically DOM content. I been playing with this code:
$("#int_code").click(function(){
$(this).after("tetete")
});
It's very simple and works but not like I want. Every time I click the checkbox or mark I get the text "tetete" after #int_code element. This is fine but I want when the checkbox is checked the content is added if is unchecked the content is gone. I have in mind this $("#int_code").is(':checked')
View 15 Replies
View Related