It looks like you're using an Ad Blocker.

Please white-list or disable AboveTopSecret.com in your ad-blocking tool.

Thank you.

 

Some features of ATS will be disabled while you continue to use an ad-blocker.

 

Javascript Integration?

page: 1
1

log in

join
share:

posted on Oct, 7 2012 @ 04:16 PM
link   
This is one that's been bugging me for a while now: why aren't stars and flags handled in a Javascript-based system? So instead of clicking a link to give a star/flag and reloading the page, we could just press the button and have them appear in real-time. It'd be a lot less annoying for those of us who don't like to navigate through a ton of back button clicking to get back to the subforum page. Is this coming in the redesign, or what?



posted on Oct, 10 2012 @ 03:38 PM
link   
Excellent question and idea. I can't count how many times I have started a video and let it buffer only to have to restart it because I starred a post while it was buffering.



posted on Oct, 10 2012 @ 03:44 PM
link   
Probably because it would require the use of AJAX which would in turn slow everything else down.

Some type of dynamic update is indeed a good idea, maybe HtmL 5 can handle this?



posted on Oct, 10 2012 @ 08:48 PM
link   
reply to post by Alxandro
 


I just suggested Javascript because I know literally nothing about HTML5. Plus I've only ever seen that done with Java, since HTML5 is new.



posted on Oct, 10 2012 @ 09:24 PM
link   
reply to post by ShadeWolf
 


I understand, AJAX actually relies on JavaScript and XML to do its thing behind the scenes while the page is already loaded.
Many other sites are using this form of dynamic update but they keep their pages plain and basic.
I think YouTube allows you to post while a video is playing.

I would think ATS pages are way too busy, given the many available features found on just about every inch of any given page, to lend itself well to AJAX.



posted on Oct, 11 2012 @ 09:17 AM
link   
I am just learning _javascript, so I don't understand why Ajax would be required.



posted on Oct, 11 2012 @ 10:26 AM
link   
I'm sure there is someone here that can explain this a lot better than I, especially since I toyed with it a bit a few years ago, but it basically maintains a connection to the web server after the page has loaded and updates certain areas or objects dynamically as they change.

Kinda like a quick refresh of a certain area within the page, without having to constantly reload the entire page.

Just like when you navigate, pan and zoom using Google maps.
The page URL stays put, but the main map window area is constantly getting refreshed behind the scenes.



posted on Oct, 12 2012 @ 12:23 PM
link   
reply to post by Alxandro
 
I understand, thanks.




top topics



 
1

log in

join