Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #36195 > unrolled thread

Breaking up the HTML into logical blocks.

Started byJonas Thörnvall <jonas.thornvall@gmail.com>
First post2019-03-27 22:26 -0700
Last post2019-03-29 10:32 -0700
Articles 20 on this page of 93 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-27 22:26 -0700
    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 01:19 -0700
      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 01:53 -0700
        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 02:14 -0700
          Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-28 02:47 -0700
            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 03:20 -0700
              Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-28 04:49 -0700
                Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:03 -0700
                  Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:12 -0700
                    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:13 -0700
                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:19 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:24 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:32 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:37 -0700
                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:39 -0700
                    Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-28 05:20 -0700
                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:26 -0700
                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 05:46 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 06:29 -0700
                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 07:21 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 07:26 -0700
                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 07:34 -0700
                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 20:41 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 20:46 -0700
            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 03:28 -0700
              Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-28 03:35 -0700
                Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-28 04:55 -0700
                  Re: Breaking up the HTML into logical blocks. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-29 09:11 +0100
                    Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 02:14 -0700
                      Re: Breaking up the HTML into logical blocks. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-29 10:54 +0100
                        Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 10:05 -0700
                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 10:43 -0700
                            Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 11:01 -0700
                              Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 11:38 -0700
                              Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:25 -0700
                                Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:37 -0700
                            Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 11:42 -0700
                              Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:30 -0700
                                Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 12:36 -0700
                                  Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:38 -0700
                                    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:41 -0700
                                    Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 12:43 -0700
                                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:49 -0700
                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:54 -0700
                                          Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 12:58 -0700
                                            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 13:04 -0700
                                              Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 13:10 -0700
                                    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 12:45 -0700
                                      Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 12:50 -0700
                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 13:01 -0700
                                          Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 13:04 -0700
                                            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 13:07 -0700
                                              Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 13:12 -0700
                                                Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 13:14 -0700
                                                  Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 13:22 -0700
                                                Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 13:18 -0700
                                                  Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 13:23 -0700
                                                    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 13:31 -0700
                                                    Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-29 13:32 -0700
                                                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 14:10 -0700
                                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 14:19 -0700
                                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 14:23 -0700
                                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 14:38 -0700
                                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 14:42 -0700
                                                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 00:40 -0700
                                                        Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-30 01:37 -0700
                                                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 03:00 -0700
                                                            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 03:36 -0700
                                                              Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-30 05:36 -0700
                                                                Re: Breaking up the HTML into logical blocks. dr.j.r.stockton@gmail.com - 2019-03-30 07:09 -0700
                                                                Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 07:16 -0700
                                                                Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 07:25 -0700
                                                                  Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 07:32 -0700
                                                                    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 07:46 -0700
                                                                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 08:21 -0700
                                                                  Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-31 02:16 -0700
                                                                    Re: Breaking up the HTML into logical blocks. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-31 11:26 +0200
                                                                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-31 07:07 -0700
                                                                Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 07:26 -0700
                                                      Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 00:51 -0700
                                                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 01:21 -0700
                                                        Re: Breaking up the HTML into logical blocks. Julio Di Egidio <julio@diegidio.name> - 2019-03-30 01:31 -0700
                                                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 02:34 -0700
                                                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 02:46 -0700
                                                            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-30 02:58 -0700
                    Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 02:22 -0700
                      Re: Breaking up the HTML into logical blocks. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-29 11:03 +0100
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 08:41 -0700
                        Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 08:51 -0700
                          Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 09:11 -0700
                          Re: Breaking up the HTML into logical blocks. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-29 17:18 +0100
                            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 10:31 -0700
                            Re: Breaking up the HTML into logical blocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-29 10:32 -0700

Page 2 of 5 — ← Prev page 1 [2] 3 4 5  Next page →


