I'm getting an error when i click on the link element to change it to a different file. I dont have this problem if the element is not linked yet. So here's the java script error that i get:
Line: 95
Char: 3
Object doesnt support this property or method
Code: 0
url: fck_link.html
and here's the html code of the element i'm trying to re-link.
<DIV class=cstudydetail>
<H4><IMG height=49 alt=large src="/userimages/bfgdetail.jpg" width=200></H4>
<UL class=iconlist>
<LI class=pdf><A href="/userfiles/enablePayment.pdf">Download complete white paper</A></LI></UL></DIV>
Another thing is that if i remove the "class=cstudydetail" from the div then everything works fine.
Here's the css code that i've put in fck_editorarea.css
.cstudydetail {
width: 230px;
float: right;
padding: 0 0 0 10px;
margin: 0 0 10px 10px;
border-left: 2px dotted #ccc;
}
.cstudydetail li {
font-size: 10px;
font-weight: bold;
}
ul.iconlist { list-style-type: none; margin: 0; padding: 0;}
ul.iconlist li {
padding: 0 0 0 45px;
line-height: 45px;
margin: 0;
font-weight: bold;
background: url(/images/icons/empty_icon.gif) no-repeat 0 0;
}
ul.iconlist li.pdf {
background: url(/images/icons/pdf_icon.gif) no-repeat 0 0;
}
Line: 95
Char: 3
Object doesnt support this property or method
Code: 0
url: fck_link.html
and here's the html code of the element i'm trying to re-link.
<DIV class=cstudydetail>
<H4><IMG height=49 alt=large src="/userimages/bfgdetail.jpg" width=200></H4>
<UL class=iconlist>
<LI class=pdf><A href="/userfiles/enablePayment.pdf">Download complete white paper</A></LI></UL></DIV>
Another thing is that if i remove the "class=cstudydetail" from the div then everything works fine.
Here's the css code that i've put in fck_editorarea.css
.cstudydetail {
width: 230px;
float: right;
padding: 0 0 0 10px;
margin: 0 0 10px 10px;
border-left: 2px dotted #ccc;
}
.cstudydetail li {
font-size: 10px;
font-weight: bold;
}
ul.iconlist { list-style-type: none; margin: 0; padding: 0;}
ul.iconlist li {
padding: 0 0 0 45px;
line-height: 45px;
margin: 0;
font-weight: bold;
background: url(/images/icons/empty_icon.gif) no-repeat 0 0;
}
ul.iconlist li.pdf {
background: url(/images/icons/pdf_icon.gif) no-repeat 0 0;
}
RE: link inside div element