Reputation: 101
I am using the RokSprocket module in a Joomla Template and I would need to open one photo by link in a different windows, for it, Could anybody help me? Thanks in advance Best Regards Alejandro Castan PS: Sorry for my little english
Upvotes: 0
Views: 3700
Reputation: 2432
<!DOCTYPE html><html><head><script>var w;function openwindow(){w=window.open('http://www.w3schools.com/','', 'width=100,height=100');w.focus();}function myFunction(){w.resizeTo(500,500);w.focus();}</script></head><body><button onclick="openwindow()">Create window</button><button onclick="myFunction()">Resize window</button></body></html>
Upvotes: 1
Reputation: 2432
I have uses the following to solve my problem:
<a href="/extensions/roksprocket/13-roksprocket-features/25-sample-content-1" target="_blank">
<img src="/extensions/media/rokgallery/f/faa025be-fad2-4f7b-f7bc-2e3e9ad367a1/69f8dbe1-9a16-42d1-8ee7-ca0aa2be7992.jpg" alt="" style="max-width: 100%; height: auto;">
</a>
Upvotes: 0