BBC Home


25 November 2009
Accessibility help
Text only

Eastenders

BBC Homepage

This declares a variable for the eastenders site, characters section and interviews page. Ensure the value attribute of the variable is empty. Add this code into the section labelled SET VARIABLES. ----------------------------------------------------------------------------------------------------------- 2. Test the $ide_current_page agaisnt your page / section. Example (includes spaces between opening and closing brackets, yours shouldn't) : On the first of the above lines you test the current page against the path of your link. Notice the forward slashes are escaped with a back slash (\/). On the second line you set your variable's value to " class='current'" The third line ends the condition. Add this code into the section labelled TEST VARIABLES. ----------------------------------------------------------------------------------------------------------- 3. Add your new menu item to the HTML. Example (includes spaces between opening and closing brackets, yours shouldn't): > Interview Notice that you "echo" your variable inside the list item. If the condition has been met this will be a class telling the CSS that this item is the current page, if not it will be empty. Add this code into the section labelled LEFT HAND MENU. ----------------------------------------------------------------------------------------------------------- Thats it, all should work now, if not retrace your steps and look for typos. -->

Eastenders Home




Contact Us

Like this page?
Send it to a friend!
 

Ecards

Stacey

Doctor Al with his surfboard

Tanya Branning and Ian Beale

Syed gets curried away

Tanya with bouquet

Jim and Dot Branning


Viewer

Picture Set:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Gavin and Stacey

Catch up on series 1 and 2.



About the BBC | Help | Terms of Use | Privacy & Cookies Policy
 

Explore the BBC

Change Text Only Settings

Graphic version of this page