Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Script/Stats Issue

 
Post new topic   Reply to topic    SearchIRC Forum Index -> How to use SearchIRC
Author Message
webcoder
Newbie
Newbie


Joined: 28 Feb 2008
Posts: 97
Location: Florida

PostPosted: Mar 23, 2008 11:19am    Post subject: Script/Stats Issue Reply with quote

Hello, I'm trying to add this to the website for my network

Code:
<script language="JavaScript" src="http://searchirc.com/jscript/xalaris_stats.js"></script>


It shows the number of users & channels, but I'm experiencing an alignment issue, I'm trying to get it to sit on the right hand side of my webpage but it stays on the left, the code i'm using is this:

Code:

            <p align="right" style="margin-top: 0; margin-bottom: 0"><b>
            <font face="Tahoma" size="2"><script language="JavaScript" src="http://searchirc.com/jscript/xalaris_stats.js"></script></font></b></p>
            <hr color="#555353" size="3">


Can someone maybe tell me a better way to do this?

Thanks
Back to top
Jason
SearchIRC Developer
SearchIRC Developer


Joined: 03 May 2003
Posts: 1221
Location: Tampa, FL

PostPosted: Mar 23, 2008 11:52am    Post subject: Reply with quote

The .js makes use of a class=searchirc

That class isn't defined anywhere, so you can define how it behaves in your site. Additionally, you can also have your webserver do a wget on the js file, and strip out my tags and reformat the output for your webpage.
Back to top
webcoder
Newbie
Newbie


Joined: 28 Feb 2008
Posts: 97
Location: Florida

PostPosted: Apr 28, 2008 3:07pm    Post subject: Reply with quote

Jason wrote:
The .js makes use of a class=searchirc

That class isn't defined anywhere, so you can define how it behaves in your site. Additionally, you can also have your webserver do a wget on the js file, and strip out my tags and reformat the output for your webpage.


awesome.... thanks Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> How to use SearchIRC All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer