Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Alan Posted June 21, 2011 Posted June 21, 2011 The div I'm talking about is<div class='center' style='padding: 1px;'><img src="{$this->settings['base_url']}module=system&section=charts&days=7" alt="{$this->lang->words['reg_trends_chart']}" style='width:98%;' /></div> I'm fiddling around with changing that graph using the Google Charts API and it would make my life a lot easier if that <div> had an id attribute :) At the moment I rely on it being the only <div> on that page with the 'center' class which isn't ideal for obvious reasons. jQ('.center img').remove();jQ('.center').attr('id', 'cit-db-chart'); Ta in advance :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.