Re: Page which doed not display properly
In article, Jim Nagel wrote: > Would be nice to add a colour for ... to the HTML > mode in StrongEd so that JS would immediately jump out at you in a > page where "the html is terrible to decipher". > I think somebody is working to update that mode but I can't remember > who. Is it you, Tim? Having got to grips with advanced Search and Replace, I have it in mind to next get to grips with Modes. If so one thing I may well do is to update the HTML mode. But doing the script removal will highlight the scripts you are removing. I have now written this up as an example: http://stronged.torrens.org/man/search/examples/js.html -- Richard Torrens. http://www.Torrens.org for genealogy, natural history, wild food, walks, cats and more!
Re: Page which doed not display properly
In article <56d5995dc6...@timil.com>, Tim Hillwrote: > With the luxury of a PC at my elbow, I tend to throw recalcitrant pages > at it rather than try and decipher them. WYSIWYG page design tools, such > as WordPress used to construct Richard's page I woul point out that this Richard dos not use anything other than StrongED! -- Richard Torrens. http://www.Torrens.org for genealogy, natural history, wild food, walks, cats and more!
Re: Page which doed not display properly
In article <455569058123901cbf28cd87c0dab...@wingsandbeaks.org.uk>, Jeremy Nicoll - ml netsurfwrote: > > The page still does not display properly - so as I said, it is not a > > J/S > > thing! > That does not follow. Maybe the code you removed was essential... and > that WOULD make it a script issue. If removing _all_ script from a page does not alter the way the page displays, then the way it displays is nothing to do with the removed script. I would have thought that did not require explaining. Apologies for not being clear enough. -- Richard Torrens. http://www.Torrens.org for genealogy, natural history, wild food, walks, cats and more!
Re: Page which doed not display properly
In article, Jim Nagel wrote: [Snip] > Would be nice to add a colour for ... to the HTML > mode in StrongEd so that JS would immediately jump out at you in a > page where "the html is terrible to decipher". A workaround - to make your own scripts stand out - is to put them in HTML comments per ye olde stylee: With the luxury of a PC at my elbow, I tend to throw recalcitrant pages at it rather than try and decipher them. WYSIWYG page design tools, such as WordPress used to construct Richard's page or online tools such as Wix often produce a mass of unformatted garbage; even though this page could be created with a half-dozen DIVs, the 'info panel' and 'menu' both require either CSS, JS or both that NetSurf cannot render. Such a page also fails google's mobile test. Quelle surprise. > I think somebody is working to update that mode but I can't remember > who. Is it you, Tim? Not me, no, sorry. T -- Tim Hill timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk
Re: Page which doed not display properly
On 2018-03-08 12:58, Richard Torrens (lists) wrote: In article <56d58e70b8...@timil.com>, Tim Hillwrote: In article <56d587af09li...@torrens.org>, Richard Torrens (lists) wrote: > http://www.magheragenealogy.org/ > Most of of the page's text does not display in Netsurf. > It is not a J/S thing. But the html is terrible to decipher! It is. The >26 tags would beg to differ. Languages other than Javascript can implement script sections... I removed all "