It is currently Fri Dec 19, 2014 6:39 am Advanced search

Need help please...

Technical support, bug reports, feature requests and more.

Need help please...

Postby Alidad » Sun Jan 29, 2012 12:59 am

Hi, I really need help for me to understand how to write code.
please take look at your sample code

http://www.roadrash.no/hs-support/inlin ... e-map.html

what I'm looking for one image that when click on that image it will expand light box show four square images, and each square images has link like a.html, b.html. c.html and d.html.

How can i write that code to show by click image to expand light box to show four square images with link before direct to other site once they click on one of link square images! Do have any sample like that!

Hope you understand what I'm trying to say!

look forward to hear from you.

AM
Alidad
 
Posts: 41
Joined: Sat Dec 27, 2008 4:24 am

Re: Need help please...

Postby RoadRash » Sat Feb 04, 2012 4:21 am

Hi,

Sorry for the late reply; IÔÇÖve been sick.

You can place an image map, or 4 images inside a highslide-maincontent div.
Please see this live demo: http://roadrash.no/hs-support/test/14772.html
Study the source code thoroughly.
Hilde
Highslide Support Team

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

Re: Need help please...

Postby Alidad » Mon Feb 06, 2012 11:36 pm

Hi, thank you so much for your response and this helpful lots. I have one question, I like to put my own background image color when expand to lightbox, how can i put my own background images color instead of using "hs.outlineType = 'rounded-white'" in js!

For sample currently this showing when person clicked on the images it will expand to bigger images like lightbox with white background. But would like to put my own image background using css repeat instead of white background how can i do that!

look forward to hear from you and thanks so much for your help.

AM
Alidad
 
Posts: 41
Joined: Sat Dec 27, 2008 4:24 am

Re: Need help please...

Postby RoadRash » Tue Feb 07, 2012 3:14 am

The outline (hs.outlineType) is a graphic file. There are 6 different outlines in your highslide folder to choose from:
  • rounded-white
  • rounded-black
  • glossy-dark
  • drop-shadow
  • beveled
  • outer-glow
If none of these outlines fits your need, you can create your own custom outline in the Highslide Editor. Go to the Style tab => Border and outline button => Do changes for Graphic outline and Graphic outline effects. You can look at your outline by opening an image during the process (click apply and OK first). When youÔÇÖre finished: Click the Publish button above the Preview window. Download and unzip the zip archive. Open the outlines folder (highslide/graphics/oulines). Copy custom.png to your websites outlines folder. Use this hs.outlineType:
Code: Select all
hs.outlineType = 'custom';


You can change the background for the HTML popup in this part of your highslide.css file:
Code: Select all
.highslide-html {
   background-color: white;
}
Hilde
Highslide Support Team

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

Re: Need help please...

Postby Alidad » Thu Feb 09, 2012 12:54 am

Thanks so much for your help, you been helpful so much.

I have question, i tried to re-size images, but can't figure out why is not re-resize it after i put

hs.width = 340;
hs.height = 380;

did i missed anything to put something to make resize it!

Please let me know thanks.

AM
Alidad
 
Posts: 41
Joined: Sat Dec 27, 2008 4:24 am

Re: Need help please...

Postby torstein.honsi » Mon Feb 13, 2012 12:41 pm

Try maxWidth and maxHeight instead: http://jsfiddle.net/highcharts/t5Pt7/
Torstein Hønsi
CTO, Founder
Highsoft Solutions
User avatar
torstein.honsi
Site Admin
 
Posts: 9204
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Re: Need help please...

Postby Alidad » Mon Feb 13, 2012 7:24 pm

Thanks so much i have solved that, and you guys are great supporter.

AM
Alidad
 
Posts: 41
Joined: Sat Dec 27, 2008 4:24 am


Return to Highslide JS Usage

Who is online

Users browsing this forum: No registered users and 3 guests