MyBB Community Forums

Full Version: Random Quote Generator Partially Complete - Help Needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
That shouldnt be too hard just an onload javascript function with different quotes in it, and then a js collapse. If i have time, i might be able to write a snippet for you. just let me finish my site. or if anyone else wants to do it feel free.
Thank you - anything you can do to assist would be appreciated.

Do you not think it possible to use the one that has been currently designed then? The random quote generator part of it works perfectly. It is just trying to work out where the changes were made so I can correctly apply them to the live site. I was hoping this would be the quicker and easier way Smile
Ah right sorry, i'll look into it and see what I can do.
Found this at the bottom of the global.css:

#quotes {
	background: #0B0B0B;
	color: #777;
	margin:0 1px 1px;
	padding: 10px;
	border-bottom:1px solid #141414;
}

Also I have confirmed that quote and quote_alt in Global Templates are not related to this, as they are in my live site.

So I am even more confused now.

This is in the header:

<div class="tborder">
    <div class="thead">
<strong>Quotes</strong>
<div class="expcolimage">
<img src="images/carpe-noctem/collapse.gif" id="quotes_col" class="expander" alt="[-]" title="[-]" style="cursor: pointer; ">
</div>
    </div>
<p id="quotes"></p>
</div>
<br /> 

The only thing it seems to reference is the #quotes found in the global.css. So how is this relating to the quotes.js? I know there is coding in the headerinclude, but there is something missing that ties these all together, and it is driving me mad trying to find it!

I cant seem to see either.. have you tried referencing to the js file within the template of the qoute. Just a simple
<script type="text/javascript" src="/js/qoute.js"></script>
?
Pages: 1 2