It is currently Fri Apr 25, 2014 8:42 am Advanced search

can't get pop-up to be centered!

Help for using the Highslide Editor, the visual way of setting up Highslide.

can't get pop-up to be centered!

Postby manga » Wed Jun 01, 2011 5:24 am

Hi!
This is driving me crazy! I already tried using the editor, and the hs-align: center, code, but I STILL can't get it to be in the
center of the page! Help, please!

http://heartless-ink.com/inked/portfolio2.html
manga
 
Posts: 2
Joined: Wed Jun 01, 2011 5:08 am

Re: can't get pop-up to be centered!

Postby RoadRash » Wed Jun 01, 2011 6:38 am

Hi,

You need to use the highslide-with-gallery.js file instead of the highslide.js file for the centering to work.
Replace this line in the head section of your page:
Code: Select all
<script type="text/javascript" src="highslide/highslide.js"></script>

with this:
Code: Select all
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
User avatar
RoadRash
 
Posts: 8183
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway

Re: can't get pop-up to be centered!

Postby manga » Fri Jun 03, 2011 3:39 am

Thanks so much!
Do you know the keyboard commands stopped working? On the other webpage, I was able to move between pictures using the arrow keys,
but it doesn't work anymore.

Thanks!

http://heartless-ink.com/inked/test/portfolio3.html
manga
 
Posts: 2
Joined: Wed Jun 01, 2011 5:08 am

Re: can't get pop-up to be centered!

Postby RoadRash » Sat Jun 04, 2011 10:03 am

Two reasons:
1) You canÔÇÖt use both the highslide-with-gallery.js file and the highslide.js file in your page.
You need to remove the highslide.js file ÔÇô the highlighted line in the code below:
Code: Select all
<script type="text/javascript" src="http://www.highslide.com/highslide/highslide-with-gallery.js"></script>
[hilight]<script type="text/javascript" src="highslide/highslide.js"></script>[/hilight]

2) The onclick code for some of you images looks like this:
Code: Select all
onclick="return hs.expand(this, {this})"
This onclick code is not valid. Replace it with this:
Code: Select all
onclick="return hs.expand(this)"
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
User avatar
RoadRash
 
Posts: 8183
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway


Return to Highslide Editor

Who is online

Users browsing this forum: No registered users and 1 guest