Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Show all tips in one place
25th March, 13:02
Post: #1
[Solved] Show all tips in one place
Hello! I'm trying to make a menu like nationalgeographic.com in drupal.
I have a horisontal menu and want show all my tips-windows in one place, relative page. How i can make this?

I see this thing in http://craigsworks.com/projects/qtip2/. Your owl tips showing in one place
Find all posts by this user
Quote this message in a reply
25th March, 18:55
Post: #2
RE: Show all tips in one place
That's done using [url=http://craigsworks.com/projects/qtip/docs/reference/#position]the position.target property[url].

For example:
JS Code
$(document).ready(function() {
    $('.selector').qtip({
        position: {
            target: $('#targetSelector')
        }
    });
 
});

Working demo:

http://jsfiddle.net/kiddailey/aV8er/
Find all posts by this user
Quote this message in a reply
26th March, 19:59
Post: #3
RE: Show all tips in one place
Thank you!
But i'm dont know where i must write it?

Im js file i see the line:
JS Code
...position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:30,mouse:true,screen:false,scroll:true,resize:true}...


It's is it? If yes, how compose it with new code? Sorry, i don't know syntaxis
Find all posts by this user
Quote this message in a reply
27th March, 03:36
Post: #4
RE: [Solved] Show all tips in one place
Replace that first "target:false" with "target:" and the jQuery selector for the element you want to point at, just like in my examples above.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  show fixed on the first time cyberziz 2 1,257 11th March 08:29
Last Post: cyberziz
  How to show the tooltip programmatically? overthetop 2 2,214 30th November 10:29
Last Post: overthetop
  Forcing Tips to Close Before Next Opens... PrimaryNumbers 10 2,579 17th August 16:07
Last Post: Craig



User(s) browsing this thread: 1 Guest(s)