integrating Keywords into a page
Dna
Registered Users Posts: 435 Major grins
I know that appending 'keyword' to a site lists the keywords.
Is there anyway to incorporate the keywords display into a page with other stuff ?
Similar to the search term ?
Thanks
Andrew
Is there anyway to incorporate the keywords display into a page with other stuff ?
Similar to the search term ?
Thanks
Andrew
0
Comments
BTW, I like the wide format on your site.
LSV Photos ? Thanks. I figured there was only 5% of surfers using 800x600 so I sized the site for 1024 wide.
Andrew
It's nothing more than devbobo's sub-page hack. http://www.dgrin.com/showthread.php?p=355505#post355505
This will put the keyword list and the date search on the same page.
Enable the keyword and date search boxes to be viewed on the homepage.
In the JS section:
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
In your footer above the slideshow code:
<*script type="text/javascript" language="javascript"*>
if (hasPath("find"))
YD.addClass(document.body, "find");
<*/script*>
Remove *'s
In the css section
.homepage #datesBox {display: none;}
.homepage #keywordsBox {display: none;}
.find #datesBox {display: block;}
.find #keywordsBox {display: block;}
.find #bioBox {display: none;}
If you want to add SMUGSEARCH to the page. Place <div id="mySearch">SMUGSEARCH</div> as the last line in your header section. Add this to the css section:
.homepage #mySearch {display: none;}
.find #mySearch {display: block;}
!important may be needed in the css.
To access this page: http://www.andrewmurdoch.net/find
See how it works out. Yell back if you need anything....
and there's nothing there.
http://dna.smugmug.com/find
Do I have to add any html to the description or something ?
Thanks for your help.
Andrew
If so, click show so they are on the homepage.
Also you will need to put .homepage #bioBox {display: block;} in the css to bring the slideshow back up on the homepage.
.homepage .boxBottom {display:none;}
to this:
#categoriesBox {display: none;}
Thanks again for all your help clapthumbbarb
Andrew
Hi
I tried this but it didnt work. It wouldnt leave the slideshow when I clicked on Search. Also, couldnt get onto the gallery page.
Is there another way to do it? Or should I try this code again and tweak around with it?
Thats great! This is exactly what Im after.. except with maybe less keywords.
Can you show me how to do it please?
This page is exactly what I need. I followed this thread, but the links to the code and another sample were no longer correct.
I suspect there must be another thread with how to do this, but I haven't been able to find it.
I'd sure appreciate help.
Thanks,
RoundAmerica
http://roundamerica.smugmug.com
Round America
SmugMug Site: http://www.roundamerica.smugmug.com
Trip Site: http://www.roundamerica.com
Travel & Tour Site: http://www.roundamerica.us