Click to See Complete Forum and Search --> : Suggestion for these forums


BigMoosie
04-10-2005, 06:03 AM
..

JPnyc
04-10-2005, 10:32 AM
Try selecting printable view from the thread tools before copying the code.

BigMoosie
04-10-2005, 10:35 AM
..

Ultimater
04-14-2005, 05:40 PM
Whenever you post a long code for someone you can start the code and end the code with a comment:

<!-- --- -->
<BODY style="color: red; background-color: green;" onload="initialize1();initialize2();initialize3();initialize4();initialize5();">
<table><table><table><table><table><table><table><table><table><table><table><table><table><table>
...MORE CODE...
</table></table></table></table></table></table></table></table></table></table></table></table></table></table></BODY>
<!-- --- -->

I doubt that anyone would use so many tables :D
But by giving a short HTML-comment at the beginning and end of the code makes it easier to copy.

Also note that in long scripts, double-tabs get "magicly" stuck into the code...
:eek:
In my example, look at initiali ze4();
and compair it to the code that you see if you QUOTE ME.

scragar
04-25-2005, 10:44 AM
simply avoid your code getting to long by breaking it up into several lines, that can be done with javascript, most of the time with HTML and so on and so on...


I've got another point(I'm full of ideas latly), at the moment I keep Gmail open, because it tells me when I have new email(the page continuously request the emails, and when the title changes I know I've got mail), this means I know when I've got new emails. On the forum however I have no such checks, surely it would be nice to have the forum request and new PM's or subscribed thread so you know when you've got them?

JPnyc
04-25-2005, 11:09 AM
You can set to have a popup warning for new PMs, in your user CP. You can also be notified by email if you have a new PM

BigMoosie
04-25-2005, 11:41 AM
..

JPnyc
04-25-2005, 12:26 PM
Quite a few browsers have auto-refresh features built in now.

Fang
04-25-2005, 01:13 PM
You could pickup the code using a bookmarklet. Here's a simple one to write the first code block on the page to a new window:
javascript:aPRE=document.getElementsByTagName('pre');code=window.open('','');code.document.write(aPR E[0].innerHTML);code.document.close();
Remove the spaces!!
With some more work you could write a selected block to the clipboard.

Ultimater
04-26-2005, 12:14 AM
Fang, those aren't spaces, they're double tabs.
The boards should really find a way to prevent them from getting inserted into the code.

Fang
04-26-2005, 02:53 AM
Ok, white-spaces then :p The problem is with the software: http://www.webdeveloper.com/forum/showpost.php?p=352818&postcount=5

scragar
04-28-2005, 07:19 AM
I've got one:

howabout a mod/admin makes a post in both the javascript and PHP boards and tell's people to start using [code] and [php] tags?

it's amazing how many new people don't pay atension to such a simple thing, and go and post 50-60 lines of text without any structure(as only in code and php tags are spaces after the first shown) or syntax highlighting(the best thing about the [php] tag).

Ultimater
04-28-2005, 11:59 PM
Why not try PM 'ing a moderator that can create a sticky and ask him/her to do so.
You could write your own thread and ask a moderator in that forum to add a stick, too!
Jona might be willing to do it, he's made a thread that earned a sticky before.
(before he became a moderator)

scragar
04-29-2005, 05:55 AM
I've posted them, now I need a mod to sticky them.

javascript (http://www.webdeveloper.com/forum/showthread.php?t=64277)
PHP (http://www.webdeveloper.com/forum/showthread.php?t=64280)

BigMoosie
06-05-2005, 10:10 PM
..