RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : October 11, 2008, 12:54:35 AM
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  popup : _blank
Advanced search
  « previous next »
Pages 1
Author
Topic: popup : _blank  (Read 2894 times)
« on: November 21, 2007, 06:50:01 AM »
Janne Kristiansen Offline
Newbie
*
Posts: 21

View Profile Email

Is this right? When i click the image its opens in a blank window...
Is it possible to opens in a New windows that really fits the image without the menus?

Or a javascript popup or something...
The fancy popup does not work here

The gallery is:
RSGallery2 1.14.0 Alpha - SVN 378
Logged

Kisses from
Janne Maria K
 
Reply #1
« on: November 21, 2007, 06:59:49 AM »
Janne Kristiansen Offline
Newbie
*
Posts: 21

View Profile Email

SOLVED

I figured it out by my self

Line 296 in display.class

Old

Code:
if( $rsgConfig->get('displayPopup') == 2 ){
$doc =& JFActory::getDocument();
$doc->addStyleSheet(JPATH_BASE."/components/com_rsgallery2/js_highslide/highslide.css");
$doc->addScript(JPATH_BASE."/components/com_rsgallery2/js_highslide/highslide.js");
?>
<script type="text/javascript">   
hs.graphicsDir = '<?php echo $mosConfig_live_site;?>/components/com_rsgallery2/js_highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'drop-shadow';
window.onload = function() {
hs.preloadImages();
}
</script>

New:

Code:
if( $rsgConfig->get('displayPopup') == 2 ){
$doc =& JFActory::getDocument();
$doc->addStyleSheet("http://MYSITE.COM/components/com_rsgallery2/js_highslide/highslide.css");
$doc->addScript("http://MYSITE.COM/components/com_rsgallery2/js_highslide/highslide.js");
?>
<script type="text/javascript">   
hs.graphicsDir = 'http://MYSITE.COM/components/com_rsgallery2/js_highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'drop-shadow';
window.onload = function() {
hs.preloadImages();
}
</script>
Logged

Kisses from
Janne Maria K
 
Reply #2
« on: July 05, 2008, 06:11:13 PM »
David Baron Offline
Newbie
*
Posts: 1

View Profile Email

awesome that fixed my problem

thanks
Logged
 
Print  Pages 1
« previous next »
Jump to: