PDA

View Full Version : setting id as a variable


Boogle
10-05-2007, 11: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, 12:22 PM
You'll need to use a scripting language like PHP to do this. Use if's.

Boogle
10-05-2007, 12:49 PM
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, 07:26 AM
<link rel="stylesheet"
href="myPage.asp?themetype=<%= current %>"
type="text/css">