
JavaScript questions @Milo and @Alex (Design/Themes)
Hi,
generating and displaying the elements #bbcode-options, #ajax-preview and #image-canvas (I don't know the purpose of the latter two elements)
The first (#ajax-preview) is used to show the posting by clicking at the -icon. The second one (#image-canvas) is used, when you enlarge an image, eg.g
[img=thumbnail]
.
Is it possible to add theme-dependent JS-code without interaction with the main.js?
You can add another JavaScript file. To avoid conflicts, choose unique class-names.
Ah, „manual“ namespaces.
No, that's not the right description. I believe, the JavaScript is robust and you can add your own code. Just avoid object names that are still in use like Posting
(e.g. new Posting(<id>)
.
/Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
Complete thread:
- Journal of the growth of a mobile aware template -
Auge,
2016-06-29, 11:07
- Journal of the growth of a mobile aware template -
needhelp2,
2016-06-30, 05:20
- Journal of the growth of a mobile aware template - Auge, 2016-06-30, 12:56
- Journal of the growth of a mobile aware template - Auge, 2016-07-22, 15:58
- Journal of the growth of a mobile aware template - Auge, 2016-07-01, 15:25
- Discussion about the need of title-attributes -
Auge,
2016-07-13, 11:04
- Discussion about the need of title-attributes -
Micha,
2016-07-13, 17:25
- Discussion about the need of title-attributes -
Auge,
2016-07-14, 09:14
- Discussion about the need of title-attributes -
Micha,
2016-07-17, 08:09
- Discussion about the need of title-attributes -
Alfie,
2016-07-18, 09:46
- Discussion about the need of title-attributes - Auge, 2016-07-18, 13:40
- Discussion about the need of title-attributes - Auge, 2016-07-18, 13:27
- Discussion about the need of title-attributes -
Alfie,
2016-07-18, 09:46
- Discussion about the need of title-attributes -
Micha,
2016-07-17, 08:09
- Discussion about the need of title-attributes -
Auge,
2016-07-14, 09:14
- Discussion about the need of title-attributes -
Micha,
2016-07-13, 17:25
- Form elements, version 0.0.4 -
Auge,
2016-07-22, 21:26
- Form elements, version 0.0.4 -
Micha,
2016-07-25, 19:00
- Form elements, version 0.0.4 - Auge, 2016-07-26, 18:53
- Form elements, version 0.0.4 -
Micha,
2016-07-25, 19:00
- The views for the entries and some questions @Milo -
Auge,
2016-08-02, 11:39
- JavaScript questions @Milo -
Micha,
2016-08-14, 11:32
- JavaScript questions @Milo and @Alex -
Auge,
2016-08-15, 12:03
- JavaScript questions @Milo and @Alex -
Micha,
2016-08-16, 10:32
- JavaScript questions @Milo and @Alex -
Auge,
2016-08-16, 10:57
- JavaScript questions @Milo and @Alex - Micha, 2016-08-27, 08:14
- JavaScript questions @Milo and @Alex -
Auge,
2016-08-16, 10:57
- JavaScript questions @Milo and @Alex -
Micha,
2016-08-16, 10:32
- JavaScript questions @Milo and @Alex -
Auge,
2016-08-15, 12:03
- The views for the entries reworked - Auge, 2017-02-27, 14:43
- JavaScript questions @Milo -
Micha,
2016-08-14, 11:32
- Presentation of the entries, version 0.0.5 - Auge, 2016-08-12, 19:56
- admin interface, v0.0.7 - Auge, 2017-02-27, 16:11
- Journal of the growth of a mobile aware template -
needhelp2,
2016-06-30, 05:20