-
AuthorPosts
-
jayblaq Friend
jayblaq
- Join date:
- September 2007
- Posts:
- 66
- Downloads:
- 7
- Uploads:
- 2
- Thanked:
- 1 times in 1 posts
April 27, 2008 at 3:59 am #127960Hello
Before I try and install some 3rd party light box module stuff, can someone please tell me if JA TELINEs highslide will work in content?
Or if the is any option in the JS to open say a video in a lightbox on a content page?
I dont want to have to install JS stuff that might conflict with the template.
Jay
jayblaq Friendjayblaq
- Join date:
- September 2007
- Posts:
- 66
- Downloads:
- 7
- Uploads:
- 2
- Thanked:
- 1 times in 1 posts
April 27, 2008 at 10:45 am #246986ok
i see we have a light box built in, but what about highslide in content?
ruigato Friendruigato
- Join date:
- January 2006
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 48
- Thanked:
- 1 times in 1 posts
May 26, 2008 at 8:55 pm #250645if using highslide in content its not easy, or we cant do it in a way we dont have problems with compatibility in the future we should have at least an option to remove it.
Everybody is using mootols and jquery, lots of modules and components load this scripts and the result is unnecessary JS conflicts, hi load times and heavy pages.
Dont get me wrong, i really would like to use highslide in image popups, but i wont put inline JS call in my content and have problems in the future.
The way to go (IMHO) is with plugins/modules/components and not with built in scripts.
May 27, 2008 at 8:02 am #250709<em>@jayblaq 50681 wrote:</em><blockquote>
I dont want to have to install JS stuff that might conflict with the template.
</blockquote>I installed 3rd party light box module, but after that Moo Menu stop to work. Now I looking for some other solution…
<em>@ruigato 55370 wrote:</em><blockquote>The way to go (IMHO) is with plugins/modules/components and not with built in scripts.</blockquote>
I agree.
May 27, 2008 at 1:11 pm #250734I found this: http://www.solariz.de/hs4joomla
…and it works!scarng Friendscarng
- Join date:
- May 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
May 27, 2008 at 8:26 pm #250792The highslide.js is already loaded all you have to do is place the code in your page/article.
For example: I have an image in my article that I would like the lightbox feature:
<a class=”highslide” href=”images/stories/<insert your large image>” onclick=”return hs.expand(this)”><img src=”images/stories/<insert your thumbnail image>” border=”0″ alt=”Sample Text for the disabled” title=”Click to Enlarge” width=”100″ height=”100″ align=”left” /></a><div class=”highslide-caption”> This is an example of a img using highslide</div>
<div>
<!–
4) This is how you mark up the thumbnail image with an anchor tag around it.
The anchor’s href attribute defines the URL of the full-size image.
–>
<a id=”thumb1″ href=”images/full-image.jpg” class=”highslide” onclick=”return hs.expand(this)”>
<img src=”images/thumbnail.jpg” alt=”Highslide JS”
title=”Click to enlarge” height=”120″ width=”107″ /></a><!–
5 (optional). This is how you mark up the caption. The caption must be directly
after the anchor above.
–><div class=”highslide-caption”>
This caption can be styled using CSS.
</div></div>
-
AuthorPosts
This topic contains 6 replies, has 4 voices, and was last updated by scarng 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum