[TYPO3-english] popup picture
Jan Bednarik
info at bednarik.org
Tue Jan 22 19:05:51 CET 2013
Hey,
to add CSS class for links you have to add this PageTS:
RTE.default {
proc.allowedClasses = rtelightbox
classesLinks = rtelightbox
}
Of course you need to make sure not to overwrite whatever you already
got there set.
Then add this sort of JS to page:
jQuery(document).ready(function() {
jQuery('a.rtelightbox').fancybox();
});
Regards
Jan
Dne 22.1.2013 17:17, Peder Høy Kristensen napsal(a):
> Maybe I just does not have the necessary skills, but how exactly would you
> do this without tapping a lot of code. I have a lot of names spread around
> a site to assign with codes.
>
> Regards
> peder
>
> Den 21/01/13 22.02 skrev "Jan Bednarik" <info at bednarik.org>:
>
>> Hey,
>>
>> you could define A-tag class for RTE and then create a link to this
>> image, set this class to the link and then enable a lightbox on it with
>> javascript.
>>
>> Regards
>>
>> Jan
>>
>> Dne 21.1.2013 21:47, Peder Høy Kristensen napsal(a):
>>> Hi,
>>> I need a little extension (/ or a snippet) that makes a picture to pup
>>> op in
>>> a lightbox, when the mousepointer is over text-link. How is it done in
>>> typo3
>>> (ver 4.7.7)? The picture must disappear, when the mouse pointer no
>>> longer is
>>> over the text.
>>> I found an extension - kid dogwztooltip that has this effect. It
>>> works,
>>> but is rather tiresome. Have someone better ideas?
>>>
>>> yours
>>> Peder HK, Denmark
>>>
>>>
>>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
>
More information about the TYPO3-english
mailing list