Home Forums
07 | 29 | 2021
JoomlaNook Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Integrating Highslide plugin in VSIG
(0 viewing) 
Highslide JS Plugin
Go to bottom
TOPIC: Integrating Highslide plugin in VSIG
#5786
Mad_Griffith
Posts: 57
User Offline Click here to see the profile of this user
Integrating Highslide plugin in VSIG 9 Years, 9 Months ago  
Hi, I am trying to integrate this amazing plugin with the Very Simple Image Gallery.

I've understood I have to edit this spot inside the vsig.php in the "plugins/content" folder:

Code:

$html2 .= "\n<a href='".$cur_link[0]."' onclick='".return hs.expand(this)."' title='".$cur_link[1]."' target='".$cur_link[2]."'>";


So that it becomes something like:

Code:

$html2 .= "\n<a href='".$cur_link[0]."' onclick='".return hs.expand(this)."' class='".highslide."' title='".$cur_link[1]."' target='".$cur_link[2]."'>";


But since I am no coder, Dreamweaver says there's an error with the onclick='".return hs.expand(this)."'

What is the correct way to do the thing?

Thank you very much!!
 
Logged Logged
 
Last Edit: 2011/10/21 11:15 By Mad_Griffith.
  The administrator has disabled public write access.
#5788
klowther
Admin
Posts: 3118
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:Integrating Highslide plugin in VSIG 9 Years, 9 Months ago  
Hi,

Try this:

Code:

$html2 .= "\n<a href='".$cur_link[0]."' onclick='return hs.expand(this)' class='highslide' title='".$cur_link[1]."' target='".$cur_link[2]."'>";


Hope that helps.

- Ken
 
Logged Logged
  The administrator has disabled public write access.
Go to top