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

JavaScript != JSP (Java Server Pages). Moved

srdva59, Try it:

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.