Hello, All.
I’m in need of Footer button assistance.
I have a button “#button1” that I would like to keep in my Footer. However, I would like it’s link to be different for each page this button is displayed.
For instance…
When “#button1” is displayed in the Footer of webpage 1, it will link to webpage 2.
When “#button1” is displayed in the Footer of webpage 2, it will link to webpage 3.
When “#button1” is displayed in the Footer of webpage 3, it will link to webpage 4… etc. etc.
Similar to how a “NEXT PAGE” button would work. Problem is, this button is located in my Footer, and I can’t figure out an ‘overriding’ code for the links per page. Also, would like the link(s) to open in the same/current window.
A few solutions to this is (1) make your pages without any headers/footers and copy/paste strips and place them at the bottom and top of the pages, obviously modify accordingly or (2) if you need three different buttons create three different buttons overlapping each other and on the pages you don’t want the two other buttons code to hide them on that page and vice versa on the other pages.
Second option might be the best option for you. Very easy to code.
Make sure they’re placed in the site code and change the values accrodingly. And change the hide/show for whichever button you want to be shown or hidden.
Ahhhh, yes! You’re a genius!!!
Will use your solution (2)… the old ‘Overlap Each Other And Hide/Show’ technique. That works!
I did something similar to that a long time ago in DreamWeaver using .html code… totally forgot about it.
Note - You said: “Make sure it’s in the PAGE code, NOT the SITE code.”
Then you said: “Make sure they’re placed in the SITE code…” (But think you meant PAGE code?)
Anyway, this is all done in the PAGE code and works like a charm.