JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 15th, 2004, 03:42 PM
jacktasia jacktasia is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2004
Location: Lawrence, Kansas [KU]
Posts: 1,559 jacktasia User rank is Corporal (100 - 500 Reputation Level)jacktasia User rank is Corporal (100 - 500 Reputation Level)jacktasia User rank is Corporal (100 - 500 Reputation Level)jacktasia User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 14 h 10 m 18 sec
Reputation Power: 14
Send a message via AIM to jacktasia
Exclamation HOW TO POST A QUESTION - READ New Users

The javascript forum needed its own "READ FIRST" sticky...for all the new members whose first post is here. Please Read This In Full. This is almost an exact port from JeffCT's wonderful PHP verison. I only added some stuff, most of his is quoted at the bottom.

<edit>
javascript is NOT java!!! please read below to be informed.

define javascript
</edit>


1. SEARCH FIRST!
The odds are that your problem has been addressed multiple times before, so try searching first. Heck, it makes sense: you get your answer faster, and you save everyone's time.

FORUMS BUILD IN SEARCH
USE GOOGLE TO SEARCH ONLY DevShed FORUMS

Most of your questions will probably be answered using one of those.


2. USE CODE OR HIGHLIGHT= TAGS!
I can't even say in human words how important it is to use the CODE or HIGHLIGHT= tags. Not only does it set your code apart from your normal post, but it also helps keep your FORMATTING, so we can all see your indentations...which of course, make it much easer to understand your code....

EXAMPLE

THIS:

[CODE]
for (var i=1;i<=10;i++) {
window.alert(i + '/10');
}
[/CODE]

becomes this:
Code:
for (var i=1;i<=10;i++) {
	window.alert(i + '/10');
}
AND THIS:

[HIGHLIGHT=javascript]
for (var i=1;i<=10;i++) {
window.alert(i + '/10');
}
[/HIGHLIGHT]

becomes this:
javascript Code:
Original - javascript Code
  1.  
  2. for (var i=1;i<=10;i++) {
  3.     window.alert(i + '/10');
  4. }


3. MEANINGFUL THREAD/TOPIC TITLES

This is simple: just describe your problem as specifically as you can.

Here's a great list of topic subjects YOU SHOULD NOT POST by freebsd:

1) Help me
2) Hello
3) You must know the answer
4) Please help this female newbie
5) Something wrong
6) Come on PHP gurus
7) This one for you
8) Just wondering
9) This is too complicated for me
10) possible?
11) Very urgent
12) I have a question
13) Stupid question
14) Newbie needs help
15) pulling my hair out
16) this is driving me nuts


4. Miscellaneous Items (although not less important)

