Bullets and Numbering

Please register or login

Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

Benefits of registering include

  • Ability to post and comment on topics and discussions.
  • A Free photo gallery to share your dive photos with the world.
  • You can make this box go away

Joining is quick and easy. Log in or Register now!

Rhone Man

Contributor
Scuba Instructor
Divemaster
Messages
11,299
Reaction score
10,743
Location
British Virgin Islands
# of dives
1000 - 2499
Is it just me? Since SB did the last upgrade, the bulletted and numbered lists don't seem to work. You get a whole load of code ploughed in, and the numbering/bulletting does not come out.

Here is my attempt to do two lists:

  • This list
  • Is Bulletted
  • On Four Different
  • Lines
  • [object Object]
  • function forEach() {
    [native code]
    }
  • function () {
    return this.filter($defined);
    }
  • function (keys) {
    var obj = {}, length = Math.min(this.length, keys.length);
    for (var i = 0; i < length; i++) {
    obj[keys] = this;
    }
    return obj;
    }
    [*]function (object) {
    var result = {};
    for (var i = 0, l = this.length; i < l; i++) {
    for (var key in object) {
    if (object[key](this)) {
    result[key] = this;
    delete object[key];
    break;
    }
    }
    }
    return result;
    }
    [*]function (item, from) {
    return this.indexOf(item, from) != -1;
    }
    [*]function (array) {
    for (var i = 0, j = array.length; i < j; i++) {
    this.push(array);
    }
    return this;
    }
    [*]function () {
    return this.length ? this[this.length - 1] : null;
    }
    [*]function () {
    return this.length ? this[$random(0, this.length - 1)] : null;
    }
    [*]function (item) {
    if (!this.contains(item)) {
    this.push(item);
    }
    return this;
    }
    [*]function (array) {
    for (var i = 0, l = array.length; i < l; i++) {
    this.include(array);
    }
    return this;
    }
    [*]function (item) {
    for (var i = this.length; i--; i) {
    if (this === item) {
    this.splice(i, 1);
    }
    }
    return this;
    }
    [*]function () {
    this.length = 0;
    return this;
    }
    [*]function () {
    var array = [];
    for (var i = 0, l = this.length; i < l; i++) {
    var type = $type(this);
    if (!type) {
    continue;
    }
    array = array.concat(type == "array" || type == "collection" || type == "arguments" ? Array.flatten(this) : this);
    }
    return array;
    }
    [*]function (array) {
    if (this.length != 3) {
    return null;
    }
    var rgb = this.map(function (value) {if (value.length == 1) {value += value;}return value.toInt(16);});
    return array ? rgb : "rgb(" + rgb + ")";
    }
    [*]function (array) {
    if (this.length < 3) {
    return null;
    }
    if (this.length == 4 && this[3] == 0 && !array) {
    return "transparent";
    }
    var hex = [];
    for (var i = 0; i < 3; i++) {
    var bit = (this - 0).toString(16);
    hex.push(bit.length == 1 ? "0" + bit : bit);
    }
    return array ? hex : "#" + hex.join("");
    }
    [*]function () {
    return JSON.encode(this);
    }



  1. This list
  2. Is Numbered
  3. On Four Different
  4. Lines
  5. [object Object]
  6. function forEach() {
    [native code]
    }
  7. function () {
    return this.filter($defined);
    }
  8. function (keys) {
    var obj = {}, length = Math.min(this.length, keys.length);
    for (var i = 0; i < length; i++) {
    obj[keys] = this;
    }
    return obj;
    }
    [*]function (object) {
    var result = {};
    for (var i = 0, l = this.length; i < l; i++) {
    for (var key in object) {
    if (object[key](this)) {
    result[key] = this;
    delete object[key];
    break;
    }
    }
    }
    return result;
    }
    [*]function (item, from) {
    return this.indexOf(item, from) != -1;
    }
    [*]function (array) {
    for (var i = 0, j = array.length; i < j; i++) {
    this.push(array);
    }
    return this;
    }
    [*]function () {
    return this.length ? this[this.length - 1] : null;
    }
    [*]function () {
    return this.length ? this[$random(0, this.length - 1)] : null;
    }
    [*]function (item) {
    if (!this.contains(item)) {
    this.push(item);
    }
    return this;
    }
    [*]function (array) {
    for (var i = 0, l = array.length; i < l; i++) {
    this.include(array);
    }
    return this;
    }
    [*]function (item) {
    for (var i = this.length; i--; i) {
    if (this === item) {
    this.splice(i, 1);
    }
    }
    return this;
    }
    [*]function () {
    this.length = 0;
    return this;
    }
    [*]function () {
    var array = [];
    for (var i = 0, l = this.length; i < l; i++) {
    var type = $type(this);
    if (!type) {
    continue;
    }
    array = array.concat(type == "array" || type == "collection" || type == "arguments" ? Array.flatten(this) : this);
    }
    return array;
    }
    [*]function (array) {
    if (this.length != 3) {
    return null;
    }
    var rgb = this.map(function (value) {if (value.length == 1) {value += value;}return value.toInt(16);});
    return array ? rgb : "rgb(" + rgb + ")";
    }
    [*]function (array) {
    if (this.length < 3) {
    return null;
    }
    if (this.length == 4 && this[3] == 0 && !array) {
    return "transparent";
    }
    var hex = [];
    for (var i = 0; i < 3; i++) {
    var bit = (this - 0).toString(16);
    hex.push(bit.length == 1 ? "0" + bit : bit);
    }
    return array ? hex : "#" + hex.join("");
    }
    [*]function () {
    return JSON.encode(this);
    }


 
Is it just me? Since SB did the last upgrade, the bulletted and numbered lists don't seem to work. You get a whole load of code ploughed in, and the numbering/bulletting does not come out.

Here is my attempt to do two lists:

  • This list
  • Is Bulletted
  • On Four Different
  • Lines


  1. This list
  2. Is Numbered
  3. On Four Different
  4. Lines


I quoted your post, and deleted a whole bunch of stuff. It may be easier to just type the [list] or [list=1] and [/list] commands than it is to use the buttons. Many of the "new and improved" buttons seem to be a bit buggy, but the old code still works just fine.
 
This code
[noparse]
  1. [/noparse]
    [noparse]
  2. ONE[/noparse]
    [noparse]
  3. TWO[/noparse]
    [noparse]
  4. THREE[/noparse]
    [noparse]
[/noparse]

yields this...
  1. ONE
  2. TWO
  3. THREE
Use the buttons provided in the quick reply box or the advanced reply box. If you select the WYSIWYG editor, it looks formatted out of the gates.

Capture.JPG

I'm not sure why you would be seeing straight PHP code in your list, but suffice it to say, PHP code won't work.
 
Which is what?

Make sure you're using the WYSIWYG editor.
 
https://www.shearwater.com/products/swift/

Back
Top Bottom