I use this code in my index page:
<button type="button" class="small"><h4><a href="http://{path=template_group}">News</a></h4><p></button><br />
It works just fine when using Chrome, but when using Firefox, the link doesnt work?
latest EE with MSM
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 16, 2013 1:37pm
Subscribe [2]#1 / May 16, 2013 1:37pm
I use this code in my index page:
<button type="button" class="small"><h4><a href="http://{path=template_group}">News</a></h4><p></button><br />
It works just fine when using Chrome, but when using Firefox, the link doesnt work?
latest EE with MSM
#2 / May 18, 2013 11:19pm
What does that button code look like in the page source when it’s written out?
#3 / May 19, 2013 7:54am
Same in both browsers:
<button type="button" class="small"><h4><a href="http://www.example.com/forums">Forums</a></h4></button>#4 / May 19, 2013 9:53am
Thanks - you’ll need to use javascript / jquery / etc.. to make the link work consistently with button type=“button… For example:
<pre><code><button type=“button” onclick=”[removed]=‘http://www.example.com’”>
</button></code></pre>
([removed] above would be: window dot location)