sandra
Offline
Posts: 41
|
 |
« on: September 01, 2010, 12:52:38 PM » |
|
For the first time I tried to install a jQuery plugin (TinyTips) but it doesn't work. What am I doing wrong?
I did the following: In WB-2.8.1. I installed the jQueryAdmin module v. 2.2. In the jQueryAdmin backend I checked Plugins - tinytips and saved in the jQueryAdmin presets folder as tinytips. Then I put the following code in a code-section of a page (as described in the helpfile of TinyTips): [[jquery?preset=tinytips]]
But nothing happens; no code is loaded into the page. Am I missing something?
|
|
|
|
|
Logged
|
|
|
|
mr-fan
Offline
Posts: 1538
|
 |
« Reply #1 on: September 01, 2010, 01:22:47 PM » |
|
hi
wrong dropletcode...
try this one:
[[jQueryInclude?preset=tinytips]]
regards martin
|
|
|
|
|
Logged
|
|
|
|
sandra
Offline
Posts: 41
|
 |
« Reply #2 on: September 01, 2010, 01:33:32 PM » |
|
Hi, thanks for the answer. But it still doesn't work.
|
|
|
|
|
Logged
|
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #3 on: September 01, 2010, 02:21:02 PM » |
|
Don't put droplet calls into code sections. Try to put it into a WYSIWYG-Section. I will fix the docs for TinyTips.
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
sandra
Offline
Posts: 41
|
 |
« Reply #4 on: September 01, 2010, 02:31:27 PM » |
|
Yes, I've put [[jQueryInclude?preset=tinytips]] in a WYSIWYG-section and now it works!
thanks!
|
|
|
|
|
Logged
|
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #5 on: September 01, 2010, 02:43:36 PM » |
|
That's great to hear.  Have fun using TinyTips.
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #6 on: September 01, 2010, 02:47:15 PM » |
|
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
sandra
Offline
Posts: 41
|
 |
« Reply #7 on: September 01, 2010, 03:57:25 PM » |
|
No, it's perfect now.
Wow, like this it is really easy to install jQuery plugins!
|
|
|
|
|
Logged
|
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #8 on: September 01, 2010, 04:40:52 PM » |
|
Hopefully it is. 
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
dbs
WebsiteBaker Org e.V.
Online
Posts: 3273
|
 |
« Reply #9 on: September 01, 2010, 05:01:11 PM » |
|
it's also easy to create your own plugin. 
|
|
|
|
|
Logged
|
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #10 on: September 01, 2010, 05:40:15 PM » |
|
Also daß DU das sagst freut mich jetzt aber.  Nein ehrlich, kein Sarkasmus! 
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
sandra
Offline
Posts: 41
|
 |
« Reply #11 on: September 03, 2010, 09:46:09 AM » |
|
Is there any documentation on how to create your own plugin?
|
|
|
|
|
Logged
|
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #12 on: September 03, 2010, 09:53:32 AM » |
|
Just look at my signature.
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
sandra
Offline
Posts: 41
|
 |
« Reply #13 on: September 07, 2010, 12:07:08 PM » |
|
I installed the scrolltotop plugin and it worked well. I made a fontsizer plugin ( http://www.fluidbyte.net/jquery-font-sizer ) and it also worked well. But when I both use them in one website, the scrolltotop droplet doesn't work well anymore. The scrolltotop-link appears on large webpages but when clicking the link nothing happens. Any clue what could be the problem?
|
|
|
|
|
Logged
|
|
|
|
mr-fan
Offline
Posts: 1538
|
 |
« Reply #14 on: September 07, 2010, 12:13:50 PM » |
|
Any clue what could be the problem? Did you've a Link? i must see the generated Output of the page to see what's wrong... regards martin
|
|
|
|
|
Logged
|
|
|
|
|
|
dbs
WebsiteBaker Org e.V.
Online
Posts: 3273
|
 |
« Reply #16 on: September 07, 2010, 03:13:06 PM » |
|
frames? can't check your site with firebug...
you can try to disable prototype.js and scriptaculous.js. for lightbox you can also use a jqueryadmin-plugin.
|
|
|
|
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Online
Posts: 3273
|
 |
« Reply #17 on: September 07, 2010, 03:41:45 PM » |
|
i think the (black-)birdie can twitter(answer) in 7 days again.
error-massage: o.easing[this.options.easing || (o.easing.swing ? "swing" : "linear")] is not a function
is in your default.jquery of fontsizer-plugin a call for easing? not? that's maybe the problem. than add easing.
|
|
|
|
|
Logged
|
|
|
|
|
|
mr-fan
Offline
Posts: 1538
|
 |
« Reply #19 on: September 08, 2010, 12:27:08 PM » |
|
ok very easy problem....but you found it self... you load the jquery core twice....in your self made preset!
in your presets you create only the needed files for the jquery plugin is needed!
->Now jquery core and so on!
->if jquery plugin need for example easing plugin (icluded preset) only tick it in the backend and not include it several times in other plugins like slides or something...this just as an example
best regards martin
|
|
|
|
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Online
Posts: 3273
|
 |
« Reply #20 on: September 08, 2010, 01:21:01 PM » |
|
today i can see all your scripts with firebug. but is to late. you self found the problem. mr-fan is right. jqueryadmin contains all needed jquery-things. others like fontsizer.js and default.css is needed for your plugin.
|
|
|
|
|
Logged
|
|
|
|
BlackBird
Offline
Posts: 1937
|
 |
« Reply #21 on: September 09, 2010, 06:35:23 PM » |
|
I'm sorry that I wasn't able to help directly, as my forum account was locked for some days, and I still have major problems browsing the forum. Fortunately, mr-fan and dbs were able to point you into the right direction.  I have added a hint to my jQueryAdmin help pages that the jQuery Core should never be loaded with a plugin. Are you going to provide the Plugin you packed to the community?
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
|