Ajax Preview popup on hover not click (General)

by Eric, Monday, August 10, 2009, 05:22 (5375 days ago)

Is it possible to get the preview pop up when its hovered over so users don't have to click?

I've fiddled around with the files and changed a fair few things already, I just can't seem to be able to change this.

Ajax Preview popup on hover not click

by Laurence ⌂ @, Edinburgh, Scotland, Monday, August 10, 2009, 10:56 (5375 days ago) @ Eric

Change the onclick handler in the generated link to onmouseover? Not sure which file that'll be in, but that might work (depending on what other stuff is going on in the background).

Ajax Preview popup on hover not click

by Eric, Tuesday, August 11, 2009, 00:28 (5375 days ago) @ Laurence

Ha ha

That's what I wanted to do I was hoping someone would know what that file is. (table view btw).

Avatar

Ajax Preview popup on hover not click

by Alex ⌂, Tuesday, August 11, 2009, 06:55 (5374 days ago) @ Eric

Hi Eric,

That's what I wanted to do I was hoping someone would know what that file is. (table view btw).

For the table view: templates/default/subtemplates/index_table.tpl.inc
Search for onclick="ajax_preview

Alex

Ajax Preview popup on hover not click

by Eric ⌂, Tuesday, August 11, 2009, 06:55 (5374 days ago) @ Eric

I found the file to do it last night, it was index_table.tpl.inc for those who use table view.

The Ajax preview onclick action was there and I changed it to onmouseover.

It didn't quite work how expected though, it had trouble appearing in time and kept appearing all over the page.

That sounds strange. Isn't the ajax function the same in

by kt007, Thursday, August 13, 2009, 06:17 (5372 days ago) @ Eric

both view modes?

That sounds strange. Isn't the ajax function the same in

by Eric ⌂ @, Friday, August 14, 2009, 09:08 (5371 days ago) @ kt007

I'm sure it is, I just don't allow the other views on my forum. Its all rather complicated when it comes to my layout.

Ajax isn't that great anyway, I'll just leave it for mouse click.

RSS Feed of thread