PDA

View Full Version : How to switch a feature On/OFF from HTML?


largelylivin
May-12-2007, 03:42 PM
On my homepage I would like to have a button that toggles the display of, for example, keywords. I looked at the control page HTML but can't quite understand what is being done there. Point me somewhere?

DavidTO
May-12-2007, 04:01 PM
On my homepage I would like to have a button that toggles the display of, for example, keywords. I looked at the control page HTML but can't quite understand what is being done there. Point me somewhere?


How about putting a link to keywords?

http://yournickname.smugmug.com/keyword/

largelylivin
May-12-2007, 04:11 PM
How about putting a link to keywords?

http://yournickname.smugmug.com/keyword/


I figured it was something that easy. So the same will work for timeline and most popular photos?

DavidTO
May-12-2007, 04:14 PM
I figured it was something that easy. So the same will work for timeline and most popular photos?


Yeah, pretty much. :D

/popular/

/date/

DavidTO
May-12-2007, 04:16 PM
I've got all of those linked on my search page:

http://davidrosenthal.smugmug.com/gallery/2277241

largelylivin
May-13-2007, 03:59 AM
I seem to have left out an important detail. What I really wany to display is Keywords within the scope of the current Category. I jumpped to the conclusion that it would work like this: //blue-dog.smugmug.com/OWC/keyword/. Clearly it isn't that easy.


Related question: (This may not be relevant depending on the above answer) How do I go down from the current path name to ../keyword/ so that it works from where ever I am in the path?

DavidTO
May-13-2007, 05:53 AM
I seem to have left out an important detail. What I really wany to display is Keywords within the scope of the current Category. I jumpped to the conclusion that it would work like this: //blue-dog.smugmug.com/OWC/keyword/. Clearly it isn't that easy.


Related question: (This may not be relevant depending on the above answer) How do I go down from the current path name to ../keyword/ so that it works from where ever I am in the path?


I believe you're going to need a Javascript guru to help you with that....

largelylivin
May-13-2007, 03:55 PM
bump

largelylivin
May-13-2007, 03:55 PM
On my homepage I would like to have a button that toggles the display of, for example, keywords. I looked at the control page HTML but can't quite understand what is being done there. Point me somewhere?

bump