473,516 Members | 2,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript and Vista

Hello,
I'm lost.
Can some one go to the following site and click on the right-hand menu
option named, Geneology.
It is a Javascript link and will NOT do anything when my friend (who
is running Vista) clicks on it.

http://home.ptd.net/~ajs10

I'm not a Vista users and am not sure what I need to do to get it to
function under his Operating System.
Can you tell me if it functions for you Vista folks and, if so, what
settings I have tell my friend to make on his system (and or Browser -
IE7) to get it to work.
Thank you.
Jan 23 '08 #1
7 1491
On Jan 23, 12:26 pm, Omicron <Omicron...@gmail.comwrote:
Hello,
I'm lost.
Can some one go to the following site and click on the right-hand menu
option named, Geneology.
Sure.
It is a Javascript link and will NOT do anything when my friend (who
is running Vista) clicks on it.
Doesn't do anything for me either, I use Firefox with the NoScript add-
on. :-)

>
http://home.ptd.net/~ajs10

I'm not a Vista users and am not sure what I need to do to get it to
function under his Operating System.
Can you tell me if it functions for you Vista folks and, if so, what
settings I have tell my friend to make on his system (and or Browser -
IE7) to get it to work.
There are a number of reasons why it may not work, the obvious being
that javascript is disabled (IE calls it "active scripting" which bars
all scripts, not just javascript).

It may also be because you have HTML comment delimiters in your script
element. Browsers will tolerate an opening <!-- as the very first non-
whitespace characters in a script element, but not later.

But there is absolutely no reason to use them at all, particularly if
you think you are using XHTML. Remove *all* HTML comment delimiters
from your script. It is also a good idea to put all script resources
in an external file.

I'd also suggest that you change the link from:

<A HREF="javascript:Check()">Geneology</A></li>

to:

<a href="usefulPage.html" onclick="return Check();">Geneology</a>
The Check() function should probably always return false. Users with
javascript disabled will go to the usefulPage.html, which should have
advice that javascript must be enabled and maybe how to do it.

Incidentally, your DOCTYPE is XHTML 1.0 Strict, yet:

1. Your page isn't valid XHTML 1.0

2. You are serving it as text/HTML, which is just as well
given 1. above

3. IE doesn't understand XML, so even if you fix 1 and 2,
about 70% of visitors won't be able to user your site

--
Rob
Jan 23 '08 #2
On Jan 22, 10:06 pm, RobG <rg...@iinet.net.auwrote:
On Jan 23, 12:26 pm, Omicron <Omicron...@gmail.comwrote:
Hello,
I'm lost.
Can some one go to the following site and click on the right-hand menu
option named, Geneology.

Sure.
It is a Javascript link and will NOT do anything when my friend (who
is running Vista) clicks on it.

Doesn't do anything for me either, I use Firefox with the NoScript add-
on. :-)
http://home.ptd.net/~ajs10
I'm not a Vista users and am not sure what I need to do to get it to
function under his Operating System.
Can you tell me if it functions for you Vista folks and, if so, what
settings I have tell my friend to make on his system (and or Browser -
IE7) to get it to work.

There are a number of reasons why it may not work, the obvious being
that javascript is disabled (IE calls it "active scripting" which bars
all scripts, not just javascript).

It may also be because you have HTML comment delimiters in your script
element. Browsers will tolerate an opening <!-- as the very first non-
whitespace characters in a script element, but not later.

But there is absolutely no reason to use them at all, particularly if
you think you are using XHTML. Remove *all* HTML comment delimiters
from your script. It is also a good idea to put all script resources
in an external file.

I'd also suggest that you change the link from:

<A HREF="javascript:Check()">Geneology</A></li>

to:

<a href="usefulPage.html" onclick="return Check();">Geneology</a>

The Check() function should probably always return false. Users with
javascript disabled will go to the usefulPage.html, which should have
advice that javascript must be enabled and maybe how to do it.

Incidentally, your DOCTYPE is XHTML 1.0 Strict, yet:

1. Your page isn't valid XHTML 1.0

2. You are serving it as text/HTML, which is just as well
given 1. above

3. IE doesn't understand XML, so even if you fix 1 and 2,
about 70% of visitors won't be able to user your site

--
Rob
Thanks Rob.
Lots of good suggestions.
I've gotten it to work by lowering the Security setting in IE7.
Basically set it up the way I've used XP for many years.
As for the code, well....yeah!
I threw it together but I should have known better than to use such a
mess for a test!
I've already cleaned it up some.
Thanks again.
Jan 23 '08 #3
RobG wrote:
I use Firefox with the NoScript add-on. :-)
Rob
Just curious .... Why ?

I'd never turn script off on a browser I use for my regular surfing, I
want to see the web how it's meant to be (seen by a major browser that
hasn't been crippled). Sure we all disable scripting as part of a QA
test suite, but not for our regular use.
Jan 23 '08 #4
On Jan 23, 6:27*pm, Stevo <ple...@spam-me.comwrote:
RobG wrote:
I use Firefox with the NoScript add-on. :-)
Rob

Just curious .... Why ?
I helps to cut down on the amount of annoying crap. I also use
Addblock and Flashblock, it makes the web a much nicer place to visit.