#36220

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-28 07:26 -0700
Message-ID<51f751ff-1ea7-44d1-849f-79da0f2a3448@googlegroups.com>
In reply to#36219
Den torsdag 28 mars 2019 kl. 15:21:15 UTC+1 skrev Jonas Thörnvall:
> Den torsdag 28 mars 2019 kl. 13:21:04 UTC+1 skrev Julio Di Egidio:
> > On Thursday, 28 March 2019 13:12:12 UTC+1, Jonas Thörnvall  wrote:
> > 
> > > The more i think about it the more sure i get there is something missing in
> > > HTML
> > 
> > Yeah, such a pity that you fucking troll aren't on the W3C board, eh...
> > 
> > Julio
> 
> https://www.youtube.com/watch?v=LY5243pMrq8&feature=share

From the outside to the inside from the upside under cover, yeah you people need a little quantum mechanic.

[toc] | [prev] | [next] | [standalone]


#36221

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-28 07:34 -0700
Message-ID<79231478-0cfb-45aa-9a52-e6afe999384d@googlegroups.com>
In reply to#36220
Den torsdag 28 mars 2019 kl. 15:26:26 UTC+1 skrev Jonas Thörnvall:
> Den torsdag 28 mars 2019 kl. 15:21:15 UTC+1 skrev Jonas Thörnvall:
> > Den torsdag 28 mars 2019 kl. 13:21:04 UTC+1 skrev Julio Di Egidio:
> > > On Thursday, 28 March 2019 13:12:12 UTC+1, Jonas Thörnvall  wrote:
> > > 
> > > > The more i think about it the more sure i get there is something missing in
> > > > HTML
> > > 
> > > Yeah, such a pity that you fucking troll aren't on the W3C board, eh...
> > > 
> > > Julio
> > 
> > https://www.youtube.com/watch?v=LY5243pMrq8&feature=share
> 
> From the outside to the inside from the upside under cover, yeah you people need a little quantum mechanic.
https://www.youtube.com/watch?v=mnTX2p22CWs

[toc] | [prev] | [next] | [standalone]


#36222

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-28 20:41 -0700
Message-ID<eaa71e35-b8a9-472c-8163-e85c42ca5d66@googlegroups.com>
In reply to#36211
Den torsdag 28 mars 2019 kl. 13:21:04 UTC+1 skrev Julio Di Egidio:
> On Thursday, 28 March 2019 13:12:12 UTC+1, Jonas Thörnvall  wrote:
> 
> > The more i think about it the more sure i get there is something missing in
> > HTML
> 
> Yeah, such a pity that you fucking troll aren't on the W3C board, eh...
> 
> Julio

You see it is so obvious for anyone that the <FRAME SRC=""> tag was made as a breakout element a sub To be used inside a HTML column <td>. But no the fucking ENTP can't grasp it. He decide to put the structural element outside the <HTML> and thus end up with something of his own "still high implementing the tables", the thing he ended up with by the way wasn't that usable and now become deprecated.

So what do we learn from this ***NEVER LET THE ENTP HAVE HIS HAND ON THE INTERFACE AND IDEA DEVELOPMENT ONLY ON THE IMPLEMENTATION***

Because you may end up with an interface of an 80's VHS recorder......

Let them read eachothers mumbo-jumbo code..... And keep us normal out of it.

[toc] | [prev] | [next] | [standalone]


#36223

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-28 20:46 -0700
Message-ID<d915ac2a-1afe-4584-ad5c-66423295cc12@googlegroups.com>
In reply to#36222
Den fredag 29 mars 2019 kl. 04:41:42 UTC+1 skrev Jonas Thörnvall:
> Den torsdag 28 mars 2019 kl. 13:21:04 UTC+1 skrev Julio Di Egidio:
> > On Thursday, 28 March 2019 13:12:12 UTC+1, Jonas Thörnvall  wrote:
> > 
> > > The more i think about it the more sure i get there is something missing in
> > > HTML
> > 
> > Yeah, such a pity that you fucking troll aren't on the W3C board, eh...
> > 
> > Julio
> 
> You see it is so obvious for anyone that the <FRAME SRC=""> tag was made as a breakout element a sub To be used inside a HTML column <td>. But no the fucking ENTP can't grasp it. He decide to put the structural element outside the <HTML> and thus end up with something of his own "still high implementing the tables", the thing he ended up with by the way wasn't that usable and now become deprecated.
> 
> So what do we learn from this ***NEVER LET THE ENTP HAVE HIS HAND ON THE INTERFACE AND IDEA DEVELOPMENT ONLY ON THE IMPLEMENTATION***
> 
> Because you may end up with an interface of an 80's VHS recorder......
> 
> Let them read eachothers mumbo-jumbo code..... And keep us normal out of it.

https://www.youtube.com/watch?v=LY5243pMrq8&feature=share

[toc] | [prev] | [next] | [standalone]


#36203

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-28 03:28 -0700
Message-ID<d762db3e-e43e-4bb5-acb4-4dba1fe8ad34@googlegroups.com>
In reply to#36199
Den torsdag 28 mars 2019 kl. 10:47:34 UTC+1 skrev Julio Di Egidio:
> On Thursday, 28 March 2019 10:14:37 UTC+1, Jonas Thörnvall  wrote:
> 
> > It is a bit of proof of the language concept of Javascript that the more
> > idiotic ideas you are able to come up with, the bigger the chance that
> > they actually will work when implemented with javacript.
> 
> Sure, we are all learning how competent and successful is your strategy.
> 
> > But really should there not be a better way...
> 
> Nope, quantum computers are needed to "load html templates with JS"...
> 
> Julio

Honestly i would breat out every HTML subblock into a separate js file, if removing paragraphs and space didn't make them so hard to read and edit.

When you geniuses solved that problem you can come back.
And i ain't going to start use Jquery now.

[toc] | [prev] | [next] | [standalone]


#36204

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-28 03:35 -0700
Message-ID<5a55bd2c-ea93-4b99-8a7b-b1cb2d64277f@googlegroups.com>
In reply to#36203
Den torsdag 28 mars 2019 kl. 11:28:25 UTC+1 skrev Jonas Thörnvall:
> Den torsdag 28 mars 2019 kl. 10:47:34 UTC+1 skrev Julio Di Egidio:
> > On Thursday, 28 March 2019 10:14:37 UTC+1, Jonas Thörnvall  wrote:
> > 
> > > It is a bit of proof of the language concept of Javascript that the more
> > > idiotic ideas you are able to come up with, the bigger the chance that
> > > they actually will work when implemented with javacript.
> > 
> > Sure, we are all learning how competent and successful is your strategy.
> > 
> > > But really should there not be a better way...
> > 
> > Nope, quantum computers are needed to "load html templates with JS"...
> > 
> > Julio
> 
> Honestly i would breat out every HTML subblock into a separate js file, if removing paragraphs and space didn't make them so hard to read and edit.
> 
> When you geniuses solved that problem you can come back.
> And i ain't going to start use Jquery now.

Personally i do not see what stops a string from holding paragraphs and linebreaks".

I think "Javascript" need a stringify() method.

var whereisyourheadat=stringfy(){<HTML><BODY> was on spot, but the geniuses just make the thing more convoluted by the day, Javascript started out great with string handling, then they let the ENTP morons in and it finally will endup like pseudo assembler slash.bump.poof.hash.muppet this string allow you to sucessfull y prepare you variable for insertion }

[toc] | [prev] | [next] | [standalone]


#36206

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-28 04:55 -0700
Message-ID<db61e406-db61-4092-993b-8b74a6eeedd3@googlegroups.com>
In reply to#36204
On Thursday, 28 March 2019 11:35:33 UTC+1, Jonas Thörnvall  wrote:

> Personally i do not see what stops a string from holding paragraphs and
> linebreaks".

String literals with nested quotes and special characters are a little nightmare
for the rookie in any language.  Just with that attitude you gonna be a cook
forever...

Julio

