Close, Pin, Delete Options on thread list
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #11
RE: Close, Pin, Delete Options on thread list
Yes, that would work, though its javascript rather than css. Same trick though. I think all the needed code is here:

Code:
<div>
<A HREF="http://www.7173mustangs.com/images/71mustang_diagram.pdf" OnMouseOver= "image1.src='http://www.7173mustangs.com/images/download2.png'" OnMouseOut="image1.src='http://www.leefish.nl/testfish/images/pixeltest.gif'"> <IMG SRC="http://www.leefish.nl/testfish/images/pixeltest.gif" NAME="image1" BORDER="0" HEIGHT="75" WIDTH="88" ALT="PDF Format"> </A></div>


http://www.leefish.nl/mybb/thread-1330.html

I added a link in the sandbox - borrowed your image there Rocketfoot Smile. wave your mouse under the picture in the first post and you will see it. That pixel.gif is a default image in mybb, its in the images folder of the default theme.

What I did notice is that it is slow, even on a vps. So.

I tried using it on a post button. No luck so far....



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 01-18-2011 05:38 AM by leefish.)
01-18-2011 05:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #12
RE: Close, Pin, Delete Options on thread list
@RocketFoot:
Exactly what I want. You got the idea.

@leefish:
Nothing happened :/ but I think you both got the idea...

[Image: 468x602b.png]
01-18-2011 06:33 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #13
RE: Close, Pin, Delete Options on thread list
Just hover next to the find button on any page on leefish.....................


http://www.leefish.nl/mybb/thread-968-po...http://www.leefish.nl/mybb/thread-968-post-1497.ht

Tell me what you see?

Code used:

Code:
1
2
3
4
5
6
7
<A HREF="search.php?action=finduser&amp;uid={$post['uid']}" onmouseover="document.but1.src='http://www.leefish.nl/mybb/images/whut.gif'"
onmouseout="document.but1.src='http://www.leefish.nl/mybb/images/pixeltest.gif'">

<IMG SRC="http://www.leefish.nl/mybb/images/pixeltest.gif" NAME="but1" 
WIDTH="59" HEIGHT="16" BORDER="0" ALT="whut">

</A>



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 01-18-2011 06:50 AM by leefish.)
01-18-2011 06:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #14
RE: Close, Pin, Delete Options on thread list
Yes it changes the color but it is still available if the mouse isn't hover on it. I need something that will appear only if the mouse if hover the div,td...

[Image: 468x602b.png]
01-18-2011 06:54 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #15
RE: Close, Pin, Delete Options on thread list
What browser are you looking in? Not ON the find button, next to it...........


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 01-18-2011 07:42 AM by leefish.)
01-18-2011 07:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #16
RE: Close, Pin, Delete Options on thread list
"WHUT" hahaha I saw it.. Mozilla Firefox.
But can this be implemented if the mouse is over the <div>?

[Image: 468x602b.png]
(This post was last modified: 01-18-2011 08:23 AM by Skiilz.)
01-18-2011 08:15 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #17
RE: Close, Pin, Delete Options on thread list
Dunno, depends on the way you have it set up. I think NOT to be honest.

It would REALLY REALLY HELP if you actually posted the HTML. I won't steal it....

Interesting post here http://www.webmasterworld.com/css/3208265.htm


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 01-18-2011 08:38 AM by leefish.)
01-18-2011 08:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #18
RE: Close, Pin, Delete Options on thread list
I found a way around it. I'll do something different and these options will appear in all threads. I'll use the <if> to restrict it to mod and admin only.
Can someone help me with the URLs?

Close:
Delete:
Pin:

...the thread.

[Image: 468x602b.png]
01-18-2011 10:54 PM
Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #19
RE: Close, Pin, Delete Options on thread list
We can't add URL's to close, delete and pin topics.
http://community.mybb.com/thread-86518.html

[Image: 468x602b.png]
01-19-2011 07:27 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #20
RE: Close, Pin, Delete Options on thread list
It may be possible to do with Javascript, but I'm not writing up how.

My Blog
01-19-2011 07:39 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: