Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance
The Web Squeeze

> Posting Code

This is a discussion on Posting Code, within the Feedback section. This forum and the thread "Posting Code" are both part of the Feedback category.

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Posting Code
unitedcraig
post Feb 14 2008, 06:55 PM
Post #1


Squeeze Machine
Group Icon

Posts: 560
Joined: 14-February 08
From: Stockport


Is there a way when posting code, to get it to scroll down.

For example

CODE
/***NAVIGATION***/

#navigation {
    float: right;
    width: 300px;
    margin-right: 0px;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigation ul li {
    float: left;
    width: 90px;
    padding-top: 20px;
}

#navigation ul li a {
    display: block;
    height: 30px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-right: 32px;
    padding-top: 5px;
    letter-spacing: 1px;
    font: 10px Tahoma, Geneva, sans-serif;
}

#navigation ul li a.last {
    margin-right: 0;
}

#navigation ul li a:hover {
    background-color: #669933;
    border-bottom: 5px solid #003300;
}

#active {
    display: block;
    width: 200px;
    height: 30px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    padding: 5px 0 0 0;
    margin: 0;
    letter-spacing: 1px;
    font: 10px Tahoma, Geneva, sans-serif;
    border-bottom: 5px solid #FF0000;
/***NAVIGATION***/

#navigation {
    float: right;
    width: 300px;
    margin-right: 0px;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigation ul li {
    float: left;
    width: 90px;
    padding-top: 20px;
}

#navigation ul li a {
    display: block;
    height: 30px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-right: 32px;
    padding-top: 5px;
    letter-spacing: 1px;
    font: 10px Tahoma, Geneva, sans-serif;
}

#navigation ul li a.last {
    margin-right: 0;
}

#navigation ul li a:hover {
    background-color: #669933;
    border-bottom: 5px solid #003300;
}

#active {
    display: block;
    width: 200px;
    height: 30px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    padding: 5px 0 0 0;
    margin: 0;
    letter-spacing: 1px;
    font: 10px Tahoma, Geneva, sans-serif;
    border-bottom: 5px solid #FF0000;
}}



If i were to post a large bit ofcode, (which at times people need to), would it not be easier to have it as a small window and scroll down, pages could end up getting rather large if not?

What you think?

Craig

This post has been edited by Jacob: Mar 19 2008, 03:14 PM


--------------------
Go to the top of the page
 
+Quote Post
unitedcraig
post Feb 14 2008, 06:55 PM
Post #2


Squeeze Machine
Group Icon

Posts: 560
Joined: 14-February 08
From: Stockport


Sorry for the large bit of code, just though it would be easier than trying to explain what i meant.

Feel free to delete as deemed necessary smile.gif


--------------------
Go to the top of the page
 
+Quote Post
Jacob
post Feb 14 2008, 08:33 PM
Post #3


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


Added to our list!


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
unitedcraig
post Feb 14 2008, 08:38 PM
Post #4


Squeeze Machine
Group Icon

Posts: 560
Joined: 14-February 08
From: Stockport


what is the list if you don't mind me asking?


--------------------
Go to the top of the page
 
+Quote Post
Jacob
post Feb 14 2008, 08:47 PM
Post #5


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


I was referring to our very long todo list! We have loads of exciting and new things to bring to you over the next month! So, stick around!


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
unitedcraig
post Feb 14 2008, 08:53 PM
Post #6


Squeeze Machine
Group Icon

Posts: 560
Joined: 14-February 08
From: Stockport


QUOTE (Jacob @ Feb 15 2008, 01:47 AM) *
So, stick around!



Will do don't worry smile.gif


--------------------
Go to the top of the page
 
+Quote Post
Mark
post Feb 14 2008, 09:05 PM
Post #7


Don deluzione
Group Icon

Posts: 1,175
Joined: 13-February 08
From: Canada eh?


Can you share (parts of) that list, so we don't keep asking for stuff that's on your list already? smile.gif


--------------------
Go to the top of the page
 
+Quote Post
Jacob
post Feb 14 2008, 10:33 PM
Post #8


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


Sure....

Scrolling Code Box - Fix it so that the code boxes scroll. Exmaple found here.

User Posts Articles - Develop something so that our members can submit there articles via a form. Then we can approve them and the article/tutorial is live.

Remove Read Posts, from New Posts - When the view new posts link is clicked we only want to show the new posts, we do not want to show posts that have no new replies to that user.

Last Unread Icon Bug - Last unread icon is not displaying the last unread post, instead it takes you to the first unread in the thread.

