Tagged: lazyest-slides, thickbox
This topic has 1 voice, contains 71 replies, and was last updated by Developer 174 days ago.
| Author | Posts |
|---|---|
| Author | Posts |
| 17 November 2011 at 7:24 #4010 | |
|
Baf |
Hi! Nice news: I downloaded http://downloads.wordpress.org/plugin/lazyest-slides.0.3.0-beta.zip Btw, why when I’m trying click on the slide in the slide + comments page http://bafff.ru/blog/?page_id=3543&file=11-11-15_belochki/DSC_0108.jpg in FF – it just refresh the page, but IE move me to the main blog page: http://bafff.ru/blog/ Is that normal? |
| 17 November 2011 at 8:25 #4013 | |
|
Marcel |
have you checked “Show Image in Thickbox” for your slides? |
| 17 November 2011 at 8:50 #4017 | |
|
Baf |
Sorry, it was on my side – aggressive caching in browser. Now works, but not as expected… http://bafff.ru/blog/wp-content/uploads/2011/11/bug6.jpg So, now I had to delete this from my functions.php? function my_slide_onclick( $onclick, $slide ) { global $lg_gallery; if ( $lg_gallery->is_gallery() ) return; $onclick['href'] = $slide->uri( 'widget' ); return $onclick; } add_filter( 'lazyest_slide_onclick', 'my_slide_onclick', 10, 2 ); I’ll do it, but a bit later will be there an oportunity to display comments by clicking on slide, inserted in a post too? |
| 17 November 2011 at 8:52 #4018 | |
|
Baf |
IE8 behaviour is the same… |
| 17 November 2011 at 9:02 #4020 | |
|
Baf |
Do you test in Google Chrome? It is working there… But… So you want to use that box plugin? Not fancybox or smth else? Because this (now) adds scrolls to the panoramas http://bafff.ru/blog/?page_id=3543&file=panoramki/1.jpg even in Chrome |
| 17 November 2011 at 9:18 #4021 | |
|
Baf |
update! Just the first image opens as here http://bafff.ru/blog/wp-content/uploads/2011/11/bug6.jpg If I click prev-next – all is fine. But in IE there are no prev next arrows. And no areas of the image are clickable |
| 17 November 2011 at 9:58 #4022 | |
|
Marcel |
OK, thanks for testing. if ( ! $lg_gallery->is_gallery() ) |
| 17 November 2011 at 10:21 #4023 | |
|
Baf |
Sorry, but after changing that it is not working in posts and thickbox is not working too // Направляем пользователя на страницу с комментариями при клике по слайду function my_slide_onclick( $onclick, $slide ) { global $lg_gallery; if ( ! $lg_gallery->is_gallery() ) //if ( $lg_gallery->is_gallery() ) Было раньше. Заменил по совету: <a href="http://brimosoft.nl/forums/topic/slides-3-0/#post-4022" rel="nofollow">http://brimosoft.nl/forums/topic/slides-3-0/#post-4022</a> return; $onclick['href'] = $slide->uri( 'widget' ); return $onclick; } add_filter( 'lazyest_slide_onclick', 'my_slide_onclick', 10, 2 ); |
| 17 November 2011 at 11:09 #4024 | |
|
Developer |
Sorry, my error your script should be ok, but add: $onclick['class'] = 'slide'; For lightbox, please try beta-2. |
| 17 November 2011 at 11:10 #4025 | |
|
Developer |
Addendum, |
| 17 November 2011 at 11:54 #4026 | |
|
Baf |
Big bug? Clickong on the slide opens such very strange link |
| 17 November 2011 at 11:59 #4027 | |
|
Baf |
for dummies… function my_slide_onclick( $onclick, $slide ) { global $lg_gallery; if ( ! $lg_gallery->is_gallery() ) return; $onclick['class'] = 'slide'; $onclick['href'] = $slide->uri( 'widget' ); return $onclick; } add_filter( 'lazyest_slide_onclick', 'my_slide_onclick', 10, 2 ); Do I need this? Or something else? |
| 17 November 2011 at 12:20 #4028 | |
|
Baf |
Sorry for extended work, but I want this feature work on my live blog, so I can test slides and allow to comment them |
| 17 November 2011 at 15:16 #4030 | |
|
Marcel |
the url is correct, this is to call the document for thickbox |
| 17 November 2011 at 20:47 #4035 | |
|
Marcel |
Just tested Lazyest Slides beta 3 in Chrome, IE and Firefox and it works great. Images resize and prev next images appear. function my_slide_onclick( $onclick, $slide ) { global $lg_gallery; if ( $lg_gallery->is_gallery() ) return; $onclick['href'] = $slide->uri( 'widget' ); $onclick['class'] = 'slide'; return $onclick; } add_filter( 'lazyest_slide_onclick', 'my_slide_onclick', 10, 2 ); |
The topic ‘Slides 3.0’ is closed to new replies.


@macbrink
brinkkemper1960
Marcel Brinkkemper
Lazyest Gallery