0

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
:)

Edited by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)

4
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Pedro José
0

srdva59, Try it:

return hs.htmlExpand(null, {contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, objectHeight: 400 ,src: 'www.site.com'} );

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.