Changeset 107 for trunk/web-app


Ignore:
Timestamp:
Jan 22, 2010, 6:37:01 PM (11 years ago)
Author:
duh
Message:
Location:
trunk/web-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/css/wizard.css

    r99 r107  
    5656}
    5757
     58.wizard .element .input .isExample {
     59    color: #006DBA;
     60    background-color: transparent;
     61    border: 0px;
     62    input: disabled;
     63}
     64
     65
    5866.wizard .error {
    5967    display: block;
     
    8795}
    8896
     97.wizard .element .helpIcon {
     98    display: inline-block;
     99    margin-top: 4px;
     100    background: url(../images/icons/famfamfam/help.png) no-repeat left top;
     101    width: 16px;
     102    height: 16px;
     103}
     104
     105.wizard .element .helpContent {
     106    display: none;
     107}
     108
    89109.wizard .element .help {
    90110    vertical-align: top;
  • trunk/web-app/js/wizard.js

    r105 r107  
    1818        // http://code.google.com/p/fbug/issues/detail?id=1899
    1919        var wizard = $('div#wizard')
    20         wizard.html('<span style="color:red;font-size:8px;">You are using firefox 3.6, note that firefox 3.6 in combination with firebug (latest 1.6X.0a3) and XMLHttpRequest enabled in the console, break the workings of this wizard... Either disable console XMLHttpRequests, disable firebug altogether or downgrade to Firefox 3.5.7 instead</span>' + wizard.html())
     20        wizard.html('<span style="color:red;font-size:8px;">Firefox 3.6 contains <a href="http://code.google.com/p/fbug/issues/detail?id=2746" target="_new">a bug</a> in combination with Firebug\'s XMLHttpRequest spy which causes the wizard to not function anymore. Please make sure you have firebug\'s XMLHttpRequest spy disabled use use Firefox 3.5.7 instead...</span>' + wizard.html())
    2121    }
    2222
     
    2828function attachHelpTooltips() {
    2929    // attach help action on all wizard help icons
    30     $('div#wizard').find('div.help').each(function() {
    31         $(this).find('div.icon').qtip({
     30    $('div#wizard').find('div.helpIcon').each(function() {
     31        $(this).qtip({
    3232            content: 'leftMiddle',
    3333            position: {
     
    4444                padding: 10,
    4545                textAlign: 'center',
    46                 tip: true, // Give it a speech bubble tip with automatic corner detection
    47                 name: 'blue' // Style it according to the preset 'cream' style
     46                tip: true,
     47                name: 'blue'
    4848            },
    49             content: $(this).find('div.content').html(),
     49            content: $(this).parent().parent().find('div.helpContent').html(),
    5050            show: 'mouseover',
    5151            hide: 'mouseout'
    5252        })
    53     })
     53    });
    5454}
Note: See TracChangeset for help on using the changeset viewer.