nirvana43 |
04-20-2008 07:04 AM |
Quote:
Originally Posted by nirvana43
(Post 1494905)
hi. i've installed this mod on my forum : Projects Planet Forums
There are 2 errors while validating w3c XHTML markup. Please have a look at those errors here :
http://validator.w3.org/check?uri=ht...om%2Findex.php
Here are those errors :
Code:
Line 348, Column 10: required attribute "type" not specified.
<script>
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Code:
Line 353, Column 66: required attribute "type" not specified.
?uage='javascript1.2' src='./highslide/highslide.js'></script>
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
please can you help me rectify those 2 errors?? :( :confused::(
|
Ok i fixed all the errors!! :up:
Just replace contents of hs_show template by below code :
Code:
<!-- HS Images Resize -->
<script type="text/javascript">
<!--
folder="./highslide/";
//-->
</script>
<script type="text/javascript" language='javascript1.2' src='./highslide/highslide.js'></script>
<script type="text/javascript">
hs.registerOverlay(
{
thumbnailId: null,
overlayId: 'controlbar',
position: 'top right',
hideOnMouseOut: true
}
);
hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.restoreTitle = 'Click to close, use arrow keys for next and previous';
hs.loadingText = 'Loading...';
hs.fullExpandTitle = 'Expand to actual size';
hs.focusTitle = 'Click to bring to front';
hs.loadingTitle = 'Click to cancel';
hs.align = 'center';
hs.easingClose = 'easeInQuad';
hs.expandDuration = Math.max(1, 702);
hs.restoreDuration = Math.max(1, 702);
hs.expandSteps = 20;
hs.restoreSteps = 20;
hs.showCredits = false;
hs.captionId = 'the-caption';
hs.captionSlideSpeed = 0;
hs.allowSizeReduction = false;
hs.dimmingOpacity = 0.7;
hs.dimmingDuration = 100;
hs.spaceForCaption = 50;
</script>
<script type="text/javascript">
hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
hs.allowSizeReduction = true;
</script>
<script type="text/javascript">
hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
hs.allowSizeReduction = true;
</script>
<style type="text/css">
.highslide {
cursor: url(highslide/graphics/zoomin.cur), pointer;
outline: none;
}
.highslide-active-anchor img {
visibility: hidden;
}
.highslide:hover img {
border: 2px solid white;
}
.highslide-wrapper {
background: white;
}
.highslide-image {
border: 2px solid white;
}
.highslide-image-blur {
}
.highslide-dimming {
background: black;
position: absolute;
visibility: hidden;
}
.highslide-active-anchor img {
visibility: hidden;
}
.highslide-caption {
display: none;
border: 2px solid white;
border-top: none;
font-family: Verdana, Helvetica;
font-size: 10pt;
padding: 5px;
background-color: white;
}
.highslide-loading {
display: block;
color: white;
font-size: 9px;
font-weight: bold;
text-decoration: none;
padding: 3px;
border-top: 1px solid white;
border-bottom: 1px solid white;
background-color: black;
}
a.highslide-credits,
a.highslide-credits i {
padding: 2px;
color: silver;
text-decoration: none;
font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
color: white;
background-color: gray;
}
.highslide-move {
cursor: move;
}
.highslide-overlay {
display: none;
}
a.highslide-full-expand {
background: url(highslide/graphics/fullexpand.gif) no-repeat;
display: block;
margin: 0 10px 10px 0;
width: 34px;
height: 34px;
}
.control {
float: right;
display: block;
position: relative;
margin: 0 5px;
font-size: 9pt;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
margin-top: 1px;
margin-bottom: 1px;
}
.control:hover {
border-top: 1px solid #333;
border-bottom: 1px solid #333;
margin-top: 0;
margin-bottom: 0;
}
.control, .control * {
color: #666;
}
.highslide-display-block {
display: block;
}
.highslide-display-none {
display: none;
}
.highslide-background {
color: #000000;
}
</style>
<!-- / HS Images Resize Code edited by Aditya Projects Planet-->
And now its working on Vbulletin 3.7.0 RC3!! :D
check out the working demo here : http://www.projectsplanet.com/roboti...e-project.html
Thanks a milion for this mod bro!!! :o
|