Timeline for ID of document library to use in CSS
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 1, 2013 at 0:23 | vote | accept | Luke | ||
Jan 31, 2013 at 4:23 | answer | added | Nagaraju Pattem | timeline score: 0 | |
Jan 31, 2013 at 3:16 | answer | added | Luke | timeline score: 0 | |
Jan 31, 2013 at 3:14 | comment | added | Luke | Couldn't reply to my own question within 3 hours or something - I'll try it again. - Posted it but can't accept for 17 hours :/ | |
Jan 30, 2013 at 21:00 | comment | added | Tim | OK, good you found a solution. Why don't you write that down as an answer to your question an later mark it as the correct answer so other people find it more attractive to read your question if it has a working answer? | |
Jan 30, 2013 at 1:20 | comment | added | Luke | I ended up just using jQuery for this. Put it in my master page in a script tag. if ( document.location.href.indexOf('<string in URL - I used the name of the document library') > -1 ) { $('UL#topnav A.SecondTab').css('background-image', 'url(highlightedtab.jpg)'); } Used several if statements because each tab has a different class name, e.g. FirstTab, SecondTab etc. | |
Jan 29, 2013 at 22:47 | comment | added | Tim | I't hard to help with the info you give. Maybe some markup of the different document views would help? | |
Jan 29, 2013 at 22:47 | answer | added | Tim | timeline score: 0 | |
Jan 29, 2013 at 20:55 | history | asked | Luke | CC BY-SA 3.0 |