Log in

View Full Version : setting id as a variable



Boogle
10-05-2007, 10:20 AM
after seeing your super duper menus,

http://www.dynamicdrive.com/style/csslibrary/item/modern-bricks-menu/

in particular the one linked above, I can't figure out how to set the id="current" dynamically for master pages?

please can someone help?

tech_support
10-05-2007, 11:22 AM
You'll need to use a scripting language like PHP to do this. Use if's.

Boogle
10-05-2007, 11:49 AM
I have ZERO experiece in PHP and generally want to stay away from it. can i do this in the code-behind with c# or in a javascript?

Thanks,

any examples welcome!

Tawni
10-06-2007, 06:26 AM
<link rel="stylesheet"
href="myPage.asp?themetype=<%= current %>"
type="text/css">