What options are there for customizing a scrollbar with dojo 1.8? - dojo

I'm currently working on a dojo application, but have a need for some customization of the scroll bars. Basically anything that mimics any one of the multiple jQuery based custom scrollbar plugins should be sufficient.
Any ideas?

there doesn't seem to be something out there yet mimicking the jquery scrollbar plugins, you can customize their look using css though !
Lucian
Source:
http://dojo-toolkit.33424.n3.nabble.com/Custom-Scrollbars-tp2776041.html

Related

Bootstrap buttons for DataTables

Im In need of assistance when it comes to implementing Bootstrap buttons in a DataTable where the purpose is to toggle the columns with these buttons.
This is how it looks like by default in the DataTables design, what I am trying to do is to use the Bootstrap design instead and also place the buttons to the left of the table which seem rather impossible...
If you have any suggestions please feel free to discuss it!
Check This
Bootstrap 3
This example shows DataTables and the Buttons extension being used with the Bootstrap framework providing the styling. The DataTables / Bootstrap integration provides seamless integration for DataTables to be used in a Bootstrap page.
https://datatables.net/extensions/buttons/examples/styling/bootstrap.html

Can I have an horizontal panel using bootstrap?

I currently use jquery mobile horizontal panel:
http://demos.jquerymobile.com/1.3.2/widgets/panels/
Is it possible to have the same using bootstrap?
You can absolutely do the above panels using Bootstrap.
Check the following Third Party Libraries.
http://rosskevin.github.io/bootstrap-material-design/material-design/drawers/
http://carolineamaba.com/bootstrap-drawer/
Easy tutorials are available in w3schools.com
https://www.w3schools.com/howto/howto_js_sidenav.asp

MVC4 and Responsive Design Template

When used with responsive design templates, my MVC sites are not showing up on mobile the way they do for the demo template. They are always too wide or too narrow. I'm using all the same CSS elements as the purchased templates and not referencing Site.css at all. Is there something built in to MVC here that would be overriding css elements?
Firebug has a Responsive Design View. Try using that tool to help you locate what went wrong.
Okay, it must have been something subtle in my css but seems to be working now. I just need to pour over my css and make sure a single element isn't throwing it off.

ExtJS - Changing default button styles and fonts

I have this requirement where I have to change the default styles on my Ext JS application. I am not talking about changing stuff in CSS files yet. I am not that ambitious yet. Here is what I am looking for:
Suppose I need a Submit and Cancel buttons, I use xtype:button and text:Save ( or Cancel ). This will render buttons with the text on them. What should I do if I want to change the look and feel of the button? Or replace the button with a cool Save or Cancel image?
Right now I have all the texts on the application with the default font that ExtJS shows. What am I supposed to do if I want all the text on the application changed to a different font? Everything right from the data in forms/grids and the titles of each component should be changed to some other font my customer prefers. What am I supposed to do?
I understand these are very basic and a generic questions, but I am looking for a good headsup before I proceed with my task.
Thank you all in advance. Waiting for answers :)
Update: So, I found out how we deal with CSS and change the fonts. Can anyone help about the Chaning the look and feel for Submit/Cancel buttons.
I recommend you to use SASS and compass to build your own themes, or better said to change one the existing themes. In the Ext JS documentation you can find the css variables which you can set according to your needs.
If you are not ready for theming with SASS just yet take a look at this example of button configs from the sencha docs:
Stanadalone Example page: http://docs.sencha.com/extjs/4.1.3/extjs-build/examples/button/button.html
CSS that adds customized images to the buttons: http://docs.sencha.com/extjs/4.1.3/extjs-build/examples/button/button.css
JS that shows button configs: http://docs.sencha.com/extjs/4.1.3/extjs-build/examples/button/button.js
Essentially this shows how to use iconCls property on the button config along with a simple CSS class to add desired image to your button.

Dojo simple lightbox

I've searched the web for a simple lightbox using dojo, and I've had no luck whatsoever!
Most of the examples use the dojo Dialog which IMHO is quite fugly.
I would like the ability just to display an arbitrary div with dimmed background, and I'll be in charge complete of what content is shown.
Anyone have any ideas?
Have you looked in dojox.image? There are both Lightbox and LightboxDialog variations. The plain lightbox doesn't have much styling. The Dialog one probably offers a choice of Dijit themes.
Look in the svn trunk > /dojox/image/tests. There are plenty of examples.
http://svn.dojotoolkit.org/src/dojox/trunk/image/tests/
Tip : Prevent multiple instances of Lightbox ! Use a singleton instead !