Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Seamless 'next page' loader (HTML5) problems...
Old 07-09-2011, 07:57 AM Seamless 'next page' loader (HTML5) problems...
offsmack's Avatar
Junior Talker

Posts: 3
Trades: 0
I'm not sure what the correct term for this(!) - but the new feature that seems to have popped up on all major websites is that when you are scrolling down when you get to the bottom of the page the next page loads automatically. I would call it "seamless paging", but not sure what the true term is... but anyways, you know what I mean.....

...my issue is this:

When you scroll and the next page loads up, for some odd reason all the javascript is disabled on the new page... I'm not sure if this is a problem for just myself, or whether others are having issues - I use FFox 5 - but I have IE 8 and the same problem occurs in this too.

Does anyone have an explanation for this, or could someone possibly shed some further light on this ? Many thanks!
__________________

Please login or register to view this content. Registration is FREE

tick tock boom
offsmack is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-09-2011, 09:05 AM Re: Seamless 'next page' loader (HTML5) problems...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I would call it "seamless paging", but not sure what the true term is... but anyways, you know what I mean....
Not necessarily.

Quote:
When you scroll and the next page loads up, for some odd reason all the javascript is disabled on the new page... I'm not sure if this is a problem for just myself, or whether others are having issues - I use FFox 5 - but I have IE 8 and the same problem occurs in this too.
And do we get to see this problem so we can at least try to debug it?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-09-2011, 12:54 PM Re: Seamless 'next page' loader (HTML5) problems...
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
As Chris stated, there's not much we can do without any kind of information, like a link to the page.

My guess is that you have some kind of events on certain elements, that isn't triggered on the elements of the newly loaded content? I only recently noticed (althoug it has been there for some time) that the javascript library jQuery has a binding function called delegate() which allows you to bind event handlers to current and future elements. It basically means that the handler will also be bound to any element that may be loaded at a later time. You might wanna look into it.

If you're using some other library I'm sure it has some similar functionality.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is online now
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 07-09-2011, 06:13 PM Re: Seamless 'next page' loader (HTML5) problems...
offsmack's Avatar
Junior Talker

Posts: 3
Trades: 0
for example.... if you scroll to the bottom of any thread longer than 2 pages on EVEN THIS WEBSITE a little box in the bottom right will say "loading next page", then after a sceond or so you can just simply keep scrolling down to read the next page, as opposed to clicking a link to the next page (as was the case before this rule can into existence) - what is the correct term for this type of 'seamless scrolling' ?

Anyway, when I get to the following page by using this method
-by scrolling, for some reason all the javascript is disabled on this next page. Why is this happening ?
__________________

Please login or register to view this content. Registration is FREE

tick tock boom
offsmack is offline
Reply With Quote
View Public Profile
 
Old 07-11-2011, 12:32 PM Re: Seamless 'next page' loader (HTML5) problems...
Super Spam Talker

Posts: 879
Name: Paul W
Trades: 0
Perhaps the usability god has intervened.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is online now
Reply With Quote
View Public Profile
 
Old 07-11-2011, 03:36 PM Re: Seamless 'next page' loader (HTML5) problems...
offsmack's Avatar
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by PaulW View Post
Perhaps the usability god has intervened.
....huh ?

....this 'scroll to next page' script has been around for a while, it's even in place on THIS site... go to any thread longer than 2 pages, scroll down to the bottom and you can get to the following page simply by scrolling.

But, again, on the following page, javascript is disabled... why is this ?
__________________

Please login or register to view this content. Registration is FREE

tick tock boom
offsmack is offline
Reply With Quote
View Public Profile
 
Old 07-11-2011, 05:18 PM Re: Seamless 'next page' loader (HTML5) problems...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by offsmack View Post
....huh ?

....this 'scroll to next page' script has been around for a while, it's even in place on THIS site... go to any thread longer than 2 pages, scroll down to the bottom and you can get to the following page simply by scrolling.

But, again, on the following page, javascript is disabled... why is this ?
Huh?? Not in any browser I've ever used here.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-12-2011, 05:29 AM Re: Seamless 'next page' loader (HTML5) problems...
Super Spam Talker

Posts: 879
Name: Paul W
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Huh?? Not in any browser I've ever used here.
onsmack?

Re usability - can anyone seriously think this is a desirable behaviour?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is online now
Reply With Quote
View Public Profile
 
Old 07-13-2011, 04:16 AM Re: Seamless 'next page' loader (HTML5) problems...
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I know what feature you're talking about. I do not know what it is called though. But again, it is probably some event you have registered on page load which of course does not affect elements that has not yet been loaded.

If we stop the discussion of what the effect is called, perhaps you'd like to get back to solving the issue? It would help if you gave us some information. What script is it that doesn't work on the loaded page? Again, a link would help.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is online now
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 07-13-2011, 04:35 AM Re: Seamless 'next page' loader (HTML5) problems...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
My guess is that the OP had some kind of "accelerator" browser plugin/extension that preloaded "next page" links, and it has been disabled in the upgrade to Firefox 5.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-13-2011, 04:38 AM Re: Seamless 'next page' loader (HTML5) problems...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Possibly this one

after a quick bit of "Googling".
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-14-2011, 06:09 PM Re: Seamless 'next page' loader (HTML5) problems...
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
The Google Image Search has this feature
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Seamless 'next page' loader (HTML5) problems...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.86916 seconds with 12 queries