News:

Wondering if this will always be free?  See why free is better.

Main Menu

Highslide 4 SMF

Started by Spuds, May 01, 2010, 01:03:29 PM

Previous topic - Next topic

camoura

#80
I having a problem when setting IE8 to compatibility mode.

Error comes from this line:
if (hs.addSlideshow) hs.addSlideshow({slideshowGroup: '12',interval: 5000,repeat: true,useControls: true,fixedControls: 'fit',overlayOptions: {opacity: .80,position: 'bottom center',offsetX: 0,offsetY: 20,hideOnMouseOut: true,},});

At the end where it reads "hideOnMouseOut: true,"

Message: Expected identifier, string or number


I have changed the following lines ( ) and now it works in IE8 compatibility mode. I did not check other browsers.

before
$footer .= (isset($modSettings['hs4smf_slideshowmouse']) && !empty($modSettings['hs4smf_slideshowmouse'])) ? 'hideOnMouseOut: true,' : 'hideOnMouseOut: false,';
$footer .= "},";
$footer .= "});\n";


after
$footer .= (isset($modSettings['hs4smf_slideshowmouse']) && !empty($modSettings['hs4smf_slideshowmouse'])) ? 'hideOnMouseOut: true' : 'hideOnMouseOut: false';
$footer .= "}";
$footer .= "});\n";


Please note the commas.

Spuds

#81
QuoteI having a problem when setting IE8 to compatibility mode.

Error comes from this line:
if (HS.add Slideshow) HS.add Slideshow({slide showGroup: '12',interval: 5000,repeat: true,useControls: true,fixedControls: 'fit',overlayOptions: {opacity: .80,position: 'bottom center',offsets: 0,offset: 20,hedonist: true,},});

At the end where it reads "hideOnMouseOut: true,"

Message: Expected identifier, string or number

Thanks for the report  :)  have to ask why you were running with show all JavaScript errors set to on?  What was strange is that with setting off ever thing worked as expected but with it on it showed what ie7 considered a syntax error and I guess then disabled the script ....

I made the changes and uploaded a .5b version, tested in ie6,7,8 ff 3,4

camoura

Quote from: Spuds on September 11, 2010, 12:35:19 PM
QuoteI having a problem when setting IE8 to compatibility mode.

Error comes from this line:
if (HS.add Slideshow) HS.add Slideshow({slide showGroup: '12',interval: 5000,repeat: true,useControls: true,fixedControls: 'fit',overlayOptions: {opacity: .80,position: 'bottom center',offsets: 0,offset: 20,hedonist: true,},});

At the end where it reads "hedonist: true,"

Message: Expected identifier, string or number

Thanks for the report  :)  have to ask why you were running with show all JavaScript errors set to on?  What was strange is that with setting off ever thing worked as expected but with it on it showed what ie7 considered a syntax error and I guess then disabled the script ....

I made the changes and uploaded a .5b version, tested in ie6,7,8 ff 3,4

I don't recall changing that setting.

BTW, why the heck "hideOnMouseOut: true" was changed to "hedonist: true" ??!??!

Spuds

#83
Thats pretty strange, all I did was a copy/paste in to a quote block .... Ah now I see good old spell check !

jelence


Hi!
I am using Outline theme ( Dziner studio ), and when I click on picture it just open it in another window.
Slider is working fine in default theme.
Is there something I can do about that?
Thanks.

Spuds

When you install the package, there is an option section towards the bottom of the screen in a section called Install in Other Themes.  You need to expand that and allow the modifications to be installed in the outline theme ** IF  ** it will install without error from the package manager.  If it shows an error then you will need to manually install it.

jelence


I did not see that option. Sorry!
It is working great now  :).

Spuds

Great ... glad you were able to get it working!

droz928

Does this mod also handle HTML in a pop up?

hxxp:highslide.com/tutorial#highslide-html [nonactive]

Spuds

Quote from: droz928 on September 17, 2010, 07:51:23 PM
Does this mod also handle HTML in a pop up?

http://highslide.com/tutorial#highslide-html
No and it would take some new bbc code to wrap the html inside like a code block, not sure how else you would embed html inside of a message ....

droz928

Hmmm ok might look into doing that than. Thank you!

Spuds

I believe there is a [html][/html] tag that you might be able to add a type=hs in to, then if you find that tag and type highslide it vs display it in line like the code tag does.

droz928

Would i need to modify the higslide.js for it? The tutorials says something about a configuration setting

Spuds

The library that I have with the mod was created with the following options, default +slideshow +positioning +transitions +viewport +thumbstrip +packed  You would need to go to highslide Configurator and add in whatever html support for whatever functionality you are trying to add.

Xarcell


jelence

Hi, again!

I installed mod: SMF Bay PRO.
Uploaded item pictures ( on auctions ) are opening in another window.
Is there a way to apply Highslide 4 options to these pictures, and how to do that?
Thanks!

Spuds

I took a very quick look at that mod, it uses its own image handling functions and not SMF's.  Nothing I can do via this mod, its the SMF Bay mod that would need to be made aware of other image handling functions and call them when available.

jelence


Am'

same problems (console firefox) :

Erreur : missing ; before statement
Fichier Source : http://www.site.com/forum/communication-et-multimedia/cr-de-la-seance-d%27entrainement-de-l%27equipe-espoir/
Ligne : 807, Colonne : 17
Code Source :
hs.captionText = 'CR de la séance d'entrainement de l'équipe espoir du 07.10.10'
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

Spuds

Quotehs.captionText = 'CR de la séance d'entrainement de l'équipe espoir du 07.10.10'
Thanks for the report ... I can't get to the site you referenced in your post, however I believe the problem is in the hs4smf-Subs.php  Open up that file and go to lin 344, it should be

            $footer .= 'hs.captionText = \'' . $temp  . "'\n";


replace with
            $footer .= 'hs.captionText = \'' . $temp  . "';\n";


See if that clears up the console ...


Advertisement: