free templates

Have a Smack Jeeves template you'd like to share with the community? Post it here!

Re: free templates

Postby AlexChalk » September 27th, 2009, 5:18 pm

I tried to apply sleepless to my comic, but for come reason certain pages didn't show up properly which on other templates show up just fine. Any idea why this might be?
User avatar
AlexChalk
 
Posts: 1
Joined: August 28th, 2009, 9:04 pm

Re: free templates

Postby whistleonwild » September 27th, 2009, 5:39 pm

AlexChalk wrote:I tried to apply sleepless to my comic, but for come reason certain pages didn't show up properly which on other templates show up just fine. Any idea why this might be?

I just went through all the templates and fixed this problem. If you copy-and-paste the fixed code from the comic page template into your template, it should work now.

(Basically I just finally applied this fix to all the templates.)

Hope that works!
User avatar
whistleonwild
 
Posts: 16
Joined: September 17th, 2007, 2:43 pm

Re: free templates

Postby JavaLeen » October 30th, 2009, 8:35 am

whaaaa... thank youuu! I snatched the 'cold' one... but I have one tiny problem...

the rating 'stars' list one under the other instead of lining up... and as much as I tried I just couldn't find the section where I can change this. >.<

please help? >.< (if this question was already answered than sorry, but please quote that post, because I must have slipped over it...)
User avatar
JavaLeen
 
Posts: 1
Joined: October 8th, 2009, 3:06 pm

Re: free templates

Postby whistleonwild » October 31st, 2009, 3:45 pm

JavaLeen wrote:whaaaa... thank youuu! I snatched the 'cold' one... but I have one tiny problem...

the rating 'stars' list one under the other instead of lining up... and as much as I tried I just couldn't find the section where I can change this. >.<

please help? >.< (if this question was already answered than sorry, but please quote that post, because I must have slipped over it...)

Can't be too sure, but I'm guessing the problem is in your Comic Page template. Go in there and find where this chunk of code is:

Code: Select all
<script language="JavaScript">

var dir = "http://www.smackjeeves.com/templates/default/images/";
var pic_unselected = "star-unselected.gif";
var pic_selected = "star-selected.gif";

// "Buffers" the image to the browser
document.write('<img style="display: none" src="' + dir + pic_unselected + '" />');
document.write('<img style="display: none" src="' + dir + pic_selected + '" />');

var default_rating = 0;
var rate_it_pic = "http://www.smackjeeves.com/templates/default/images/rate-it.gif";

function build_vote()
{
   document.write('<img id="text" src="' + rate_it_pic + '" /><ul>');
   for (n = 1; n<= 5; n++)
   {
      if (n <= default_rating)
      {
         default_pic = pic_selected;
      } else {
         default_pic = pic_unselected;
      }

      document.write('<li><a href="#" onClick="vote(' + n + '); return false;" onMouseOver="rateover(' + n + ');" onMouseOut="rateover(default_rating);"><img src="' + dir + default_pic + '" name="star_' + n + '"></a></li>');
   }
   document.write('</ul>');
}

function rateover(star_num)
{

   for (n = 1; n <= 5; n++)
   {
      if (n <= star_num)
      {
         da_code = 'document.star_' + n + '.src="' + dir + pic_selected + '"';
      } else {
         da_code = 'document.star_' + n + '.src="' + dir + pic_unselected + '"';
      }

      eval(da_code);
   }
}

function vote(rating)
{
   var new_window = window.open("/ratecomic.php?cid=728363&rating=" + rating, "sj_ratecomic", "height=300, width=400");
   new_window.focus();
}

</script>


And delete all of that. If that doesn't work, can you copy-and-paste everything in your comic page template to me?
User avatar
whistleonwild
 
Posts: 16
Joined: September 17th, 2007, 2:43 pm

Re: free templates

Postby Mist th » November 6th, 2009, 3:14 am

Thanks for these man legend templates.
User avatar
Mist th
 
Posts: 9
Joined: June 27th, 2009, 5:55 am

Previous

Return to Template Submission

Who is online

Users browsing this forum: No registered users and 1 guest