I'd never turn script off on a browser I use for my regular surfing, I
want to see the web how it's meant to be (seen by a major browser that
hasn't been crippled). Sure we all disable scripting as part of a QA
test suite, but not for our regular use.
NoScript lets me select which sites can run scripts - urchintracker,
googlesyndication et al are not allowed at all. I also think it's
good to keep up the number of browsers running sans scripting to
remind web developers not to make their sites totally dependent on
scripting.
--
Rob

Jan 23 '08 #5
RobG wrote:
On Jan 23, 6:27 pm, Stevo <ple...@spam-me.comwrote:
>RobG wrote:
>>I use Firefox with the NoScript add-on. :-)
Rob
Just curious .... Why ?

NoScript lets me select which sites can run scripts - urchintracker,
googlesyndication et al are not allowed at all. I also think it's
good to keep up the number of browsers running sans scripting to
remind web developers not to make their sites totally dependent on
scripting.
Makes sense. I think I might install it, although I'd set it to allow
scripting by default, and only disable it on specific sites.
Jan 23 '08 #6
In comp.lang.javascript message <fn*************@news.t-online.com>,
Thu, 24 Jan 2008 06:41:50, Stevo <pl****@spam-me.composted:
>
So how is that opinion connected to my not wanting to publicly announce
my real name and real email address on a public searchable forum for
all spammers to see and add to their spam list? I already get enough
spam, don't we all, and see no reason to add to it.
On a technical group, you should be prepared to use your normal name,
the one you would expect to be introduced by in civil life.

You should also enable a normal person to E-mail you.

There is, contrary to the brutalist view, no need to put your own E-mail
address in a form convenient to spammers (though it's some while since
I've seen a significant amount of spam aimed at a recently-used Reply-To
address).

But any address that you publish should be one that you have a right, or
permission, to use, whether to receive mail or as a spam-dump.

You should not use any other address that might belong to anyone else,
currently or in the future; that is wildly inconsiderate, and contrary
to the policy of the better ISPs. Neither should you use a domain
without authority to do so; domain owners may not want to handle your
spam.

"spam-me.com" exists, though it is in need of renewal - therefore, even
if you have permission to use it, that may not last. You could consider
buying it.

Remember not to argue with the local sociological defective; it is a
waste of public resources. A single refutation suffices.

--
(c) John Stockton, Surrey, UK. replyYYWW merlyn demon co uk Turnpike 6.05.
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html-Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm: about usage of News.
No Encoding. Quotes precede replies. Snip well. Write clearly. Mail no News.
Jan 24 '08 #7
On Jan 25, 3:37 am, Randy Webb <HikksNotAtH...@aol.comwrote:
<quote>
Date: 1998/12/08 02:34:45
Copyright ©1998Matt Curtin, All Rights Reserved
</quote>

Yeah, that is outdated.
Nonsense. The fundamental issues that were true then are true now.
Mechanisms for spam delivery have evolved quite a bit since then, as
have spam detection and management.

Munging, in fact, is what's outdated.

Jan 26 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2674
by: salad | last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007 beta, I downloaded it. After I DL'd it, I got an invitation from MS to get WinVista. I am now wondering if, since both are betas, it is best to buy a new computer? My current computer setup is a Pentium 4, 1 gig memory, 2.66 ghz, 60-80 gig disk drive. MS's...
13
3007
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all "people-ready" etc... I asked a couple of questions about Visual Studio.NET on Vista, especially on 64-bit Vista, and they became *very* nervous... To...
56
3583
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell me this is a joke. It must be a joke....because I also have read that VS2002 and VS2003 will not be supported on Vista. This clearly violates...
6
4261
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: - Windows Vista Home Basic - Windows Vista Business
19
2233
by: =?Utf-8?B?TWlrZTk5MDA=?= | last post by:
When there is a shortcut of our app on the desctop, the app is not run until all the security in control panel of win vista is cleared. What to do to not have this problem. We do not want to tell the customers to do this. -- Mike
43
2344
by: Bill H | last post by:
25 years ago every computer came with some form of Basic interpreter so you could use yoru computer without having to buy more software. Is Javascript (teamed with HTML) set to become the new Basic, where anyone with a computer can start writing code without having to purchase any expensive languages? Bill H
2
1706
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of problems will I have installing and running my VB6 app under Vista? If I develop VB2005 apps under XP, what kinds of problems will I have
11
1903
by: idoublepress | last post by:
Hi all, I've been struggling with an issue that I hope you can comment on or provide suggestions to. Our .NET 2.0 (VS2005) based product is crashing (when the user selects a particular feature on the UI) on Vista. It works fine on XP. In a nutshell: - user makes a selection on the UI - System.Reflection.MethodInfo.Invoke() calls into...
84
3876
by: Patient Guy | last post by:
Which is the better approach in working with Javascript? 1. Server side processing: Web server gets form input, runs it into the Javascript module, and PHP collects the output for document prep. 2. Client side processing: Web server gets form input and passes it to PHP which includes the Javascript written in a way to make the form input...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7581
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7548
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5714
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4773
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
825
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.