Forcing website menus to reveal themselves

2018-02-23 Thread Richard Ashbery
Is there anyway of showing Javascript driven drop down menus?

Richard




Re: Forcing website menus to reveal themselves

2018-02-23 Thread Tim Hill
In article <56cedd0d61ris...@gotadsl.co.uk>, Richard Ashbery
 wrote:
> Is there anyway of showing Javascript driven drop down menus?

Are you certain they are JavaScript? 

I have never been able to get CSS-only drop-down menus to work in NS.

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk



Re: Forcing website menus to reveal themselves

2018-02-23 Thread Richard Ashbery
In article <56cee47a3d...@timil.com>, Tim Hill  wrote:
> In article <56cedd0d61ris...@gotadsl.co.uk>, Richard Ashbery
>  wrote:
> > Is there anyway of showing Javascript driven drop down menus?

> Are you certain they are JavaScript? 

Unscientific guesswork I'm afraid.

> I have never been able to get CSS-only drop-down menus to work in
> NS.

Pity. Thanks for getting back Tim.

Richard




Re: Forcing website menus to reveal themselves

2018-02-23 Thread Daniel Silverstone
On Fri, Feb 23, 2018 at 12:30:08 +, Richard Ashbery wrote:
> Is there anyway of showing Javascript driven drop down menus?

JavaScript-driven and CSS-driven dynamic content are not supported in NetSurf's
render engine at this time.

D.

-- 
Daniel Silverstone   http://www.netsurf-browser.org/
PGP mail accepted and encouraged.Key Id: 3CCE BABE 206C 3B69



Re: linking to root of website, not root of drive

2018-02-23 Thread Jim Nagel
Rob Kendrick  wrote on 19 Feb:

> On Mon, Feb 19, 2018 at 03:46:41PM +, Jim Nagel wrote:
>>   - Netsurf displays the pages served up via Webjames perfectly,
>> except that it is NOT obeying the stylesheet (which is  /2018.css )
>> even though the Webjames log records a GET success for the CSS file
>> just as it did for the logo and paper and favicon.
>>   - Yet when Netsurf fetches the identical page from my ISP's server,
>> it DOES obey the CSS.

> Complete guess: is your CSS source file set to the CSS type, or plain
> text type?  I'm not sure how NetSurf reacts to CSS files served with an
> appropriate Content-Type header.

Thanks, Rob.  Sorry for delayed response.  (I think I covered the 
point elsewhere in the thread, though.)

Yes, the source file was called !2018.css but its RiscOS filetype was 
still text.  I changed the filetype to CSS and Netsurf is now happy.

I can't quite get my head around this (not that it matters, since 
things are working now):

 - The distant server (probably running on Linux) does not care about 
RiscOS filetypes and Netsurf correctly displays pages from there when 
my !2018.css has RiscOS filetype as text

 - The local development server (Webjames) does a successful GET of 
!2018.css whatever its RiscOS filetype, but Netsurf does not display 
pages correctly when !2018.css is Ro-filetyped as text, and *does* 
display them correctly when !2018.css Ro-filetype is changed to CSS.


-- 
Jim Nagel www.archivemag.co.uk
|| See you at the show?   www.riscos-swshow.co.uk   Feb 24



Re: Forcing website menus to reveal themselves

2018-02-23 Thread Jim Nagel
Richard Ashbery  wrote on 23 Feb:
> Is there any way of showing Javascript driven drop-down menus?

Try inspecting the code of the site (in Netsurf press F8) in a text 
editor.  Search for a unique-ish word that is used in one of the 
menus.

You might find a bunch of  stuff matching all the menu words to a 
specific URL within the site, including the menu words that would 
appear as a drop-down in the mainstream browsers.

I recently found this to be the case in one site I use a lot, so I 
concocted myself a little "menu-bypass.html" page that takes me direct 
to any page I want.


(PS:  If this works for you, howbout writing it up as a hint&tip for 
Archive?)


-- 
Jim Nagel www.archivemag.co.uk
|| See you at the show?   www.riscos-swshow.co.uk   Feb 24



Re: linking to root of website, not root of drive

2018-02-23 Thread Rob Kendrick
On Fri, Feb 23, 2018 at 02:18:18PM +, Jim Nagel wrote:
>  - The distant server (probably running on Linux) does not care about 
> RiscOS filetypes and Netsurf correctly displays pages from there when 
> my !2018.css has RiscOS filetype as text

That's because it will be using the file extension to decide what
content type to tell the browser, where WebJames uses the RISC OS
metadata.

>  - The local development server (Webjames) does a successful GET of 
> !2018.css whatever its RiscOS filetype, but Netsurf does not display 
> pages correctly when !2018.css is Ro-filetyped as text, and *does* 
> display them correctly when !2018.css Ro-filetype is changed to CSS.

See above.

B.



Re: Forcing website menus to reveal themselves

2018-02-23 Thread Brian Jordan
On 23 February 2018 13:51:14 GMT+00:00, Tim Hill  wrote:

>I have never been able to get CSS-only drop-down menus to work in NS.

Nor I.  Typical is the "Results" tab in www.wodql.org.uk which behaves as 
expected when viewed in all other browsers I've tried; similarly the overflow 
of the last menu item, which could be related, is peculiar to NS. 


-- 
Sent from my Android tablet.