Comments (8)
The tool tip is caused by the "title" attribute\ in the fieldset tags. The Jwizard js file adds them to the fieldset tages. Just use Jquery to remove the "title attribute"
from jwizard.
Thanks cgoi830,
I did as you suggested, it did remove the tooltips, but it also removed the title at the top of the Wizard page. The way I have setup the wizard I'm using the title at the top of the page, which uses the fieldset tag. I just want to kill the tooltips.
Maybe change the opacity for just the mouse over the fieldset area, which is what I'm trying to remove without destroying the title at the top of the wizard.
I have searched high and low on the web but still no luck. Any other suggestions would be very welcomed.
from jwizard.
Hi, Having had a look at the ourse Ithink it would be good to provide the developer a choice of tags to use perhap a data attribute? Something like data-jwizard-title="title1" and then instead of picking up .attr('title') .data('jwizard-title') could be used. I'm happy to knock up an example or a patch for the repo.
from jwizard.
As of the latest release, you can use data-title
in place of title
. (title
will be checked for first, so it will take priority)
from jwizard.
Dominic I still think you should go with data-jwizard-title, the reason is that there less chance of there being another plugin or even the developer having another data-title on their page which would clash with jWizards one. Maybe not directly with jWizard but perhaps from their side.
from jwizard.
Fair enough, I will include this change as part of the next release.
from jwizard.
Here is a sniplet of the code I used to hide tool tips. It works great but I'm sure there is a better method.
//------Hide Title of fieldsets
var tempTitle = "";
$('fieldset[title]').hover(
function(e){
e.preventDefault();
tempTitle = $(this).attr('title');
$(this).attr('title', '');
}
,
function() {
$(this).attr('title', tempTitle);
}
);
//------Hides titles of additional tags I created within a fieldset
var tempTitle2 = "";
$('h2.sliderLabel[title], div.infoHelpButton[title], div p.infoTxt[title]').hover(
function(e){
e.preventDefault();
tempTitle2 = $(this).attr('title');
$(this).attr('title', '');
}
,
function() {
$(this).attr('title', tempTitle2);
}
);
from jwizard.
The data-jwizard-title
attribute is now in place.
from jwizard.
Related Issues (20)
- Bring the documentation up-to-speed HOT 1
- Feature Request HOT 2
- next or bind 'jwizardchangestep' not work HOT 5
- Layout of elements HOT 4
- Reliance on jQuery UI HOT 3
- no such method 'changeStep' HOT 3
- Validation of requied input before moving to next page HOT 10
- finish button allways enable HOT 2
- Cancel button should return wizard to first step HOT 2
- Use of class causes minimization issues HOT 1
- Crash ("n is undefined") if Finish button disabled - solved HOT 2
- jwizard does not work in IE and says “Expected identifier, string or number” HOT 1
- $.widget is undefined HOT 3
- Unable to Declare Static Content HOT 6
- Do not proceed to the next step if it does not exist
- Bug in option read
- Remove Validation when moving back to the previous item HOT 2
- Layout of buttons when hiding the cancel button
- How to enable finish button? HOT 3
- How to add steps dynamically to jWizard?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwizard.