Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Hello, I want to learn just one thing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AHMEDHHH1
Junior Member

Egypt
105 Posts

Posted - 17 June 2011 :  10:20:08  Show Profile  Reply with Quote
Hello,

I want to learn just one thing

.how to make one of the options work without refreshing the page

For instance, when adding a quick reply, it appears directly when

.I am in the subject without refreshing the page

I want to learn this because I want to make many options work without

refreshing the page such as fixing the subjest and locking it, and locking

the form and opening it as well as many many things

DO NOT POST LINKS WHICH HAVE NO RELEVANCE TO THE FORUM OR YOUR QUESTION

Edited by - AHMEDHHH1 on 17 June 2011 11:08:03

AnonJr
Moderator

United States
5768 Posts

Posted - 17 June 2011 :  11:23:44  Show Profile  Visit AnonJr's Homepage  Reply with Quote
What you are describing is commonly done with AJAX. There are some ASP AJAX libraries out there to make the learning curve a little easier (Google/Bing/whatever and you will find several options). The forum is not set up with this in mind, and I'm not the biggest AJAX fan in the world.

For starters, you are still depending on the client having JavaScript turned on (which it usually is, but not always - NoScript is rather popular these days). So you'll need to make sure you either have a fallback option or decide that they are not worth the traffic. Only you can decide which applies to you.

That's not even getting into what versions of what browsers will run a given chunk of code...

Also, many of the libraries break the back button - a huge disadvantage. A lot of people will assume your site is broken and leave if the back button doesn't work.

For me, adding the "cool factor" has not been worth the extra work. At my job, the people that remote in can't run JavaScript - kills the whole option for a sizable percentage of the people that need to run the site.

On my side projects, I still get enough traffic from older browsers and browsers with JavaScript turned off that it's not a good value propisition. It will take too much time for me to make it work right.

For you, only you can decide if it is worth your time and effort.
Go to Top of Page

AHMEDHHH1
Junior Member

Egypt
105 Posts

Posted - 18 June 2011 :  07:32:30  Show Profile  Reply with Quote
yes you're right it takes a lot of time to learn and i do not have enough time for the time being, maybe
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07