Need to change style of some javascript code

Discussion in 'JavaScript' started by mickscool, Jun 10, 2009.

  1. #1
    Hi friends,
    I have some embedded javascript code that shows some game data. The problem is that it comes with it's own style, which I can view when I do "Frame->View Source" but it does not suit my site theme and I would like to change the style but no success so far...

    I tried to get the frame stylesheet with some code like this but nothing is working:
    
    	alert(window.parent.frames.length);//reply comes back as 1
    	alert(window.parent.frames[0].document.styleSheets.length);//no reply comes back
    
    Code (markup):
    This should be easy for a pro but I am new to J.S and I would like to have some advice here for free or some professional help for which I can pay.

    Please let me know
    Thanks
     
    mickscool, Jun 10, 2009 IP