$('a').tipsy({gravity: 'n'}); // nw | n | ne | w | e | sw | s | se
The title(s) will be used as the tooltip text.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
BTW I'm using PowerTips - sexier
[Require jQuery 1.7 or later]
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
Last edited by AndrewGSW; 08-29-2012 at 09:40 PM..
<script type="text/javascript">
$('a').powerTip({placement: 's'}); // nw | n | ne | w | e | sw | s | se
</script>
Notice the two pairs of apostrophes. One needs to be exact
BTW I notice you still have a transitional doctype but are using HTML5 attributes. But I'll say no more.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
Last edited by AndrewGSW; 08-29-2012 at 11:32 PM..
^^ that's whats at my test site, and it's not working........
Works for me! Perhaps the error lies elsewhere..
Ensure that you load the jQuery library before the PowerTip file.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
You need to wait for the page to be ready before you can attach powerTip to elements. The elements DO NOT EXIST until the page has fully loaded.
Didn't I already mention this previously(?).
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
<script type="text/javascript">
$(document).ready(function () {
$('a').powerTip({placement: 's'}); // nw | n | ne | w | e | sw | s | se
});
</script>
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
If you only want to target specific elements then give them all a class and apply powerTip to the class instead.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
Your copying and pasting skills are somewhat lacking:
Code:
if (!fileInput == '' || fileInput == '')
will always happen because it is checking if fileInput is NOT empty or it IS empty.
Code:
if (!fileInput || fileInput == '')
Similarly for remoteInput.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS