Nadarajah
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Nadarajah
-
-
Hi
I have a big collection of photos of various kinds - wildlife, holiday, family etc.
I would like to create slide shows to view via a browser. I can do that manually from the examples
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow_auto
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow_multiple
given in this link How To Create a Slideshow (w3schools.com)Photos are grouped in folders on Computer running Windows10.
At the moment I can only do it manually by individually adding photos to the html file and the necessary codes. I am thinking there must be a way to automate this process using js or something else. But do not now how to do that.
Hope you understand my problem.
Would you be able to help and suggest any solution?
Thanks
Thiru -
Hi,
I am new to this forum and have very basic knowledge of js. I would like to merge/combine two files Melody.abc and Chord.abc to produce Melody+Chord.abc. Content of these files are shown below.
What I have done so far is given in the attachment. Some of you might be able to help me to do this more efficiently. Instead of reading the Melody.abc and Chords.abc I have copied part of Melody.abc and Chords.abc to the js code itself. I would like to know how to read Melody.abc and Chords.abc from within the coding
Thanks
Thiru
Melody.abc======X: 1T: Twinkle Twinkle Little Star MelodyL: 1/8M: 1/4V: RH1 clef=trebleK: C[V: RH1]C2C2 | G2G2|A2A2 | G4|F2F2 | E2E2|D2D2 | C4|w: Twin kle, twin kle, litt le star, How I won der what you are[V: RH1]G2G2 |F2F2 | E2E2| D4 | G2G2| F2F2 | E2E2 | D4 |w: Up a- bove the sky so high, like a dia-mond in the sky.[V: RH1]C2C2 | G2G2|A2A2 | G4|F2F2 | E2E2|D2D2 | C4|w: Twin kle, twin kle, litt le star, How I won der what you areChord.abc======X: 1T: Chords for Twinkle Twinkle Little StarL: 1/8M: 1/4V: LH1 clef=bassK: C[V: LH1][C,E,G,]4 | [[C,E,G,]4|[F,,A,,C,]4 | [C,E,G,]4|[F,,A,,C,]4 |[C,E,G,]4|[G,,B,,D,]4|[C,E,G,]4|[[V: LH1][C,E,G,]4|[F,,A,,C,]4 | [C,E,G,]4 |[G,,B,,D,]4 | [C,E,G,]4| [F,,A,,C,]4 |[C,E,G,]4 | [G,,B,,D,]4 |[V: LH1][C,E,G,]4 | [C,E,G,]4|[F,,A,,C,]4|[C,E,G,]4|[C,E,G,]4 | [C,E,G,]4|[F,,A,,C,]4 | [G,,B,,D,]4|JS code should produce this Melody+Chord.abc from the above twoX: 1T: Twinkle Twinkle Little StarL: 1/8M: 1/4V: RH1 clef=trebleV: LH1 clef=bassK: C[V: RH1]C2C2 | G2G2|A2A2 | G4|F2F2 | E2E2|D2D2 | C4|w: Twin kle, twin kle, litt le star, How I won der what you are[V: LH1][C,E,G,]4 | [[C,E,G,]4|[F,,A,,C,]4 | [C,E,G,]4|[F,,A,,C,]4 |[C,E,G,]4|[G,,B,,D,]4|[C,E,G,]4|[V: RH1]G2G2 |F2F2 | E2E2| D4 | G2G2| F2F2 | E2E2 | D4 |w: Up a- bove the sky so high, like a dia-mond in the sky.[V: LH1][C,E,G,]4|[F,,A,,C,]4 | [C,E,G,]4 |[G,,B,,D,]4 | [C,E,G,]4| [F,,A,,C,]4 |[C,E,G,]4 | [G,,B,,D,]4 |[V: RH1]C2C2 | G2G2|A2A2 | G4|F2F2 | E2E2|D2D2 | C4|w: Twin kle, twin kle, litt le star, How I won der what you are[V: LH1][C,E,G,]4 | [C,E,G,]4|[F,,A,,C,]4|[C,E,G,]4|[C,E,G,]4 | [C,E,G,]4|[F,,A,,C,]4 | [G,,B,,D,]4| -
Thank you Ingolme. What I am trying to do is explained in here https://discourse.processing.org/t/time-line-without-flash/12037 . After going through some of the tutorial I thought I could do with html/canvas/js. I will stick to that and continue with my coding and see how far I can go.
-
Hi
I am new to JavaScript and these forums. So pleas excuse me if I say anything wrong.I would like to ask something about this https://www.w3schools.com/howto/howto_js_portfolio_filter.asp
This (pls see below) is repeated many times with few changes. Instead would it be possible to write a function and call that function with relevant arguments?. In this case the things are changing is the image filename and a text.
Thank you
<div class="column nature">
<div class="content">
<img src="/w3images/lights.jpg" alt="Lights" style="width:100%">
<h4>Lights</h4>
<p>Lorem ipsum dolor..</p>
</div>
</div>
Creating a website template from scratch
in General
Posted
Hi,