ShopWindow Forum  

Go Back   ShopWindow Forum > Content Widgets > Managed Widgets
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-08, 10:19
Elmer Elmer is offline
New Member
 
Join Date: Nov 2008
Posts: 9
Content Widget not linking

Hello

A simple query I hope. I have created my first content widgets and put them on my site. But the links in the widgets do not work.

I have put the script line in the body of my index.tpl file and the include line is in the index.php file.

Why aren't the links working? Is it to do with where I put the script line? If I put it in the head then what code would go in the body?

Thanks.
Reply With Quote
  #2  
Old 10-12-08, 10:42
Elmer Elmer is offline
New Member
 
Join Date: Nov 2008
Posts: 9
Problem in css?

Actually I should add that the script line is within a box. I just tested it outside of this div and it worked. So it's a problem with my css I think. I'm trying to created rounded corners to my boxes and this is the code I got from a book. Any ideas where I am going wrong?

Mark up
<div class="box">
<h3>Top DVDs</h3>
<ul>
<li><script src="http://www.awin1.com/wshow.js?s=130791"></script></li>
<li><script src="http://www.awin1.com/wshow.js?s=130890"></script></li>
</ul>
</div>

CSS code:
.box {
float: left;
width: 180px;
margin-bottom: 10px;
background: url(../images/div-bottom-180x700.gif) no-repeat bottom left;
}

.box h3 {
margin: 0;
padding: 6px 8px 4px 10px;
font-size: 115%;
color: #333;
border-bottom: 1px solid #E0CFAB;
background: url(../images/h3-bg-180.gif) no-repeat top left;
}

.box ul {
margin: 0;
padding: 14px 10px 14px 10px;
list-style: none;
text-align: center;
}

.box ul li {
margin: 0 0 6px;
padding: 0;
}
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:37.