DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate

DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate (http://www.discussworldissues.com/forums/index.php)
-   General Discussion (http://www.discussworldissues.com/forums/forumdisplay.php?f=27)
-   -   Little Java Script help? (http://www.discussworldissues.com/forums/showthread.php?t=230617)

Beriilosal 09-19-2010 02:09 PM

Little Java Script help?
 
So ok this has been bugging me for a little bit now. Just curious if someone on here can pin point what I'm doing wrong.. Like how the bottom half doesn't seem to communicate with the top half. Assigning functions to my buttons

If you could take a look please with a bit of an explanation I'd greatly appreciate it. Just trying to better understand this..











To Do List


New Task








Tasks

Amerworma 09-19-2010 06:46 PM

I have to run right now, so I don't have time to explain this in detail, but I will later on today. In the meantime, here's a rough sample of what you're looking to do.

Code:
Code:

            To Do List

                  New Task:
        Importance Level:              Highest            High            Medium            Low            Lowest       

       


                Tasks


Amerworma 09-19-2010 11:03 PM

Alright, so I added some comments in the code to explain a bit more step by step of what's going on.

Code:
Code:

            To Do List

                  New Task:
        Importance Level:              Highest            High            Medium            Low            Lowest       

       


                Tasks

The code you posted is a bit of a mess, keeping it organized and clean is very importance. I noticed things like unclosed
tags, before , etc.

Now the importance sorting can be adjusted as needed, I only batched up something to show you what it can be like. You can make it go descending, more than 5 levels, sort alphabetically, etc.

The code above can be optimized a bit further, I rushed it a bit due to having an appointment, but should be pretty clear.

LMK if you have questions.

Beriilosal 09-20-2010 06:04 AM

Hey, thanks a lot it helped a ton.


All times are GMT +1. The time now is 11:06 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2