2013-10-24 91 views

回答

1
<!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> 
+0

嗨Maulik帕特爾。感謝您的幫助! –

1

我使用下面的解決我的問題:

<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> 
+0

嗨Maulik帕特爾。首先感謝您的回答。另一方面,並​​爲我的無知抱歉,但我是Joomla新,因爲它,我應該在index.php中添加此代碼?如果是這樣的話,我應該做些什麼呢?(例如,body,head或者其他什麼東西?再次感謝 –

+0

這段代碼放在RokSprocket模塊的頁面 –

+0

Hi Maulik patel,感謝您的幫助,我添加了代碼target =「 _blank「之前,我的item.php中的href,它現在工作正常。現在我必須修復新的Windows瀏覽器到miodle(我看到它的全尺寸)問候Alejandro –

相關問題