Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Opera and showing cell titles
04/05/2011
17:49
Avatar
mark_ablov
New Member
Members
Forum Posts: 2
Member Since:
04/05/2011
sp_UserOfflineSmall Offline

Hello.

In Opera-browser titles for cells do not show.

To fix it i change return value on mouseover event:

$(ts).bind('mouseover',function(e) {
    ptr = $(e.target).closest("tr.jqgrow");
    if($(ptr).attr("class") !== "subgrid") {
        $(ptr).addClass("ui-state-hover");
    }
    return true;
})...

Why you want to prevent default action?

That's why Opera can not show tooltip.

05/05/2011
00:50
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Mark!

It sounds very interesting what you found out. The best seems to me to remove any "return" (neither "return false;" nor "return true;") from the code of mouseover and mouseout event handler.

Best regards
Oleg 

05/05/2011
02:30
Avatar
mark_ablov
New Member
Members
Forum Posts: 2
Member Since:
04/05/2011
sp_UserOfflineSmall Offline

Yes it looks like a correct way too.

Because return value of event handler just check for 'false'.

We can return anything (return {test: '333'};, for example), and it works.

I paste 'return true'  to improve readability of code and prevent writing 'return false' again :)

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
38 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information