So when you select a person it pushes everyone down below too. This was achieved by rapping another div around the three and then so on and so on but since its going to be posts in Wordpress I can’t really specifiy that I don’t believe to wrap a div around three of the posts so everything pushes down nicely. And by doing it way I’m attempting too with just using floats it sometimes shifts things to the side when you open it.
I hope the makes sense and that it can be easily achieved.
Also once this dropdown is working is it possible instead of when you rollover Select Locations the dropdown appears but when you click on Select Locations it appears so you can choose the location. May confuse people if you just rollover it and it always appears. Some people may think you should be clicking then the dropdown appears.
Actually want the Select Locations to be a dropdown menu in CSS. I wook off my page transitions for all the a elements so can achieve what I want when clicking on select location.
Would you be able to help me out with the Select Location CSS Dropdown and making it so you need to click on Select Location to show the dropdown.
You can only make a hover menu with CSS. If you want it to open on click then that’s really the realm of Javsacript (although you can do things with CSS :target but in most cases is too awkward or not the best option).
If you want to show the menu on click then you could just add a class with jquery which will open the menu and then remove that class when you close the menu.
You may need to clarify exactly what you want as I may be misunderstanding what you need.
The hover dropdown will now work but it won;t be able to break out of .row because you have hidden the overflow. You wil need ot make the overflow visible and use another clearing technique.
If you want the menu to open on click then you could add some js but this may interfere with whatever you are doing in the other forum so you may need to ask there but here goes.
One more question on this page is it possible to have a specific one open. I plan to make 8 location pages and each page that specific location info will be open but you can close it and view other location information as well.
Another thing, in the main Nav when your selected on a child of the nav the parent shows as underline which is correct but when you scroll over that parent the childs are underline. I only would like the selected one to be underline and selected child. Example…
Now only the immediate child will get the underline.
One more question on this page is it possible to have a specific one open. I plan to make 8 location pages and each page that specific location info will be open but you can close it and view other location information as well.
I’m not quite sure I follow as I don’t really understand what you mean by location info and what it looks like and how it ties into the dropdown menu as such. You may have to draw or show me an example. It is possible to have the dropdown open by default but that doesn’t seem to be what you are asking?
I thought we were talking about the select dropdown but now you seem to be talking about toggle elements which I guess are the big elements on this page with the + sign to open them. Is that correct?
However you say you wanted a default one open on this page:
It will be the same content as the Locations page, identical but just with for example the Fort Frances toggle to be open.
Just wanted to see how to do it using the Locations page and then I can make the other pages to have a default open toggle for each location on a separate page.
The easiest way is just to hardwire the current item on those pages to be open. As the JS is doing this by changing the inline style and adding a class then you could do the same so that the JS wil still work the same way.
e.g.
If you want Rainy River open then add a class of open to the h3 and an inline style of display:block to the div as follows.
That will allow the JS to close the item n the normal way.
BTW you shouldn’t be using an empty p element just to make space as that’s what margins are for. If you put the p element around the address you can apply a margin-bottom to it and fix the semantics at the same time
No worries I solved that issue just going through all of them now to fix it up.
Now if I could only solve the issue with that Location but think thats a Javascript/Ajax thing. Had some help in the other forum when you separated it, but didn’t really solve it. Hopefully soon though