Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
ako_boxover
Bringing the Boxover tooltips script to Textpattern.
Howdy all. Here’s another plugin from myself, a relatively simple one this time. The point of this plugin is to easily allow one to add custom tooltips using JavaScript to one’s site. I haven’t had time yet to add a post to my site with the docs, so for now, you’ll just have to check out the help file. I hope I made it such that it’s easy enough to understand.
As always, I’m open to suggestions / feature req’s / ideas / monies / food / almost anything.
Last edited by akokskis (2006-08-02 17:48:48)
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Wow! That’s very cool Adrian! Will test it out immediately!
Edit
I experienced some hickupps. So I dug into your plugin and found out that the tag for the javascript code on a page should be <code><txp:ako_boxover_script /></code> and not <code><txp:ako_boxover_js /></code>
Last edited by creativesplash (2006-04-06 04:47:02)
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Thanks for this plugin. I already thought to use this to show last comments as box over the “comment invitation link”….. there are plenty of usecases. thank you
Offline
#4 2006-04-06 19:57:30
- fritz1903
- Member
- From: Berlin/Leipzig, Germany
- Registered: 2005-10-24
- Posts: 13
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Thanks for the PlugIn, I think it’s a good extension for Textpattern. My Problem is that the boxover is beneath other elements on the website i work on. For example: I made a boxover for a newsletter subscriber-form – but the box shows up there in the background with input-fields and text in front of it. I tried to change the CSS z-index with an added class, but it didn’t help.
Maybe I did something wrong?! :-)’
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
@creativesplash: Oops. I’ll fix that little bug up in the next release, which should be within a few days or so.
@fritz1903: Odd… I’m not entirely too sure as to what to say, other than messing with the z-index. What’s this site? Maybe if I saw it, I might be able to help?
Offline
#6 2006-04-06 21:28:36
- fritz1903
- Member
- From: Berlin/Leipzig, Germany
- Registered: 2005-10-24
- Posts: 13
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Just take a look at this: http://www.massivevibessound.de/ (ignore the very unready design)
Left on the sidebar is the newsletterform. I think I must have a deeper look into my seven css-files – i don’t really think it’s another than a css-thing.
Short view of the code:
<code>
<div id=“main”> (z-index: 10)
<div id=“col1”> (thats the sidebar with -> z-index: 3)
<div id=“col1content”>newsletter-form</div>(z-index: 4)
</div>
<div id=“col3”> (z-index: 1)
<div id=“col3content”></div> (z-index: 2)
</div>
</div>
</code>
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
I think, and I might be wrong, but the problem here is that you’re wrapping the entire form in a span tag. Try getting rid of that span tag, or changing it so that it doesn’t wrap the entire form.
Offline
#8 2006-04-06 21:52:54
- fritz1903
- Member
- From: Berlin/Leipzig, Germany
- Registered: 2005-10-24
- Posts: 13
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Thanks for your quick response. I’ve tried it with p, span, div -Tags – always the same problem. Also if I place a text with a “boxover” before the form – the box will be in the background. :-( i will work on the gallery now – maybe i get it later or tommorrow.
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Howdy all. Here’s an update to this plugin, ako_boxover, bringing it to v.2
New in this version is the ako_boxoverImg tag, which is self closing, and has “src” (image source), “alt” (image alt text), and “class” (img class) attributes.
Also, I fixed the bug that creativesplash noticed, although you can now either use <code><txp:ako_boxover_js /></code> or <code><txp:ako_boxover_script /></code> to actually call the JavaScript file (I did that for legacy reasons, so that you don’t have to change anything if you don’t want to).
As always, thanks for the continued support. Comments / suggestions / etc are always welcome and appreciated.
Last edited by akokskis (2006-05-05 21:55:26)
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Just wanted to let everyone know that there now exists an info page.
That’s all for now.
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Hello folks. Announcing the update to v.3.
With this update comes two new attributes for the <code><txp:ako_boxoverImg /></code> tag, and they are id and name, both of which are for calling image info from the TXP images tab.
As well, now both tags (<code><txp:ako_boxoverImg /></code> and <code><txp:ako_boxover></code>) support the calling in of forms for the boxheader and boxbody attributes. This is done like so: <code>boxbody=“form:the_boxbody_form”</code>.
Oh, and of course, with this update, I’ve updated the included boxover script to v. 2.1 (17th June, 2006).
Comments / suggestions / etc are always welcome.
Offline
Re: [plugin] [ORPHAN] ako_boxover. Boxover tooltips JS.
Hey Cool! The image display part of it is really cool! I’ll test it out today. Thank you!
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline