Create ticket Browse solutions
Tickets solutions > HTML Code for embedding the LogoScroll into my page
Print

HTML Code for embedding the LogoScroll into my page

There are 2 sections of code that you must place in your HTML page in order to place LogoScroll on your site's page. 


The first is a javascript include tag that you must place inside your documents <head> and </head> tags.  And the src should point to the location where you are putting the swfobject.js file


Here is the first line of code:


<script type="text/javascript" src="js/swfobject.js"></script>


The second section of code is the code used to embed the flash file into your page.


 Here is the code that you can place anywhere within your page and LogoScroll will display in this section of your page:


<div id="rotator_container"><a href="http://www.adobe.com/go/getflashplayer">Get the Flash Player</a> to see this logo scroller.</div>

<script type="text/javascript">

    var pr = new SWFObject("scroller.swf","pr","400","200","8");

    pr.addParam("wmode","transparent");   

    pr.addVariable("xmlFile","config.xml");   

    pr.write("rotator_container");

</script>


Adding both sections of code to your page, and double checking that the file paths are correct for each ofthe files mentioned should pull the LogoScroll scroller into your web page when you view the page in your browser.

Tags

All Html code (1) Javascript (1) Flash embed code (1) Branded version (1) Copyright removal (1) Unbranded version (1)