A. Don't Submit right away. Preview Your Post.
B. You CAN edit your posts. (don't over do it though, don't wildly change them. This is mainly for spelling/grammar etc. Anything else just make a new post in that thread.
C. DON'T BRING UP OLD THREADS! just because it's remotely related to your problem. Start a new one.
D. there must be more....

Other Things You MUST Keep In Mind

I couldn't put this in better words myself...so a direct quote:
Quote:
Originally Posted by JeffCT
ONLY YOU KNOW WHAT "DOESN'T WORK" MEANS
Please tell us what your script is supposed to do and why it "doesn't work". Or if you don't feel like explaining what the whole script is, at least tell us what the offending code is supposed to do. When you come in and say "it doesn't work" or just "it has errors", that means nothing. There could be a million things wrong and no one will know where to look.

IF YOU ARE NOT GOING TO TAKE ADVICE, DON'T ASK FOR HELP

Often times, people post questions about their script with the wrong mindset from the very beginning. Soon they are receiving replies, and silently debugging their code, making no effort to even acknowledge the people helping them! It becomes one sided, and the poster isn't aware that many of the people helping them hope to learn something as well! Letting people know of your progress and how their suggestions apply (or do not apply) will not only help you figure out your problem quicker, but you'll be returning the favor to those of us who learn more by helping.

In even worse scenarios, sometimes the poster will argue back even when they don't know what they're talking about. Hey - if you know it all, don't ask for help.

When people give you free code that may solve your problem, by all means, try it out! And if it's not what you need, at least thank them.

And if people post code that is over your head, ask them for an explanation. Too many times I see great solutions posted, then the original poster doesn't understand it and goes hunting around the PHP manual and finds some function they think will solve their problem but really has Nothing to do with their problem! The solution you are given may not always be something you are totally familiar with, so just ask for a better explanation!

REMEMBER THAT WHEN PEOPLE HELP YOU, THEY ARE DOING YOU A FAVOR

Regardless of how big your ego is, it is not someone else's privilege to debug Your code. It is not their privilege to have them help you. It is yours. Remember that when people help you they are doing you a favor. You are not doing them a favor by letting them see your incredible application. Be patient, help people out by posting good descriptions of what you need help with, and not snapping at people with garbage such as "if you aren't going to help don't waste my time replying".


Basically, normal human manners apply on these forums.

I am sure I maybe forgetting something, if you see errors/typos or anything that you think should be added PM me.

<edit by ChiefWigs1982> I've updated this to include instructions
on the HIGHLIGHT tag in section 2.
Comments on this post
oldgirl agrees: Thank you. It's very clear and easy to understand. (Can't change the zero in the drop-down. It won't
let me!)
OldMainFramer agrees: Thank you for the rules of the road.
vbrtrmn agrees: New users will need to learn how to read, first.
usha rao agrees: It really helps people ask questions in better way and help avoiding spam.

Last edited by ChiefWigs1982 : August 16th, 2005 at 09:56 AM.

Reply With Quote
  #2  
Old August 9th, 2005, 02:45 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 11th Plane (10000 - 10499 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 10,180 ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 16th Grade (Above 100000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 5 Days 19 h 54 m 23 sec
Reputation Power: 2037
New Syntax Highlighting...

Hey everyone, the admins have implemented a new hack to the
forums, allowing you to post your code with nicely coloured text
rather than just the normal black or the old php stuff.

More details can be found here:
http://forums.devshed.com/t279108/s.html

Html code:
[highlight=html4strict]your code here[/highlight]

For example:
html4strict Code:
Original - html4strict Code
  1.  
  2. <?xml version="1.0" encoding="iso-8859-1"?>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  4.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7. <title>Untitled Document</title>
  8. </head>
  9.  
  10. <h1 class="header_text">
  11.     Nice One!
  12. </h1>
  13. <p id="main_content">
  14.     <span style="color:red;">Lorem ipsum</span> dolor sit amet, consectetur
  15.     adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
  16.     magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
  17.     laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
  18.     reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
  19.     Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
  20.     deserunt mollit anim id est laborum.
  21. </p>
  22. </body>
  23. </html>

The same goes for JavaScript code:
[highlight=javascript]your code here[/highlight]
javascript Code:
Original - javascript Code
  1.  
  2. <script type="text/JavaScript">
  3. function doStuff()
  4. {
  5.     //declare vars...
  6.     var foo='bar';
  7.     var o=document.getElementByid('something');
  8.     /*
  9.         -Take the value and convert to a float.
  10.         -alert the value
  11.     */
  12.     var v=parseFloat(o.value);
  13.     alert(v);
  14. }
  15. </script>

The same goes for CSS highlighting:
[highlight=css]your code here[/highlight]
css Code:
Original - css Code
  1.  
  2. /*Comments*/
  3. body
  4. {
  5.     property:value;
  6. }
  7. body, div
  8. {
  9.     property:value;
  10. }

As you can see from the thread I linked, there are many many
other languages supported, but these three examples are more
likely to be used than any other in this particular forum...

Have fun with it, and please do use this feature, I'm sure it will
make things much easier for us to read/understand, rather than
just posting chunks of code.

Enjoy!

--Jon.
__________________
Support requests via PM will be ignored!
Sites: WordPress Metro Theme | Route of Queue
Read These: The General Rules Thread | The General FAQ Thread | NEW USERS - How to post a question


Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > HOW TO POST A QUESTION - READ New Users

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap