It is currently Sat Nov 01, 2014 1:34 am Advanced search

New RC with integrated thumbstrip

News and announcements from the author.

Re: New RC with integrated thumbstrip

Postby DCS » Sat Apr 04, 2009 8:19 am

Thanks RoadRash but I'm actually referring to the thumbstrip at the bottom of the page (see example at http://www.silvermountainphotography.co ... lowers.php) - when viewed in IE 7 the thumbstrip at the bottom of the page displays at the left, whereas in Firefox it is centered
DCS
 
Posts: 30
Joined: Tue Jan 15, 2008 9:58 pm

Re: New RC with integrated thumbstrip

Postby RoadRash » Sat Apr 04, 2009 8:41 am

The barebone example centers the thumbstrip - http://www.highslide.com/examples/galle ... strip.html

Your page gives a javascript error in IE caused by adding the blockRightClick above the call for the highslide js file, but this isnÔÇÖt causing the missing centering.

The missing centering is caused by the setting for width for .highslide-thumbstrip-horizontal div. You have 100% - it should be auto. You probably didnÔÇÖt upgrade your css file when upgrading Highslide.

.highslide-thumbstrip-horizontal div {
width: auto;
}
User avatar
RoadRash
 
Posts: 8225
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway

Re: New RC with integrated thumbstrip

Postby DCS » Sat Apr 04, 2009 8:59 am

Yes - you're right (as always!). Changed that attribute on the highslide css and now it centers nicely in IE as well.

I was aware of the error code being returned by the hs.blockRightClick = true; tag -- I'm still trying to resolve that one. I had posted in another thread regarding this and have since updated my js file after checking the suggested options on the configurator but its still not picking up. Any ideas on this problem?

Once again - thanks for all your help - it really is appreciated!

Donna
DCS
 
Posts: 30
Joined: Tue Jan 15, 2008 9:58 pm

Re: New RC with integrated thumbstrip

Postby RoadRash » Sat Apr 04, 2009 9:06 am

blockRightClick:
You have added the blockRightClick function before the call for the highslide js file ÔÇô thatÔÇÖs the reason for the javascript error:

<script type="text/javascript">
hs.blockRightClick = true;
</script>
<script type="text/javascript" src="/highslide/highslide-with-gallery.js"></script>


Try adding it with the other highslide stuff instead:
<script type="text/javascript">
hs.graphicsDir = '../highslide/graphics/';
hs.blockRightClick = true;
........
User avatar
RoadRash
 
Posts: 8225
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway

Re: New RC with integrated thumbstrip

Postby DCS » Sat Apr 04, 2009 9:35 am

Yes! That solved the problem! I should have realized but never even thought about the placement of the code going after the call for the js file.

Now I can get some sleep :)

Thanks again RoadRash!!!
DCS
 
Posts: 30
Joined: Tue Jan 15, 2008 9:58 pm

Re: New RC with integrated thumbstrip

Postby karelrosseel » Tue Mar 30, 2010 12:17 pm

is there a possiblity to give a z-index to the thumbstrip
with this code ?

.highslide-thumbstrip-horizontal {
width: 500px;
height: 40px;
z-index:1;
}

=> I would like that the thumbstrip comes over an image-button into the header

Thanks
karel
karelrosseel
 
Posts: 22
Joined: Mon Jan 18, 2010 11:50 am

Re: New RC with integrated thumbstrip

Postby RoadRash » Tue Mar 30, 2010 12:23 pm

You canÔÇÖt do it with CSS. See this post for how to fix it: http://highslide.com/forum/viewtopic.php?p=25183#p25183
User avatar
RoadRash
 
Posts: 8225
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway

Previous

Return to News

Who is online

Users browsing this forum: No registered users and 1 guest