My Comic Archive Disappears

Topics that have been resolved and may be useful but do not fit into the knowledge base - either they're too specific, or they're duplicate questions.

Moderator: Help Desk Team

My Comic Archive Disappears

Postby WingzemonX » March 5th, 2010, 3:26 pm

Hi, I have a little problem o.oUu My Comic Archive page not displays my comics xDu... See you:

http://crimson-wzx.smackjeeves.com/archive/

Why occurs that? In a day to other it is happening. The code of the Apperence page is that:

Code: Select all
<table width="650px" border="1" cellpadding="5" cellspacing="0" align="center" style="border-color:#FFFFFF; border-style:solid; font-size:12px;">
   <tr>
         <th style="background-color:#990000">#</th><th style="background-color:#990000">Title</th><th style="background-color:#990000">Date Released</th><th style="background-color:#990000">Comments</th>
   </tr>
   
   <!-- BEGIN archive_list -->
   <tr>
         <td style="text-align:center;">{archive_list.COMIC_NUMBER}</td>
        <td style="text-align:center; font-weight:bold;"><b><a href="{archive_list.COMIC_URL}" onMouseOver="ddrivetip(thumbnail('{archive_list.THUMBNAIL_IMG_SRC}'))" onMouseOut="hideddrivetip()">{archive_list.COMIC_TITLE}</a></b></td>
        <td style="text-align:center;">{archive_list.DATE_RELEASED}</td>
        <td style="text-align:center; font-weight:bold;"><a href="{archive_list.COMIC_URL}">{archive_list.NUMBER_COMMENTS} Comments</a></td>
   </tr>
   <!-- END archive_list -->
   
</table>


But that ocurrs. o.o Someone know what happened?
User avatar
WingzemonX
 
Posts: 2
Joined: November 20th, 2007, 10:15 pm

Re: My Comic Archive Disappears

Postby Admin » March 6th, 2010, 9:34 pm

Try this code:

Code: Select all
<div id="dhtmltooltip"></div>



<img src="http://www.smackjeeves.com/templates/default/images/comicarchive.gif" alt="Comic Archive" /><br /><br />


<!-- BEGIN switch_comic_has_chapters -->

   <style type="text/css">
   
      .chapter_list a
      {
         padding: 4px 7px;
         margin: 0 4px;
         border: 1px solid #444444;
         background: #eee;
         -moz-border-radius: 6px;
         -webkit-border-radius: 6px;
         text-decoration: none;
      }
      
   </style>
   
   <div class="chapter_list">
   
      <!-- BEGIN archive_chapters -->
         <a href="#ch_{archive_chapters.CHAPTER_ID}">{archive_chapters.CHAPTER_TITLE}</a>
      <!-- END archive_chapters -->
   
   </div><br />
   
<!-- END switch_comic_has_chapters -->

<style type="text/css">

   #chapter_table
   {
      border-collapse: separate;
   }
   
   #chapter_table th, #chapter_table td
   {
      padding: 4px 6px;
      -moz-border-radius: 2px;
      -webkit-border-radius: 2px;
   }
   
   #chapter_table th
   {
      background: #444;
      color: white;
   }
   
   #chapter_table td
   {
      background: #ededed;
   }
   
   .chapter_title h2
   {
      margin: .5em;
   }
   
</style>

<table id="chapter_table" align="center">



   <tr><th>#</th><th>Title</th><th>Date Released</th><th>Comments</th></tr>
   
   <!-- BEGIN archive_chapters -->
   
      <!-- BEGIN switch_comic_has_chapters -->
      <tr><td colspan="4" class="chapter_title"><a name="ch_{archive_chapters.CHAPTER_ID}"><h2>{archive_chapters.CHAPTER_TITLE}</h2></a></td></tr>
      <!-- END switch_comic_has_chapters -->
   
      <!-- BEGIN archive_comics -->

      <tr>
         <td>{archive_chapters.archive_comics.COMIC_NUMBER}</td>
         <td><a href="{archive_chapters.archive_comics.COMIC_URL}" onMouseOver="ddrivetip(thumbnail('{archive_chapters.archive_comics.THUMBNAIL_IMG_SRC}'))" onMouseOut="hideddrivetip()">{archive_chapters.archive_comics.COMIC_TITLE}</a></td>
         <td>{archive_chapters.archive_comics.DATE_RELEASED}</td>
         <td><a href="{archive_chapters.archive_comics.COMIC_URL}">{archive_chapters.archive_comics.NUMBER_COMMENTS} Comments</a></td>
      </tr>

      <!-- END archive_comics -->
   
   <!-- END archive_chapters -->
   

</table>



<style type="text/css">

#dhtmltooltip{

position: absolute;

border: 2px solid black;

background: #fff;

padding: 2px;

visibility: hidden;

z-index: 100;

/*Remove below line to remove shadow. Below line should always appear last within this CSS*/

filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);

}

</style>



<script type="text/javascript">



/***********************************************

* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)

* This notice MUST stay intact for legal use

* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

***********************************************/



var offsetxpoint=15 //Customize x offset of tooltip

var offsetypoint=25 //Customize y offset of tooltip

var ie=document.all

var ns6=document.getElementById && !document.all

var enabletip=false

if (ie||ns6)

var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""



function ietruebody(){

return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

}



function ddrivetip(thetext, thecolor, thewidth){

if (ns6||ie){

if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"

if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor

tipobj.innerHTML=thetext

enabletip=true

return false

}

}



function positiontip(e){

if (enabletip){

var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;

var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;

//Find out how close the mouse is to the corner of the window

var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20

var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20



var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000



//if the horizontal distance isn't enough to accomodate the width of the context menu

if (rightedge<tipobj.offsetWidth)

//move the horizontal position of the menu to the left by it's width

tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"

else if (curX<leftedge)

tipobj.style.left="5px"

else

//position the horizontal position of the menu where the mouse is positioned

tipobj.style.left=curX+offsetxpoint+"px"



//same concept with the vertical position

if (bottomedge<tipobj.offsetHeight)

tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"

else

tipobj.style.top=curY+offsetypoint+"px"

tipobj.style.visibility="visible"

}

}



function hideddrivetip(){

if (ns6||ie){

enabletip=false

tipobj.style.visibility="hidden"

tipobj.style.left="-1000px"

tipobj.style.backgroundColor=''

tipobj.style.width=''

}

}



document.onmousemove=positiontip



function thumbnail(img_src) {

   

   return '<img src="' + img_src + '" />';

   

}



</script>
User avatar
Admin
Site Admin
 
Posts: 1039
Joined: August 17th, 2005, 11:10 pm

Re: My Comic Archive Disappears

Postby WingzemonX » March 7th, 2010, 12:55 am

xD I thought that it was a problem with the variables' name. Thanks. it worked perfectly!! :D
User avatar
WingzemonX
 
Posts: 2
Joined: November 20th, 2007, 10:15 pm

Re: My Comic Archive Disappears

Postby Admin » March 7th, 2010, 2:58 pm

You're welcome. :D
User avatar
Admin
Site Admin
 
Posts: 1039
Joined: August 17th, 2005, 11:10 pm


Return to Resolved Topics

Who is online

Users browsing this forum: No registered users and 2 guests