Click here to Skip to main content
15,904,351 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: retrieve and display image from SQL server in html Pin
Member 1057920218-Feb-14 7:46
Member 1057920218-Feb-14 7:46 
GeneralRe: retrieve and display image from SQL server in html Pin
Richard Deeming18-Feb-14 8:04
mveRichard Deeming18-Feb-14 8:04 
GeneralRe: retrieve and display image from SQL server in html Pin
Member 1057920218-Feb-14 8:09
Member 1057920218-Feb-14 8:09 
GeneralRe: retrieve and display image from SQL server in html Pin
Richard Deeming18-Feb-14 8:14
mveRichard Deeming18-Feb-14 8:14 
GeneralRe: retrieve and display image from SQL server in html Pin
Member 1057920218-Feb-14 8:41
Member 1057920218-Feb-14 8:41 
GeneralRe: retrieve and display image from SQL server in html Pin
Richard Deeming18-Feb-14 8:59
mveRichard Deeming18-Feb-14 8:59 
GeneralRe: retrieve and display image from SQL server in html Pin
Member 1057920218-Feb-14 9:04
Member 1057920218-Feb-14 9:04 
QuestionHow to set color in whole project Pin
Member 1059282712-Feb-14 20:01
Member 1059282712-Feb-14 20:01 
hello i am use java script to change color at run time , But Problem is that when change color it set color at only one page from where i change color , How to set that color in all page ..?

I am using this code to change color
=========

C#
// theme switcher

    var scrollHeight = '60px';
    jQuery('#theme-change').click(function () {
        if ($(this).attr("opened") && !$(this).attr("opening") && !$(this).attr("closing")) {
            $(this).removeAttr("opened");
            $(this).attr("closing", "1");

            $("#theme-change").css("overflow", "hidden").animate({
                width: '20px',
                height: '22px',
                'padding-top': '3px'
            }, {
                complete: function () {
                    $(this).removeAttr("closing");
                    $("#theme-change .settings").hide();
                }
            });
        } else if (!$(this).attr("closing") && !$(this).attr("opening")) {
            $(this).attr("opening", "1");
            $("#theme-change").css("overflow", "visible").animate({
                width: '226px',
                height: scrollHeight,
                'padding-top': '3px'
            }, {
                complete: function () {
                    $(this).removeAttr("opening");
                    $(this).attr("opened", 1);
                }
            });
            $("#theme-change .settings").show();
        }
    });

    jQuery('#theme-change .colors span').click(function () {
        var color = $(this).attr("data-style");
        setColor(color);
    });

    jQuery('#theme-change .layout input').change(function () {
        setLayout();
    });

    var setColor = function (color) {
        $('#style_color').attr("href", "css/style-" + color + ".css");
    }

AnswerRe: How to set color in whole project Pin
Richard Deeming13-Feb-14 1:26
mveRichard Deeming13-Feb-14 1:26 
QuestionAdblock system Pin
Member 804117812-Feb-14 18:23
Member 804117812-Feb-14 18:23 
AnswerRe: Adblock system Pin
Richard MacCutchan12-Feb-14 21:46
mveRichard MacCutchan12-Feb-14 21:46 
AnswerRe: Adblock system Pin
Sibeesh KV29-Sep-14 2:02
professionalSibeesh KV29-Sep-14 2:02 
Questioncopy items of one dropdownlist to another one with jquery Pin
H.Goli11-Feb-14 6:38
H.Goli11-Feb-14 6:38 
AnswerRe: copy items of one dropdownlist to another one with jquery Pin
Kornfeld Eliyahu Peter11-Feb-14 6:54
professionalKornfeld Eliyahu Peter11-Feb-14 6:54 
QuestionCreating a static Map Pin
mrkeivan7-Feb-14 19:34
mrkeivan7-Feb-14 19:34 
GeneralRe: Creating a static Map Pin
Sunasara Imdadhusen21-May-14 23:43
professionalSunasara Imdadhusen21-May-14 23:43 
AnswerRe: Creating a static Map Pin
Sibeesh KV29-Sep-14 2:04
professionalSibeesh KV29-Sep-14 2:04 
QuestionBad Request Call WCF Service Jquery Ajax Pin
Ericsson Alves6-Feb-14 15:32
Ericsson Alves6-Feb-14 15:32 
QuestionSolve datetime country wise to display? Pin
pkarthionline6-Feb-14 0:46
pkarthionline6-Feb-14 0:46 
AnswerRe: Solve datetime country wise to display? Pin
Garth J Lancaster6-Feb-14 0:55
professionalGarth J Lancaster6-Feb-14 0:55 
AnswerRe: Solve datetime country wise to display? Pin
Richard Deeming6-Feb-14 2:08
mveRichard Deeming6-Feb-14 2:08 
QuestionSyntax error on IE10 but working fine on IE 8... Pin
Member 102794055-Feb-14 19:57
Member 102794055-Feb-14 19:57 
AnswerRe: Syntax error on IE10 but working fine on IE 8... Pin
Richard Deeming6-Feb-14 2:05
mveRichard Deeming6-Feb-14 2:05 
QuestionPopulating Input Fields Using Button UIs Pin
ASPnoob3-Feb-14 21:14
ASPnoob3-Feb-14 21:14 
AnswerRe: Populating Input Fields Using Button UIs Pin
Richard Deeming4-Feb-14 3:14
mveRichard Deeming4-Feb-14 3:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.