phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

How to put cursor hand when mouse over smilies?


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Fri Jan 02, 2009 3:59 pm 
Post subject: How to put cursor hand when mouse over smilies?

Hy!

I am using Super Quick Reply MOD, but there is one small problem. There is no cursor hand when I put the mouse over the smilies. icon_sad.gif Does anyone have any idea how to do that? icon_biggrin.gif

Thanks!

_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
lumpy burgertushie
Board Member



Joined: 18 Nov 2008

Posts: 266


flag
PostPosted: Sat Jan 03, 2009 1:58 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

there is no cursor hand here when you hover over smilies.

that is not normal behaviour.

robert
Back to top
Chapter 24
Board Member



Joined: 29 Dec 2008

Posts: 48



PostPosted: Sat Jan 03, 2009 3:26 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

Hi, I'm guessing Sylver Cheetah means when you are composing a message and hover over the group of smilies on the 'post a reply' screen. I get a cursor hand both here and on my forum (with the Super Quick-Reply mod installed on it) when hovering over smilies in the 'post a reply' window. Sorry I can't say how to fix it if it's not working though.
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Sat Jan 03, 2009 4:43 pm 
Post subject: Re: How to put cursor hand when mouse over smilies?

Yes, you are right. icon_wink.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
lumpy burgertushie
Board Member



Joined: 18 Nov 2008

Posts: 266


flag
PostPosted: Sat Jan 03, 2009 7:35 pm 
Post subject: Re: How to put cursor hand when mouse over smilies?

ah I see, you have to be using some crazy browser like IE for that to happen.
It does not happen with FF.

robert
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Sun Jan 04, 2009 9:50 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

When you put cursor over login/logout you see cursor hand. That is what I want. icon_smile.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
lumpy burgertushie
Board Member



Joined: 18 Nov 2008

Posts: 266


flag
PostPosted: Sun Jan 04, 2009 10:54 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

I was mistaken. apparently it does work in the normal smilie box in a standard phpbb2.
It does not work here on this board however.

anyway,
here is how you fix it:

open:
viewtopic_quickreply.tpl

find:
Code:
<td><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" onmouseover="this.style.cursor='hand';" onclick="emoticon('{smilies_row.smilies_col.SMILEY_CODE}');" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></td>
   

replace with:
Code:
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
            
Back to top
Ptirhiik
Board Member



Joined: 19 Nov 2008

Posts: 114


flag
PostPosted: Sun Jan 04, 2009 11:17 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

'hand' is not correct: it should be 'pointer' in most of cases. BTW, won't a simple style="cursor: pointer;" work ? (I didn't try)
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Sun Jan 04, 2009 11:46 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

lumpy burgertushie wrote:
I was mistaken. apparently it does work in the normal smilie box in a standard phpbb2.
It does not work here on this board however.

anyway,
here is how you fix it:

open:
viewtopic_quickreply.tpl

find:
Code:
<td><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" onmouseover="this.style.cursor='hand';" onclick="emoticon('{smilies_row.smilies_col.SMILEY_CODE}');" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></td>
   

replace with:
Code:
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
            

This worked! Thanks a lot, you are a nice guy. icon_wink.gif Hugs and kisses! icon_biggrin.gif

_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
RMcGirr83
Board Member



Joined: 01 Dec 2008

Posts: 53
Location: East Lyme, CT


flag
PostPosted: Sun Jan 04, 2009 11:46 am 
Post subject: Re: How to put cursor hand when mouse over smilies?

Ptirhiik wrote:
'hand' is not correct: it should be 'pointer' in most of cases. BTW, won't a simple style="cursor: pointer;" work ? (I didn't try)


That's what I have been reading that is stated to work. Should be cross browser by now as well (IIRC, NS6 didn't recognize cursor: pointer; but preferred cusor: hand;).

http://www.w3.org/TR/CSS2/ui.html#cursor-props

_________________
Rich McGirr
Back to top
cherokee red
Board Member



Joined: 19 Nov 2008

Posts: 19
Location: Airdrie, UK


flag
PostPosted: Mon Jan 05, 2009 3:50 pm 
Post subject: Re: How to put cursor hand when mouse over smilies?

Probably not the best thing to do, but I usually add both in to make sure it works in all browsers icon_smile.gif
Code:
style="cursor: pointer; cursor: hand;"

_________________
phpBB MODs // My Music // Romance Designs :: coming soon
Former phpBB Moderator
Are you a musician in the Glasgow area interested in acoustic events? The ArtBox
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 4 Hours
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0483 seconds using 16 queries. (SQL 0.0088 Parse 0.0009 Other 0.0386)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo