• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Topslide- jquery sliding advert in header

tried to install it and I get this?

An unexpected exception occurred.

Never mind this, just tried it again this morning and it worked fine! :)I do have a problem though and I am assuming this problem is because of my logo being so big! Any ideas how I can get around this?
sliding banner.webp
 
I think I will use this on a new site that I am working on. I could use it to rotate images of the horses that are for sale currently. Great work. Thanks!

Update: For some reason my image links were broken. Logo showed fine and the address was .com/forum/styles/default/xenforo/
but the slides when opened in a new window showed
.com/styles/default/xenforo/
I had to add the /forum to the topslide template, then the slides showed as images.
 
Not Found :(

img.webp

My Logo_Block
PHP:
<div id="logoBlock">
    <div class="pageWidth">
        <div class="pageContent">
            <div id="logo"><a href="{$logoLink}">
                <span><xen:comment>This span fixes IE vertical positioning</xen:comment></span>
                <img src="@headerLogoPath" alt="{$xenOptions.boardTitle}" />
            </a></div>
     <xen:include template="topslide"></xen:include>
        </div>
    </div>
</div>

<xen:require css="topslide.css" />
     <xen:require js="js/jquery/jquery.topslide.js" />
     <xen:require js="js/jquery/jquery.topslidecontrol.js" />
 
Not Found :(

View attachment 6669

My Logo_Block
PHP:
<div id="logoBlock">
    <div class="pageWidth">
        <div class="pageContent">
            <div id="logo"><a href="{$logoLink}">
                <span><xen:comment>This span fixes IE vertical positioning</xen:comment></span>
                <img src="@headerLogoPath" alt="{$xenOptions.boardTitle}" />
            </a></div>
     <xen:include template="topslide"></xen:include>
        </div>
    </div>
</div>

<xen:require css="topslide.css" />
     <xen:require js="js/jquery/jquery.topslide.js" />
     <xen:require js="js/jquery/jquery.topslidecontrol.js" />
Try moving the JS / CSS <xen:require>s to the top of the block.
 
Very cool. Nice of you to share. I have a community where I can use this. Great for top 3 stats in the header :D
 
Top Bottom