Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^5: mini thread navigation for perlmonks

by Anonymous Monk
on Aug 07, 2013 at 08:37 UTC ( #1048292=note: print w/replies, xml ) Need Help??

in reply to Re^4: mini thread navigation for perlmonks
in thread mini thread navigation for perlmonks

Which browser do you use?

firefox 17 something

If the navi doesn't appear fixed in the top right corner, then there's really a problem with the css.

Hmm, maybe its not being loaded?

I'll try loading it explicitly with

javascript:(function(){ $('<link rel="stylesheet" type="text/css" href="https://raw.github" >').appe +ndTo("head"); })()

Aha, its not being loaded , finally provoked a message Error: The stylesheet was not loaded because its MIME type, "text/plain", is not "text/css".

update: apparently this is a feature not a bug, and apparently also its abuse to use raw.github like that, so

So, if you could post/publish/maintain a version of the latest js/css in <readmore><c></c></readmore> in the root node for example, and then perlmonks can link to it (with first code tags (abspart=1) being the JS and second(abspart=2) tags the CSS) like this

javascript:(function(){ $('<script src="?;displaytype=displaycode;node_id=1048124;abspart= +1"></script>').appendTo("head"); $('<link rel="stylesheet" type="text/css" href="?;displaytype=disp +laycode;node_id=1048124;abspart=2" >').appendTo("head"); })()

This way of linking is used for css all the time on perlmonks, example themes for Anonymous Monk or try out themes without changing display settings

Firefox likes it, there is no http/https/mimetype to complain about :)

Replies are listed 'Best First'.
Re^6: mini thread navigation for perlmonks
by tinita (Parson) on Aug 17, 2013 at 21:22 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1048292]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2018-11-21 16:39 GMT
Find Nodes?
    Voting Booth?
    My code is most likely broken because:

    Results (244 votes). Check out past polls.