|
How to use updatePosition?
|
|
22nd June, 14:02
(This post was last modified: 22nd June 14:33 by root66.)
Post: #1
|
|||
|
|||
|
How to use updatePosition?
Hi everyone.
I'd like to understand how to fix my promblem below: so, here's my web site: http://people.irr.ru/conf/index.php If you click "Novosibirsk" link on map you can see the tooltip with a content. At the end of this content there's the link "read more" - click on it. ... so here the problem: 1. The function api.updatePosition does not work in my case cause second div appears the link "Novosibirsk", it does not recalculate its position.. but if we close this tooltip, and reopen it again - it loooks correctly. Here archieve of my test pages: http://sotnikovs.com/files/www.rar Sorry for my English. i'm just adequate |
|||
|
22nd June, 14:19
Post: #2
|
|||
|
|||
|
How to use updatePosition?
BassEast,
Great use of the tooltip first of all, and love the image map. If you want to update the tooltip osition you can do it simply by finding the parent qtip element of the element you're clicking. Here's an updated version of your myshow function which does it: JS Code
Hope this helps. Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
22nd June, 14:25
(This post was last modified: 22nd June 14:34 by root66.)
Post: #3
|
|||
|
|||
|
How to use updatePosition?
!! Thanks a lot Craig for changin' my function - it's what I wanted!
-------------------------------- Hmm.. Actually i've two more quetions: 1. How to be if i need some of my tooltips be displayed on page load? Is it possible? 2. Why the main div of tooltip does not change its width when i include some file, for example: JS Code
and this file (showarticle.php) contains the following: JS Code
i'm just adequate |
|||
|
22nd June, 14:34
Post: #4
|
|||
|
|||
|
How to use updatePosition?
No problem. Regarding the two extra questions, could you update to the latest branch revision and see if it resolves your second issue first? The files are here: http://bazaar.launchpad.net/~craig.craig...runk/files
The first part is definitely possible using the show.ready option e.g. JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
22nd June, 14:42
(This post was last modified: 22nd June 14:51 by root66.)
Post: #5
|
|||
|
|||
|
How to use updatePosition?
Do i need to update 2 files? Or the only: jquery.qtip.js ?
Updated. http://people.irr.ru/conf/index.php ... looks like - no changes by second question..(( i'm just adequate |
|||
|
22nd June, 14:50
Post: #6
|
|||
|
|||
|
How to use updatePosition?
If you're using the debug script both but if not, just the jquery.qtip.js
.
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
22nd June, 14:55
(This post was last modified: 22nd June 15:05 by root66.)
Post: #7
|
|||
|
|||
|
How to use updatePosition?
Ctrl F5...[url] http://people.irr.ru/conf/index.php[/url]
i've changed something..) but it doesn't solved the problem is still... hmm.. by the way, if i add: ready: true - shows stupid mistake: JS Code
i'm just adequate |
|||
|
22nd June, 16:46
Post: #8
|
|||
|
|||
|
How to use updatePosition?
What browser is this error occuring in? IE or others? Or both?
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
23rd June, 06:14
(This post was last modified: 23rd June 06:15 by root66.)
Post: #9
|
|||
|
|||
|
How to use updatePosition?
Craig, i probably already bore you.. but i can't resolve these 2 problems.
1. When i click "read more", adds new <div> tag with width 500px, ie it's more than the parent <div> has... but i need to recalculate the width of the main container to 500px too. I add this code to my script: JS Code
and nothing has changed.. 2. The second problem is how to turn on (to display:block) some of the tooltips? i'm just adequate |
|||
|
23rd June, 06:59
Post: #10
|
|||
|
|||
|
How to use updatePosition?
Resolved the first problem
JS Code
remains one last problem...) i'm just adequate |
|||
|
23rd June, 09:19
Post: #11
|
|||
|
|||
|
How to use updatePosition?
Craig.
Only one thing... Here: http://people.irr.ru/conf/index.php, now i have 3 cities on the map, i need one tooltip for example: "???????????" city, be displayed onload atonce. How to do this, in my case? i'm just adequate |
|||
|
23rd June, 13:34
Post: #12
|
|||
|
|||
|
How to use updatePosition?
BassEast,
Good to see you resolved the first problem, but this shouldn't be necessary. Seems you've found a library bug that I'll be fixing today! Regarding the showing onload, you need the show.ready function, but you said it produced an error? Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
23rd June, 13:45
Post: #13
|
|||
|
|||
|
How to use updatePosition?
Craig
thanks a lot for your help.Yes, that produces an error, but i found some crazy method to solve all the problems here: http://people.irr.ru/conf/index.php i'm just adequate |
|||
|
23rd June, 13:51
Post: #14
|
|||
|
|||
|
How to use updatePosition?
BassEast,
What's the crazy method? Can't seem to identify it in your code (lack of sleep maybe...). What browser is the error occuring in? I'm not seeing any in FF or Opera? IE perhaps? Also, if you're looking to show all tooltips on load and keep them there e.g. never hide, you can simply declare show and hide as false e.g. "show: false, hide: false". That way they stay visible constantly. Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
30th June, 06:26
(This post was last modified: 30th June 06:33 by root66.)
Post: #15
|
|||
|
|||
|
How to use updatePosition?
Hi Craig.
I've just almost finished the project with your cool Jquery plugin here the link: http://conference.irr.ru/ But i have some problem.. if you look at the code this line: JS Code
screen i should commented.. cause there is a mistake in file jquery.qtip.js: JS Code
I need, if i resize the window of my browser, the tooltip (if it positions at the right) rollover to the left.. or if i scroll the browser to the bottom, the tooltip Rollover to the bottom too But i dont know how to do this.. i'm just adequate |
|||
|
30th June, 12:37
Post: #16
|
|||
|
|||
|
How to use updatePosition?
BassEast,
I've just pushed a fix upstream to the development branch, could you update and tell me if it fixes the issue please? http://bazaar.launchpad.net/~craig.craig...runk/files Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
30th June, 12:44
Post: #17
|
|||
|
|||
|
How to use updatePosition?
I've just update your new files.. in my directory, but it didn't fixe my problem... (( hmm..
i'm just adequate |
|||
|
30th June, 18:07
Post: #18
|
|||
|
|||
|
How to use updatePosition?
BassEast,
Could you provide the full code your using please? Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| updatePosition() works only once | alexp | 0 | 660 |
10th May 19:30 Last Post: alexp |
|
| Using the API's updatePosition | SojournerWest | 3 | 2,276 |
29th July 11:06 Last Post: maximus8891 |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help





.