hs.htmlExpand from javascript function

Discussion in 'JavaScript' started by srdva59, Jun 29, 2010.

  1. #1
    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
    :)
     
    srdva59, Jun 29, 2010 IP
  2. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #2
    Where is hs.htmlExpand from? JS framework?
     
    mfscripts, Jun 29, 2010 IP