hs.htmlExpand from javascript function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
srdva59
Forum Commoner
Posts: 77
Joined: Sun Feb 15, 2009 10:58 am

hs.htmlExpand from javascript function

Post by srdva59 »

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