VosskahOfficer Wears Business Socks
Joined: 27 Feb 2010 Posts: 2339
|
re: Membership widget
by Vosskah on 2010/04/23 9:23
Hey Id, can you please give me the code you put together to modify the membership widget?
|
|
|
re: Membership widget
by Dirtface on 2010/04/23 9:38
- Code: Select all
new Selector('.menuContrastBox h5').findElements(document)[0].update('Currently recruiting one of the following:')
That's the javascript for it. You have to find some way to make that run for every page in the site. The easiest way would be if you can specify custom HTML for the header image, just add an onload to it like so: - Code: Select all
<img onload="the-javascript"... />
If that's not an option, I'm sure we can come up with a more creative way to get it on every page ;)
|
|
|
re: Membership widget
by Dirtface on 2010/04/23 11:40
I just looked at the code for the header image, and I know that's not going to work.
|
|
VosskahOfficer Wears Business Socks
Joined: 27 Feb 2010 Posts: 2339
|
re: Membership widget
by Vosskah on 2010/04/23 12:43
Yeah, the damn thing is pretty locked down but I'll check maybe over lunch how much customization I can do on the header.
|
|
VosskahOfficer Wears Business Socks
Joined: 27 Feb 2010 Posts: 2339
|
re: Membership widget
by Vosskah on 2010/04/23 13:37
Ok, it's not a widget and because of that I have very limited configuration options.
I changed the numbers being recruited to 0-1 instead.
|
|
|