Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15676 > unrolled thread

js requests multiplying by two

Started byadmin@mattharris.org
First post2012-09-03 18:58 -0700
Last post2012-09-04 08:49 -0700
Articles 4 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  js requests multiplying by two admin@mattharris.org - 2012-09-03 18:58 -0700
    Re: js requests multiplying by two admin@mattharris.org - 2012-09-03 22:26 -0700
      Re: js requests multiplying by two David Mark <dmark.cinsoft@gmail.com> - 2012-09-04 05:57 -0700
      Re: js requests multiplying by two Gene Wirchenko <genew@ocis.net> - 2012-09-04 08:49 -0700

#15676 — js requests multiplying by two

Fromadmin@mattharris.org
Date2012-09-03 18:58 -0700
Subjectjs requests multiplying by two
Message-ID<d1479796-7d86-4681-b022-e6c09a513062@googlegroups.com>
Hey all,

This is probably something I am doing really stupid but I have a pretty simple website and what I would identify as a pretty easy issue.

I have content files all of which load the same external js file so when the file is loaded into a div the external js file will load and do a window.scrollTop

However each time I click a link it multiplies the request. What am I doing wrong?

[toc] | [next] | [standalone]


#15678

Fromadmin@mattharris.org
Date2012-09-03 22:26 -0700
Message-ID<12bc3b87-89cc-4fb4-915d-dc2296c14eee@googlegroups.com>
In reply to#15676
Well why would i get angry if i didnt give enough info lol.

So i have a nav tag with a list of links like:

<a href="content/index.html" class="link">A link</a>

you know what nvm i figured it out... lol

[toc] | [prev] | [next] | [standalone]


#15689

FromDavid Mark <dmark.cinsoft@gmail.com>
Date2012-09-04 05:57 -0700
Message-ID<6917e266-da22-4871-904c-65bcb1809388@z8g2000yql.googlegroups.com>
In reply to#15678
On Sep 4, 1:26 am, ad...@mattharris.org wrote:
> Well why would i get angry if i didnt give enough info lol.

Good question. I've never understood that behavior either.

>
> So i have a nav tag with a list of links like:
>
> <a href="content/index.html" class="link">A link</a>
>
> you know what nvm i figured it out... lol

Good for you then. :)

[toc] | [prev] | [next] | [standalone]


#15692

FromGene Wirchenko <genew@ocis.net>
Date2012-09-04 08:49 -0700
Message-ID<dl8c4851u6iidf8thhdevkmipibssvahaj@4ax.com>
In reply to#15678
On Mon, 3 Sep 2012 22:26:41 -0700 (PDT), admin@mattharris.org wrote:

>Well why would i get angry if i didnt give enough info lol.
>
>So i have a nav tag with a list of links like:
>
><a href="content/index.html" class="link">A link</a>
>
>you know what nvm i figured it out... lol

     Good for you.  How about posting what you did to resolve the
problem?  Someone else may find it useful.  Yes, even if it was
something "stupid"; sometimes, these things are not obvious.  I have
confessed to "stupidity" many a time.

Sincerely,

Gene Wirchenko

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web