HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.

learn more… | top users | synonyms

1
vote
2answers
151 views

Hide admin menu if no admin option is available

If you have a menu "Admin tasks" and different admin tasks (like 10) that you could separately assign to each user, but there are users who don't have any admin tasks, how would you deal with "Hiding ...
0
votes
1answer
124 views

What's the best method for ignoring the BBCode between <code> tags in a full-post BBCode parser?

To clarify on the title a bit more, this is for a plugin for my forum. I'm doing this: div.html( parser( div.html() ) ) When sending the html string to the parser, of course I get something like: ...
0
votes
0answers
21 views

MVC: Inserting a view from a SubController to its Parent controller

I have 2 controllers: 1 top level controller,MainController, and a SubController, which MainController has an instance of and controls. The SubController has a Subview which goes inside the MainView ...
0
votes
0answers
82 views

Managing Login Authentication/Webpage session: Can client side javascript/JQuery access either a session variable or json variable in html?

Short version: A variable is stored in a session variable req.session.userName and also in the json sent with res.render('/', {username: value}). How can I access either of those variables from inside ...
0
votes
0answers
26 views

Decoupling HTML pages from App deployment

I work on an app where offline functionality is an integral part of the app. When small tweaks are necessary for the HTML pages, we need to redeploy the app in order for the changes to take effect ...
0
votes
0answers
326 views

Benefit of using Data URI to embed images within HTML document and its cross-browser compatibility

I want to embed an image using Data URI within HTML document so that we don't need image as a separate attachment, we get just one HTML file that contains the actual image. What are its advantages and ...