jigas
Posts: 5
Joined: Thu Nov 06, 2008 12:11 am

Reload highslide by demand

Mon Apr 24, 2017 9:30 am

Grettings.

i have a button that opens the content of the server into a named ajax window
<a
href="javascript:;"
onclick="return hs.htmlExpand(this, {
name:'this_is_my_name',
objectType: 'ajax',
width:550,
preserveContent: false,
src: '//server/data/1/'})"
/>

i want to reload the content of this named window on demand , with javascript trigger or ?

so when i update something , how i can call this to update?
<script>
function update(){
hs.this_is_my_name.refresh(); // i wish this could work
}
</script>

jigas
Posts: 5
Joined: Thu Nov 06, 2008 12:11 am

Re: Reload highslide by demand

Tue Apr 25, 2017 10:54 pm

How can something like this work?

window.top.hs.getExpander('name_of_window').close();

regards

Return to “Highslide JS Usage”