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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 02:41:58 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Centering pop up
Advanced search
  « previous next »
Pages 1
Author
Topic: Centering pop up  (Read 8338 times)
« on: November 25, 2006, 01:42:10 am »
pcjunkie Offline
Newbie
*
Posts: 2

View Profile Email

Just wondering how I could center the pop up.

I tried the CSS and the JS script ( margin left -200) but this does not work...

It always goes to the right and larger images go off the screen producing scroll bars on the brower instead of filling the space left of the module table....

How could I alter the code to correct the center line?
Logged
 
Reply #1
« on: November 25, 2006, 06:38:46 pm »
Maciek Offline
Newbie
*
Posts: 4

View Profile Email

I have the same problem, when i click on certain image the popup comes from far right which lookes really bad, tried to work with margin parametres too but its not that. Also tried with those :

anchor : 'auto', // where the image expands from
align : 'center', // position in the client (overrides anchor)

didnt help either.

Custom outlines using graphics in the graphics subdirectory dont work too

Here is the test gallery ilustrating my problem : http://www.street-disciple.net/site/index.php?option=com_rsgallery2&page=inline&id=4&catid=2&limitstart=0

I went to highslide script autor web page http://vikjavev.no/highslide#documentation but could't find answer there


Im sorry for my bad english
« Last Edit: November 25, 2006, 06:42:55 pm by Maciek » Logged
 
Reply #2
« on: November 26, 2006, 06:17:08 am »
pcjunkie Offline
Newbie
*
Posts: 2

View Profile Email

Well this fixed mine///

Code:

// These settings can also be overridden inline for each image
anchor : 'right', // where the image expands from
spaceForCaption : 30, // leaves space below images with captions
outlineType : 'drop-shadow', // set null to disable outlines
wrapperClassName : null, // for enhanced css-control
// END OF YOUR SETTINGS

with
anchor : 'auto', // where the image expands from

changing to

anchor : 'right', // where the image expands from

@ Maciek I think if you change yours to left it should work....
Logged
 
Reply #3
« on: November 26, 2006, 07:00:34 am »
Maciek Offline
Newbie
*
Posts: 4

View Profile Email

Thx for You interest pcjunkie

To bad it didnt help Sad I think its an template issue or sth, the scrip misunderstands where the anchor begins if i could only point that anchor to a postion in the page or sth, no idea how to do that

And yes it works fine with default joomla template but i dont want to change whole template just to fix this issue Smiley
Ill try posting at highslide scripts forum
Logged
 
Reply #4
« on: November 26, 2006, 10:35:55 am »
Maciek Offline
Newbie
*
Posts: 4

View Profile Email

I think i have something, it is the <div id="highslide-container"> case it is placed in the wrong place in php code or sth, when i try to move it on top the popup works grat but the left page content is pushed down  Undecided
Logged
 
Reply #5
« on: November 27, 2006, 04:49:50 am »
Maciek Offline
Newbie
*
Posts: 4

View Profile Email

Ok i have moved  <div id="highslide-container"></div> around here:
Code:
class HTML_RSGALLERY{

    /**
     *  write the footer
     */
    function RSGalleryFooter(){
        global $rsgConfig, $rsgVersion;

        $hidebranding = '';
        if( $rsgConfig->get( 'displayBranding' ) == false )
            $hidebranding ="style='visibility: hidden'";
           
        ?> <div id="highslide-container"></div>
<div id='rsg2-footer' <?php echo $hidebranding?>>
<div><br /><br />
<?php echo $rsgVersion->getShortVersion(); ?>
</div>
</div>
<div class='rsg2-clr'>&nbsp;</div>
        <?php
    
}
    
    function 
showUserGallery($rows)
    {
    global 
$my$rsgConfig$mosConfig_live_site$Itemid;
    
?>

    <script language="javascript" type="text/javascript">

inside rsgallery2.html.php but it resulted in

-left page side content is pushed down
-next/previus navigation aint working

So i guess it is wrong place


Here are the results
http://www.street-disciple.net/site/index.php?option=com_rsgallery2&page=inline&id=4&catid=2&limitstart=0

Also i have found how to modify image outlines, it has to be done manually inside rsgallery2.html.php over here:

line 406
Code:
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/components/com_rsgallery2/js_highslide/highslide.css" type="text/css" />
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/components/com_rsgallery2/js_highslide/highslide.js"></script>
<script type="text/javascript">   
hs.graphicsDir = '<?php echo $mosConfig_live_site;?>/components/com_rsgallery2/js_highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'rounded-white';
window.onload = function() {
hs.preloadImages();
    }
</script>

You have to modify hs.outlineType = 'rounded-white'; to for ex hs.outlineType = 'drop-shadow'; or  hs.outlineType = 'outer-glow';

If anyone have an idea please help me with highslide div positioning i would be very greatfull.

I am using newest rsgallery component and newest joomla stable release
My template is Js_empire by joomlashack

Logged
 
Reply #6
« on: December 01, 2006, 09:32:19 am »
MrMastah Offline
Newbie
*
Posts: 1

View Profile Email

I have the same problem with the popup, it does not center on the page! Where the popup appears is different depending on screen resolution and size of browser window, but never centered... But shouldn't this be posted in the bug forum? This is the same if I use IE6/7 or FF1.5/2.0 and i run the latest Joomla 1.0.11 and RSGallery2 1.11.10 Alpha with the "Versatility" theme from rockettheme.
Test the gallery here

Please help, really want to use RSGallery2...
« Last Edit: December 04, 2006, 06:24:36 pm by MrMastah » Logged
 
Reply #7
« on: April 11, 2007, 11:01:26 am »
JonH Offline
Newbie
*
Posts: 4

View Profile Email

Same issue here.  Any resolution yet?

-Jon
Logged
 
Reply #8
« on: April 16, 2007, 04:49:12 am »
GreenMan Offline
Newbie
*
Posts: 1

View Profile Email

Has anyone found solution to this problem?
also a total noob question - just installed rsgallery and tried to edit some files. i`ve downloaded them, edited and tried to send the modified ones back (via ftp). i wasn`t able to - got permission denied (i have permission to send, delete etc files). what i did wrong?
if there`s no single soluition to the "centering" problem does anyome have idea how to delete/block the whole js pop-up function (so no on-click popup)? i`m entirely happy with the middle (resized) image view (mostly because i found out that in ie6 this js thing crashes my layout a bit, while luckily in firefox it stays as it should).
« Last Edit: April 16, 2007, 05:27:51 am by GreenMan » Logged
 
Reply #9
« on: April 16, 2007, 08:06:58 am »
JonH Offline
Newbie
*
Posts: 4

View Profile Email

A lot of work to get this working.  Not sure why it's an option if it doesn't work.

The issue is if I don't use this option, the other 2 options html blows out the page design, is it invalid or missing some tags, who knows.
Logged
 
Reply #10
« on: April 16, 2007, 12:21:55 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870
danieltulp@hotmail.com
View Profile WWW Email

guys, sorry about this bug, but be patient, in the next release, there will be a template present that has a similar template, but with another/ better javascript (this problem is not because of the javascript used)
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Print  Pages 1
« previous next »
Jump to: