Jump to content

hs.htmlExpand from javascript function


jason213123

Recommended Posts

h,

i have this for call the hs.expand using a link:

  <a onclick="return hs.htmlExpand(this, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, objectHeight: 400} )"

class="highslide"href="link"><call  </a>

that work fine, but now i want call the same function using a function like this:

 

  hs.htmlExpand(null, {

      contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, objectHeight: 400 ,src: 'www.site.com'}  );

 

but that don´t work this don´t display any error simple don´t do nothing!

what i doing wrong?

thanks a lot for your help

:)

 

 

Link to comment
https://forums.phpfreaks.com/topic/206161-hshtmlexpand-from-javascript-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.