Link to toggle div on opening new page
Hi guys. I don't mind admitting I'm not too good with all this code. I tend to just copy and paste and then tinker until it works. Hence my problem now.
the site I'm working on is here: OLD RECTORYLAND.com
This is all well and good, but the links in each <div> all link to the same pages, regardless of language. What I want to do now is specify that when the links are clicked, they continue to open the same pages, but when opened, open different <divs> within those same HTML docs.
// code for risk dropdown
So that code something like this:
should open <div id="d2"> within the page 'military.html'.
<div style="float: left; width: 155; padding: 6px;" align="left">
<a href="military.html" style="text-decoration:none" onclick="toggleDiv('d2');"><div style="background-color: #DFF488;">
<Font face="Arial" color="#330000">
<img src="mil.jpg" width="155" height="140" border="0">
Only it doesn't, because I have no idea what I'm doing.
I trust I make myself obscure.
I'd also like it if the page could "remember" what language was selected when the user clicks the back button, again to avoid having to reselect their language on every page.
Can anyone suggest an answer to the first problem, if not the second? Thanks.