I have a template based site which i have created using ASP. I have several paragraphs of content that needs to be not visible in some pages.
Eg:
home.asp
content: xyz
kind.asp
content: x
search.asp
content: xz
so when a user visits the site at home.asp the paragraphs XYZ needs to visible, and in kind.asp only X needs to be visible.
Can someone please suggest me how to do it in asp or javascript?
Well, a little generic script on the clientside could look like this:
Be aware that is just an example without browser-abstraction level. However, using jQuery this task becomes totally trivial: