Hi.. Do you think it might be possible to open a Highslide Box within a WebGL page. It is possible to add JS code to a template, but I was just wondering if anyone has done this..
Thank you
Destiny...
Code: Select all
<a id='target' class='highslide' href='images/mydog.jpg' onclick='hsExpand....></a>
Code: Select all
hs.addEventListener(window, "load", function() {
document.getElementById('target').onclick();
});
Code: Select all
hs.addEventListener(window, "load", function() {
document.getElementById('thumb1').onclick();
});
Code: Select all
<div style="display:none;"><a id="thumb1" href....></a></div>
This is not complicated. Here's what you have now, from your post above:Destiny wrote:Hi... I could not quite work that last code out, so I will play with it more...
Code: Select all
<a id="thumb1" href="./images/gallery1.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="./images/gallery1.thumb.jpg" alt="Highslide JS"
title="Click to enlarge" />
</a>
Code: Select all
<div style="display:none;"><a id="thumb1" href="./images/gallery1.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="./images/gallery1.thumb.jpg" alt="Highslide JS"
title="Click to enlarge" />
</a></div>
Wish I could help, but your site is infected with phishing malware, and is being blocked by my DNS provider (OpenDNS).This is our project so far..
MisterNeutron wrote:BTW, OpenDNS is blocking all of members.westnet.com.au. The entire subdomain has been blacklisted for some reason.
MisterNeutron wrote:It's not the specific page that's at issue - the entire subdomain is being blocked. Here's what I get:
I tried to report it as an incorrect block, with no luck - it won't even let me send a message on their reply form.