Created
July 12, 2012 14:05
-
-
Save irwinv/3098324 to your computer and use it in GitHub Desktop.
qtip plugin bug (resolu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... dans mon Head | |
$(document).ready(function(){ | |
var sujet = $('div.infos input.sujet').val(); | |
var desc = $('div.infos input.desc').val(); | |
var idevent = $('div.infos input.idevent').val(); | |
var hrdebutevt = $('div.infos input.heuredebutevent').val(); | |
var hrfinevt = $('div.infos input.heurefinevent').val(); | |
var html = '<strong><a href="eventback.php?eventbackid='+idevent+'">'+sujet+'</strong></a>'; | |
html += '<br />De : '+hrdebutevt+' à '+hrfinevt+'<br /><p>'+desc+'</p><br />'; | |
html += 'En savoir + <a href="eventback.php?eventbackid='+idevent+'">Cliquez ici</a>'; | |
$('div.tblsubject a').qtip({ | |
content:{ | |
text: html | |
}, | |
position: { | |
corner: { | |
target: 'topRight', | |
tooltip: 'bottomRight' | |
}, | |
adjust: { | |
screen: true | |
} | |
}, | |
show:{ | |
solo: true | |
}, | |
hide: { | |
fixed: true | |
}, | |
style: { | |
border: { | |
width: 3, | |
radius: 8 | |
}, | |
width: 180, | |
margin: 10, | |
textAlign: 'left', | |
tip: true, | |
name: 'cream' | |
}, | |
tip: true | |
}); | |
}); | |
.... dans mon Body | |
...ca boucle | |
<div id="containerevent" style="position: relative; min-height: 50px"><div class="tblsubject" style="margin-top: 0px; width: 100%"> | |
<a href="#" title="" alt="TEST33" class="qtipon"> | |
<div class="labelvaluematrix" style="background-color: #FFD700;"></div> | |
</a> | |
<div class="infos"> | |
<input type="hidden" value="TEST33" class="sujet" /> | |
<input type="hidden" value="" class="desc" /> | |
<input type="hidden" value="5" class="idevent" /> | |
<input type="hidden" value="06:30" class="heuredebutevent" /> | |
<input type="hidden" value="15:00" class="heurefinevent" /> | |
</div> | |
</div> | |
<div class="tblsubject" style="margin-top: 10px; width: 100%"> | |
<a href="#" title="" alt="SEANCE CIE" class="qtipon"> | |
<div class="labelvaluematrix" style="background-color: #A0A0A0;"></div> | |
</a> | |
<div class="infos"> | |
<input type="hidden" value="SEANCE CIE" class="sujet" /> | |
<input type="hidden" value="" class="desc" /> | |
<input type="hidden" value="6" class="idevent" /> | |
<input type="hidden" value="06:30" class="heuredebutevent" /> | |
<input type="hidden" value="12:00" class="heurefinevent" /> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ça marche nickel, ca bug pas c'est impec thx