Thread Solved - Add a thread solved feature to the forum.

Website Critique System - Add an advanced website critique system into the forum.

Payment System Bugs - Fix the payment system bugs, and add new features.

Global SEO Mod - Add the needed kick ass SEO mod.

Advertising Mod - Add the advertising system.

Sidebar Bug - Fix that damn sidebar!


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
Monie
post Feb 14 2008, 11:20 PM
Post #9


Squeeze Machine
*****

Posts: 733
Joined: 13-February 08
From: Borneo


Wow wow and wow...!!! Great stuff Jacob!
So.. a bonus question to you, do we or will we be having a newsletter stuff? Or do you think that the User Posts Articles is already enough?
I thought that the WF newsletter is yours? Hehehe biggrin.gif


--------------------

Go to the top of the page
 
+Quote Post
Jacob
post Feb 14 2008, 11:41 PM
Post #10


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


Yeah, I founded Creative Coding newsletter, and am very proud of it. Although, we decided not to do a newsletter as it was just too stressful for us. We enjoy writing articles and tutorials when we are in that creative writing mood, not on a timed deadline. So the home section is like a blog of articles and tutorials, and we will accept them from any members....and soon any members can add to our collection after staff approves.


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
Monie
post Feb 14 2008, 11:58 PM
Post #11


Squeeze Machine
*****

Posts: 733
Joined: 13-February 08
From: Borneo


Well, I must agree that WebSqueeze main page will be full of information soon!
I like the idea of how you design this website especially the main page! With all the IMPORTANT things in the main page such as the latest news, maybe some announcement, etc..
I am hoping that we will be having some kind of website competition as well, aren't we biggrin.gif
I wonder what it will be called, hemmm????? LOL


--------------------

Go to the top of the page
 
+Quote Post
welshstew
post Feb 15 2008, 06:40 AM
Post #12


Squeezing
***

Posts: 82
Joined: 14-February 08
From: inside the outside


added to the code scroll can we have a copy code function?


--------------------
Go to the top of the page
 
+Quote Post
unitedcraig
post Feb 15 2008, 06:48 AM
Post #13


Squeeze Machine
Group Icon

Posts: 560
Joined: 14-February 08
From: Stockport


This isn't a mod or anything, but as we have a part of the site seperate to the forum, for tutorials and articles, perhaps we could have members of staff copying good tutorials etc. from the forums into the tutorials esction if you get what i mean?


--------------------
Go to the top of the page
 
+Quote Post
Jacob
post Feb 17 2008, 10:16 PM
Post #14


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


Okay, you could use [ codebox ] to create a scrolling code box, but instead we have made it so that now when you use the [ code ] the code will also scroll.


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
Monie
post Feb 18 2008, 02:11 AM
Post #15


Squeeze Machine
*****

Posts: 733
Joined: 13-February 08
From: Borneo


It scrolls now!!!


--------------------

Go to the top of the page
 
+Quote Post
Jacob
post Feb 18 2008, 02:32 AM
Post #16


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


That would be the objective of this mod! wink.gif


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
Monie
post Feb 18 2008, 02:42 AM
Post #17


Squeeze Machine
*****

Posts: 733
Joined: 13-February 08
From: Borneo


What I mean to say is.. It scrolls now...!!! yahoo.gif


--------------------

Go to the top of the page
 
+Quote Post
Jason
post Feb 18 2008, 03:38 AM
Post #18


Master of the Universe
Group Icon

Posts: 1,298
Joined: 15-February 08
From: London, England


Can the code box have an expand button. This way when I want to view the code I can hit the expand button and the box will stretch out to the full size. Displaying 10 lines of code will make it difficult to diagnose hard PHP problems. Especially when trying to compare code in different parts of the script.


--------------------
Go to the top of the page
 
+Quote Post
Monie
post Feb 18 2008, 03:51 AM
Post #19


Squeeze Machine
*****

Posts: 733
Joined: 13-February 08
From: Borneo


You mean like what we have on the FASTREPLY top right corner there?
Yeah cool idea for me.. That way we could look at the whole code without having to scroll them.
See what the Jacob have to say about this... biggrin.gif


--------------------

Go to the top of the page
 
+Quote Post
unitedcraig
post Feb 18 2008, 04:12 AM
Post #20


Squeeze Machine
Group Icon

Posts: 560
Joined: 14-February 08
From: Stockport


yeh good idea, there are time when you do not want/need to see the whole bit of code, but it is useful to have the option wink.gif


--------------------