Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('a.addTarget').each(function(){
- $(this).qtip(
- {
- content: {
- text: $("#ctoPop")
- },
- position: {
- my: 'left top',
- at: 'right top',
- adjust: { screen: true }
- },
- show: {
- event: 'click',
- solo: true
- },
- hide: {
- event: 'unfocus'
- },
- style: {
- classes: 'ui-tooltip-shadow ui-tooltip-light',
- tip: {
- corner: 'left top',
- mimic: 'left center',
- height: 30,
- width: 12
- }
- }
- })
- .click(function(e) {
- e.preventDefault();
- });
- });
- And the DIV:
- <div id="ctoPop" style="display:none">
- <input type="text" id="ClickAction0Title" name="data[ClickAction][0][title]">
- </div>
Add Comment
Please, Sign In to add comment