[toc] | [prev] | [next] | [standalone]


#36224

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-03-29 09:11 +0100
Message-ID<XnsAA215D8F95AADeejj99@194.109.6.166>
In reply to#36206
Julio Di Egidio <julio@diegidio.name> wrote on 28 Mar 2019 in
comp.lang.javascript: 

> On Thursday, 28 March 2019 11:35:33 UTC+1, Jonas Thörnvall  wrote:
> 
>> Personally i do not see what stops a string from holding paragraphs and
>> linebreaks".

You are right, because what you personally see is not necessarily the truth.

A string can contain any type of elements, as it just an array of 
characters, readable or unreadable.

A string can contain paragraph and linebrake CODES, but NOT pargraphs and 
linebreaks, as those are the effective representations on a screen or other 
medium.

> String literals with nested quotes and special characters are a little
> nightmare for the rookie in any language.  Just with that attitude you
> gonna be a cook forever...
> 
> Julio

A good cook is called a chef.

 
-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36225

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-29 02:14 -0700
Message-ID<26572536-f7dc-4e61-959c-9d49ce97e04a@googlegroups.com>
In reply to#36224
On Friday, 29 March 2019 09:11:55 UTC+1, Evertjan.  wrote:
> Julio Di Egidio <julio@diegidio.name> wrote on 28 Mar 2019 in
> comp.lang.javascript: 
> 
> > On Thursday, 28 March 2019 11:35:33 UTC+1, Jonas Thörnvall  wrote:
> > 
> >> Personally i do not see what stops a string from holding paragraphs and
> >> linebreaks".
> 
> You are right, because what you personally see is not necessarily the truth.
> 
> A string can contain any type of elements, as it just an array of 
> characters, readable or unreadable.

A string is not an array of characters in JavaScript.

> A string can contain paragraph and linebrake CODES, but NOT pargraphs and 
> linebreaks, as those are the effective representations on a screen or other 
> medium.

Which is not what he meant, he was talking html tags.

> > String literals with nested quotes and special characters are a little
> > nightmare for the rookie in any language.  Just with that attitude you
> > gonna be a cook forever...
> 
> A good cook is called a chef.

Only in the kitchen.

Julio

[toc] | [prev] | [next] | [standalone]


#36227

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2019-03-29 10:54 +0100
Message-ID<XnsAA216F0115A17eejj99@194.109.6.166>
In reply to#36225
Julio Di Egidio <julio@diegidio.name> wrote on 29 Mar 2019 in 
comp.lang.javascript:

>> A string can contain any type of elements, as it just an array of 
>> characters, readable or unreadable.
> 
> A string is not an array of characters in JavaScript.

It is, it can contain any 32 bit value in each element, 
it only is not a javascript-array.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#36233

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-29 10:05 -0700
Message-ID<431aef40-4558-475f-9b7e-1f97b387a447@googlegroups.com>
In reply to#36227
On Friday, 29 March 2019 10:54:48 UTC+1, Evertjan.  wrote:

<spamming bullshit>

Go fuck your mother you piece of shit.

*Troll alert*

Julio

[toc] | [prev] | [next] | [standalone]


#36236

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-29 10:43 -0700
Message-ID<441f15d7-25d2-42c7-a96d-3ce2b6d6df07@googlegroups.com>
In reply to#36233
Den fredag 29 mars 2019 kl. 18:05:42 UTC+1 skrev Julio Di Egidio:
> On Friday, 29 March 2019 10:54:48 UTC+1, Evertjan.  wrote:
> 
> <spamming bullshit>
> 
> Go fuck your mother you piece of shit.
> 
> *Troll alert*
> 
> Julio

If you help me access the parent from Iframe i will have implemented a nifty looking drummachine by tuesday Julio

You can see the start here, it is just a matter of assigning notes on midi channel 10 "drums" and loop over x-bars. I even may make a matrix for 16th 32th note bars that is scrollable over full song.

I forgot to say in chrome you need to poke the synth, something about people flashing unwanted porno i guess.. I cant see what it has todo with webaudio but who knows....

http://midisequenser.000webhostapp.com

[toc] | [prev] | [next] | [standalone]


#36237

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-29 11:01 -0700
Message-ID<e3e8522d-9e12-40b1-8b98-6148f4bf7e90@googlegroups.com>
In reply to#36236
On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:

> If you help me access the parent from Iframe

window.parent is a reference to the parent window.

> i will have implemented a nifty looking drummachine by Tuesday

Post here a micro-example: few lines of code that do emit a sound (in Chrome).

Julio

[toc] | [prev] | [next] | [standalone]


#36238

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-29 11:38 -0700
Message-ID<bc553872-bec5-4126-ba17-b25f3c17c636@googlegroups.com>
In reply to#36237
On Friday, 29 March 2019 19:01:52 UTC+1, Julio Di Egidio  wrote:
> On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:

> > i will have implemented a nifty looking drummachine by Tuesday
> 
> Post here a micro-example: few lines of code that do emit a sound (in Chrome).

Scratch that "micro", my mistake...

This works even in Edge (hurray!), just courtesy MIDI.js and co:

<https://galactic.ink/midi-js/Basic.html>

Julio

[toc] | [prev] | [next] | [standalone]


#36240

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-29 12:25 -0700
Message-ID<8899efc0-e5a0-484d-b259-977721573944@googlegroups.com>
In reply to#36237
Den fredag 29 mars 2019 kl. 19:01:52 UTC+1 skrev Julio Di Egidio:
> On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:
> 
> > If you help me access the parent from Iframe
> 
> window.parent is a reference to the parent window.
> 
> > i will have implemented a nifty looking drummachine by Tuesday
> 
> Post here a micro-example: few lines of code that do emit a sound (in Chrome).
> 
> Julio

Well i will use a webaudio soundfont synth, same as in the sequenser if you set midichannel to 10 there is your drums. So it is just a matter of mapping the keys, of course i will make it dynamic for each pad.

If you press mouseplay in sequenser you can play with keyboard once you set midichannel to 10 voila there is your drums.

Once i done the sequenser and drummachine i may indeed maka a synth, probably GM mapped.

[toc] | [prev] | [next] | [standalone]


#36243

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-29 12:37 -0700
Message-ID<e61d4abe-dc26-4797-9b0a-b1279a8ed72e@googlegroups.com>
In reply to#36240
Den fredag 29 mars 2019 kl. 20:25:14 UTC+1 skrev Jonas Thörnvall:
> Den fredag 29 mars 2019 kl. 19:01:52 UTC+1 skrev Julio Di Egidio:
> > On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:
> > 
> > > If you help me access the parent from Iframe
> > 
> > window.parent is a reference to the parent window.
> > 
> > > i will have implemented a nifty looking drummachine by Tuesday
> > 
> > Post here a micro-example: few lines of code that do emit a sound (in Chrome).
> > 
> > Julio
> 
> Well i will use a webaudio soundfont synth, same as in the sequenser if you set midichannel to 10 there is your drums. So it is just a matter of mapping the keys, of course i will make it dynamic for each pad.
> 
> If you press mouseplay in sequenser you can play with keyboard once you set midichannel to 10 voila there is your drums.
> 
> Once i done the sequenser and drummachine i may indeed maka a synth, probably GM mapped.

Soundfonts and midi synths interesting they also hold banks, not just programs so there is many drum banks "kits" in one soundfont, you can even make your own with a soundfont tool.

Generally speaking all "kits" are different drums samples, each mapped to an individual note "in a program", and those drums programs usually at midi channel 10.

[toc] | [prev] | [next] | [standalone]


#36239

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-29 11:42 -0700
Message-ID<5ec01c9b-572e-4c8b-8305-22184a66c131@googlegroups.com>
In reply to#36236
On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:

> http://midisequenser.000webhostapp.com

In Chrome:

Uncaught TypeError: Cannot read property 'send' of undefined
    at sendProgram (UI.js:188)
    at setTrack (UI.js:83)
    at init (InitMAIN.js:36)

Have you ever managed to get any sound out of any code at all, even just
in Chrome?

Julio

[toc] | [prev] | [next] | [standalone]


#36241

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-29 12:30 -0700
Message-ID<fbe327fd-183f-4446-8b2b-0bab06a24840@googlegroups.com>
In reply to#36239
Den fredag 29 mars 2019 kl. 19:43:03 UTC+1 skrev Julio Di Egidio:
> On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:
> 
> > http://midisequenser.000webhostapp.com
> 
> In Chrome:
> 
> Uncaught TypeError: Cannot read property 'send' of undefined
>     at sendProgram (UI.js:188)
>     at setTrack (UI.js:83)
>     at init (InitMAIN.js:36)
> 
> Have you ever managed to get any sound out of any code at all, even just
> in Chrome?
> 
> Julio

If you mean the druminterface no Julio, just the keyboard the drum interface right now is iframe i only invoke parent on first pad.... Test it nada....
But my idiotic idea put all code into keyboard variable work just fine test play note with keyboard and mouse work in opera and chrome.

[toc] | [prev] | [next] | [standalone]


#36242

FromJulio Di Egidio <julio@diegidio.name>
Date2019-03-29 12:36 -0700
Message-ID<df84566f-c0cb-4daf-a472-e3337568d82d@googlegroups.com>
In reply to#36241
On Friday, 29 March 2019 20:30:13 UTC+1, Jonas Thörnvall  wrote:
> Den fredag 29 mars 2019 kl. 19:43:03 UTC+1 skrev Julio Di Egidio:
> > On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:
> > 
> > > http://midisequenser.000webhostapp.com
> > 
> > In Chrome:
> > 
> > Uncaught TypeError: Cannot read property 'send' of undefined
> >     at sendProgram (UI.js:188)
> >     at setTrack (UI.js:83)
> >     at init (InitMAIN.js:36)
> > 
> > Have you ever managed to get any sound out of any code at all, even just
> > in Chrome?
> 
> If you mean the druminterface no Julio

No, I mean what I said.

> test play note with keyboard and mouse work in opera and chrome.

Show it: prove you are not just a spammer.

Julio

[toc] | [prev] | [next] | [standalone]


#36244

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-03-29 12:38 -0700
Message-ID<c407b408-3c26-4028-a8f3-0a87fd1a95fd@googlegroups.com>
In reply to#36242
Den fredag 29 mars 2019 kl. 20:36:25 UTC+1 skrev Julio Di Egidio:
> On Friday, 29 March 2019 20:30:13 UTC+1, Jonas Thörnvall  wrote:
> > Den fredag 29 mars 2019 kl. 19:43:03 UTC+1 skrev Julio Di Egidio:
> > > On Friday, 29 March 2019 18:43:57 UTC+1, Jonas Thörnvall  wrote:
> > > 
> > > > http://midisequenser.000webhostapp.com
> > > 
> > > In Chrome:
> > > 
> > > Uncaught TypeError: Cannot read property 'send' of undefined
> > >     at sendProgram (UI.js:188)
> > >     at setTrack (UI.js:83)
> > >     at init (InitMAIN.js:36)
> > > 
> > > Have you ever managed to get any sound out of any code at all, even just
> > > in Chrome?
> > 
> > If you mean the druminterface no Julio
> 
> No, I mean what I said.
> 
> > test play note with keyboard and mouse work in opera and chrome.
> 
> Show it: prove you are not just a spammer.
> 
> Julio

It is not my synth, just the interface you just have to push the key???

[toc] | [prev] | [next] | [standalone]


Page 2 of 5 — ← Prev page 1 [2] 3 4 5  Next page →

Back to top | Article view | comp.lang.javascript


csiph-web