Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › can I use qtip to replace all tooltips at once
New Posts  All Forums:Forum Nav:

can I use qtip to replace all tooltips at once

post #1 of 2
Thread Starter 
I need to replace all the tooltips on a page to get around the problem of IE having them disappear after a few seconds.

right now I'm doing this...

Code:
$(document).ready(ImportantFunction);
        function ImportantFunction() {
            Sys.Application.add_load(function () {
$find("ctl31").add_propertyChanged(viewerPropertyChanged);
            });
        }

        function viewerPropertyChanged(sender, e) {
            if (e.get_propertyName() === "isLoading") {
                var viewer = $find("ctl31");
                if (!viewer.get_isLoading())
{
$('table[title]').qtip();
$('td[title]').qtip();
$('input[title]').qtip();
$('a[title]').qtip();
}
            }
        }//*/
Is there an easy way to just have all the title attributes become qtips?
    
CPUMotherboardOSMonitor
2500k P8P67 Windows 7 Ultimate x64 22" phillips 
KeyboardPowerMouseMouse Pad
Cheap Logitech Antec Earthwatts 650W Razer Deathadder Razer eXactMat 
  hide details  
Reply
    
CPUMotherboardOSMonitor
2500k P8P67 Windows 7 Ultimate x64 22" phillips 
KeyboardPowerMouseMouse Pad
Cheap Logitech Antec Earthwatts 650W Razer Deathadder Razer eXactMat 
  hide details  
Reply
post #2 of 2
Code:
$(document).ready(ImportantFunction);

function ImportantFunction() {
Sys.Application.add_load(function () {
$find("ctl31").add_propertyChanged(viewerPropertyChanged);
});
}

function viewerPropertyChanged(sender, e) {
if (e.get_propertyName() === "isLoading") {
var viewer = $find("ctl31");

if (!viewer.get_isLoading()) {
$('[title]').qtip();
}
}
}
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › can I use qtip to replace all tooltips at once