A quick question about HTLM pages. Does Java or JQuery not apply to the HTML pages? I can't get any of my codes to work, all the html and css works, but not the deciding java or jquery.
Any ideas?
Any ideas?
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<script type="text/javascript">
YOUR SCRIPT HERE
</script>
<html>
<head>
<script type="text/javascript">
$("#pageflip").hover(function() { //On hover...
$("#pageflip img , .msg_block").stop()
.animate({ //Animate and expand the image and the msg_block (Width + height)
width: '300px',
height: '300px'
}, 500);
} , function() {
$("#pageflip img").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 220);
$(".msg_block").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
});
</script>
</head>
<style>
body {
background-repeat: no-repeat;
background-position: top center;
background-color: #202020;
}
</style>
<body>
<body background ="http://i40.servimg.com/u/f40/14/90/77/10/naviga11.jpg" bgproperties="fixed">
<table>
<tr>
<div id="pageflip">
<a href="#">
<img src="http://i216.photobucket.com/albums/cc174/ToxiCure/Corner.png" alt="" />
<span class="msg_block">Subscribe via RSS</span>
</a>
</div>
<style>
#pageflip {
position: relative;
}
#pageflip img {
width: 50px; height: 50px;
z-index: 99;
position: absolute;
right: 0; top: 0;
-ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
width: 50px; height: 50px;
position: absolute;
z-index: 50;
right: 0; top: 0;
background: url(http://i216.photobucket.com/albums/cc174/ToxiCure/InfoCorner.png) no-repeat right top;
text-indent: -9999px;
}
</style>
</tr>
</table>
</body>
</html>
<html>
<head>
<script type="text/javascript">
$("#pageflip").hover(function() { //On hover...
$("#pageflip img , .msg_block").stop()
.animate({ //Animate and expand the image and the msg_block (Width + height)
width: '300px',
height: '300px'
}, 500);
} , function() {
$("#pageflip img").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 220);
$(".msg_block").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
});
</script>
<style>
body {
background-repeat: no-repeat;
background-position: top center;
background-color: #202020;
}
#pageflip {
position: relative;
}
#pageflip img {
width: 50px; height: 50px;
z-index: 99;
position: absolute;
right: 0; top: 0;
-ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
width: 50px; height: 50px;
position: absolute;
z-index: 50;
right: 0; top: 0;
background: url(http://i216.photobucket.com/albums/cc174/ToxiCure/InfoCorner.png) no-repeat right top;
text-indent: -9999px;
}
</style>
</head>
<body background="http://i40.servimg.com/u/f40/14/90/77/10/naviga11.jpg" bgproperties="fixed">
<table>
<tr>
<div id="pageflip">
<a href="#">
<img src="http://i216.photobucket.com/albums/cc174/ToxiCure/Corner.png" alt="" />
<span class="msg_block">Subscribe via RSS</span>
</a>
</div>
</tr>
</table>
</body>
</html>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js">YOUR JAVASCRIPT HERE</script>
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js">
$("#pageflip").hover(function() { //On hover...
$("#pageflip img , .msg_block").stop()
.animate({ //Animate and expand the image and the msg_block (Width + height)
width: '300px',
height: '300px'
}, 500);
} , function() {
$("#pageflip img").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 220);
$(".msg_block").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
});
</script>
<style>
body {
background-repeat: no-repeat;
background-position: top center;
background-color: #202020;
}
#pageflip {
position: relative;
}
#pageflip img {
width: 50px; height: 50px;
z-index: 99;
position: absolute;
right: 0; top: 0;
-ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
width: 50px; height: 50px;
position: absolute;
z-index: 50;
right: 0; top: 0;
background: url(http://i216.photobucket.com/albums/cc174/ToxiCure/InfoCorner.png) no-repeat right top;
text-indent: -9999px;
}
</style>
</head>
<body background="http://i40.servimg.com/u/f40/14/90/77/10/naviga11.jpg" bgproperties="fixed">
<table>
<tr>
<div id="pageflip">
<a href="#">
<img src="http://i216.photobucket.com/albums/cc174/ToxiCure/Corner.png" alt="" />
<span class="msg_block">Subscribe via RSS</span>
</a>
</div>
</tr>
</table>
</body>
</html>
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#pageflip").hover(function() { //On hover...
$("#pageflip img , .msg_block").stop()
.animate({ //Animate and expand the image and the msg_block (Width + height)
width: '300px',
height: '300px'
}, 500);
} , function() {
$("#pageflip img").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 220);
$(".msg_block").stop() //On hover out, go back to original size 50x50
.animate({
width: '50px',
height: '50px'
}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
});
});
</script>
</head>
<style>
body {
background-repeat: no-repeat;
background-position: top center;
background-color: #202020;
}
</style>
<body>
<body background ="http://i40.servimg.com/u/f40/14/90/77/10/naviga11.jpg" bgproperties="fixed">
<table>
<tr>
<div id="pageflip">
<a href="#">
<img src="http://i216.photobucket.com/albums/cc174/ToxiCure/Corner.png" alt="" />
<span class="msg_block">Subscribe via RSS</span>
</a>
</div>
<style>
#pageflip {
position: relative;
}
#pageflip img {
width: 50px; height: 50px;
z-index: 99;
position: absolute;
right: 0; top: 0;
-ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
width: 50px; height: 50px;
position: absolute;
z-index: 50;
right: 0; top: 0;
background: url(http://i216.photobucket.com/albums/cc174/ToxiCure/InfoCorner.png) no-repeat right top;
text-indent: -9999px;
}
</style>
</tr>
</table>
</body>
</html>