| | |
Adding text to Slideshow script for images
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2007
Posts: 13
Reputation:
Solved Threads: 0
Greetings,
I'm not a very advanced programmer at all.
I found a piece of code that helps me out a lot at http://www.codelifter.com/main/javas...lideshow2.html. It allows an image to crossfade into another, into another, etc.
I'd like to be able to crossfade an image, with a text caption underneath it, to crossfade into a different image with different text, into another, etc.
I think doing this may have something to do with putting the image and caption into a <div>, and then changing the code to swap the first <div> into the next, into the next.
The code identifies the images as 1.jpg, 2.jpg, 3.jpg, etc. It would be awesome if the captions could come from 1.txt, 2.txt, 3.txt, etc.
If Javascript can't call up .txt files, then the captions could be put inside the current web page into a table that is set to be hidden (display: none).
Can anyone help me do this?
The reason I want to use Javascript is because I do not wish to use anything that will make visitors have to have additional software (like Java or Flash). Additionally, it is not a problem if they have Javascrpt disabled, because then they'll just see the first image with the first caption, which is fine. I can't use anything like PHP or PERL because I have very little control over the server.
Thank you very much.
Matthew
Here is the original code:
I'm not a very advanced programmer at all.
I found a piece of code that helps me out a lot at http://www.codelifter.com/main/javas...lideshow2.html. It allows an image to crossfade into another, into another, etc.
I'd like to be able to crossfade an image, with a text caption underneath it, to crossfade into a different image with different text, into another, etc.
I think doing this may have something to do with putting the image and caption into a <div>, and then changing the code to swap the first <div> into the next, into the next.
The code identifies the images as 1.jpg, 2.jpg, 3.jpg, etc. It would be awesome if the captions could come from 1.txt, 2.txt, 3.txt, etc.
If Javascript can't call up .txt files, then the captions could be put inside the current web page into a table that is set to be hidden (display: none).
Can anyone help me do this?
The reason I want to use Javascript is because I do not wish to use anything that will make visitors have to have additional software (like Java or Flash). Additionally, it is not a problem if they have Javascrpt disabled, because then they'll just see the first image with the first caption, which is fine. I can't use anything like PHP or PERL because I have very little control over the server.
Thank you very much.
Matthew
Here is the original code:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
========================================================== Script: JavaScript Cross-Browser SlideShow Script With Cross-Fade Effect between Images Adjustable Timing and Unlimited Images Function: Displays images continuously in a slideshow presentation format, with a fade effect on image transitions. Browsers: All common browsers: NS3-6, IE 4-6 Fade effect only in IE; others degrade gracefully Author: etLux ========================================================== Step 1. Put the following script in the head of your page: <script> // (C) 2000 www.CodeLifter.com // http://www.codelifter.com // Free for all users, but leave in this header // NS4-6,IE4-6 // Fade effect only in IE; degrades gracefully // ======================================= // set the following variables // ======================================= // Set slideShowSpeed (milliseconds) var slideShowSpeed = 5000 // Duration of crossfade (seconds) var crossFadeDuration = 3 // Specify the image files var Pic = new Array() // don't touch this // to add more images, just continue // the pattern, adding to the array below Pic[0] = '1.jpg' Pic[1] = '2.jpg' Pic[2] = '3.jpg' Pic[3] = '4.jpg' Pic[4] = '5.jpg' // ======================================= // do not edit anything below this line // ======================================= var t var j = 0 var p = Pic.length var preLoad = new Array() for (i = 0; i < p; i++){ preLoad[i] = new Image() preLoad[i].src = Pic[i] } function runSlideShow(){ if (document.all){ document.images.SlideShow.style.filter="blendTrans(duration=2)" document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)" document.images.SlideShow.filters.blendTrans.Apply() } document.images.SlideShow.src = preLoad[j].src if (document.all){ document.images.SlideShow.filters.blendTrans.Play() } j = j + 1 if (j > (p-1)) j=0 t = setTimeout('runSlideShow()', slideShowSpeed) } </script> ========================================================== Step 2. Put this onload event call in your body tag: <body onload="runSlideShow()"> ========================================================== Step 3. Put this in the body of your page where you want the slide show to appear. Set widths and heights same as images Set image file same as first image in array Pic[] (above) <table border="0" cellpadding="0" cellspacing="0"> <tr> <td id="VU" height=150 width=150> <img src="1.jpg" name='SlideShow' width=150 height=150></td> </tr> </table> ==========================================================
Lost in the archive section, but this may come in handy for the other viewers' on this site.
This is a revision of the first posted version of the crossFader script, and now comes with a text rotator upgrade.
We are hoping that you will appreciate those time we've spent when we are creating re-runs on every codes..
This is a revision of the first posted version of the crossFader script, and now comes with a text rotator upgrade.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html id="xhtml10" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Style-Type" content="text/javascript" /> <title>Slide Show Demo</title> <style type="text/css"> /* <![CDATA[ */ * { border : none; } html, body { background-color : #aaa; color : #405060; font : normal normal normal 95%/1.4 "Trebuchet MS", "Bernard MT Condensed", Tahoma, Verdana, Helvetica, Arial, sans-serif; min-height : 600px; text-align : center; height : auto; width : auto; } div#main { background-color : #f0f0f0; margin : 0 auto; height : inherit !important; padding : 0; width : 100%; } div.tube { border : 2px solid; background-color : inherit; height : inherit !important; clear : both; padding : 1em; margin : 0; overflow : hidden; } table { min-height : 600px; border-collapse : collapse; text-align : left; margin : 0 auto; table-layout : fixed; padding : 0; width : 100%; } td { height : auto; vertical-align : middle !important; width : 100%; } div#mySlide { padding : 1em; text-align : center; width : 50%; margin : 0 auto; } span#slideText, img#slideShow { margin : 0 auto; display : block; } span#slideText { padding-top : 1em; color : #696969; letter-spacing : 2px; } /* ]]> */ </style> <script type="text/javascript"> // <![CDATA[ var slideShowSpeed = 2; // Specify the number of delays in seconds var captionID = "slideText"; // Specify the element id of the slideText container, ( div/span/p etc. ). var crossFadeDuration = 3; // Specify the Cross Fade Duration in ( seconds ). var $Path = "1.jpg, 2.jpg, 3.jpg, 4.png, 5.gif"; // Specify the filename's of the images that will be loaded in the slideShow rotation. Must be delimited by a ( space or comma ). var $text = [ // Specify your Slide message's here, must be double quoted ( "" ) and delimited by a ( , ). /* 1 */ "Image slide show with text rotator", /* 2 */ "Dani's Javascript Live Examples", /* 3 */ "I Love JavaScript!", /* 4 */ "We find ways to make your Website's better.", /* 5 */ "The good things about here, is FREE!" ]; /* W-A-R-N-I-N-G! - Do not attempt to alter any lines below -- unless you know what you are exactly doing! This notice must remain intact for use. - DANIuser : essential ~ - Profile : http://www.daniweb.com/forums/member383844.html - Get More IT Solutions at: http://www.daniweb.com/ */ var count = 0; var textCount = 0; var $images, $img; var runSlideShow; $images = [ ]; $Path = (( $Path.split ) ? $Path.split(/[\,\s]+/) : $Path.match(/[\w\d]+(?:\.\w+)/g )); runSlideShow = function() { (( count === $Path.length ) ? count = 0 : count ); (( textCount === $text.length ) ? textCount = 0 : textCount ); $div = (( document.all ) ? document.all[ captionID ] : (( document.getElementById ) ? document.getElementById( captionID ) : document.layers[ captionID ] )); $img = (( document.images ) ? document.images.slideShow : (( document.getElementById ) ? document.getElementById("slideShow") : (( document.layers ) ? document.layers.slideShow : document.all.slideShow ))); if ( document.images ) { if ( $img.style.filter ) { // Exception for some browser's that do not understand image filtration. Just making sure that whole thing will still, work with or without images filtration support. $img.style.filter = " blendTrans( duration=2 )"; $img.style.filter = "blendTrans( duration = crossFadeDuration )"; (( $img.filters ) ? $img.filters.blendTrans.Apply() : $img ); } for ( var x = 0; x < $Path.length; x++ ) { $images[ x ] = new Image(); $images[ x ].src = $Path[ x ]; } $img.src = $Path[ count ]; $div.innerHTML = $text[ textCount++ ]; $img.alt = $img.src; (( $img.filters ) ? $img.filters.blendTrans.Play() : $img ); setTimeout( "runSlideShow()", ( slideShowSpeed * 1000 )) } count++; }; window.onload = runSlideShow; // ]]> </script> </head> <body> <div id="main"> <div class="tube"> <table id="slider" frame="void" rules="none" summary="Image slide show with text rotator."> <tr> <td> <div id="mySlide"> <img id="slideShow" src="image1.jpg" alt="SlideShow" /> <span id="slideText">SLIDE SAMPLE Text1</span> </div> </td> </tr> </table> </div></div> </body> </html>
We are hoping that you will appreciate those time we've spent when we are creating re-runs on every codes..
•
•
Join Date: May 2009
Posts: 23
Reputation:
Solved Threads: 0
Further thoughts .. I am very new to javascript (more familiar with PHP and CSS.) Ultimately, I want a cross-browser slideshow, with titles and hyperlinks, and cross-fade effects that work across browsers. (Additionally, I want it to be flexible enough so that I can eventually select the images and text from a database.)
Summarizing where I am at :
1) schwarznavy's 4/2/08 post executes a slideshow in Chrome, FF and IE8, without text but with a cross-fade effect that only works in IE.
2) essential's 5/31/09 post executes a slideshow in Chrome and Firefox but not in IE8, with text but shows no cross-fade effect in either browser.
3) http://brainerror.net/scripts/javascript/blendtrans/demo.html's code (8/18/07) executes a slideshow in Chrome, Firefox and IE8, without text but with nice cross-fade effects that work in all 3 browsers. (But doesn't center images and I get strange side effects when I try to do this with css.)
Has anyone seen code that executes a slideshow A) cross-browser with cross-browser cross-fade effects, B) with text captions and (optionally) C) with hyperlinks?
Summarizing where I am at :
1) schwarznavy's 4/2/08 post executes a slideshow in Chrome, FF and IE8, without text but with a cross-fade effect that only works in IE.
2) essential's 5/31/09 post executes a slideshow in Chrome and Firefox but not in IE8, with text but shows no cross-fade effect in either browser.
3) http://brainerror.net/scripts/javascript/blendtrans/demo.html's code (8/18/07) executes a slideshow in Chrome, Firefox and IE8, without text but with nice cross-fade effects that work in all 3 browsers. (But doesn't center images and I get strange side effects when I try to do this with css.)
Has anyone seen code that executes a slideshow A) cross-browser with cross-browser cross-fade effects, B) with text captions and (optionally) C) with hyperlinks?
•
•
Join Date: May 2009
Posts: 23
Reputation:
Solved Threads: 0
•
•
•
•
I'll try to make another update later...
Can you provide a short detail, regarding the issue in IE8?
Thanks...
Thanx for your help !
I'm still not sure for the end result of this script, but if you find any promblem, just let me know again...
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://www.w3.org/2005/10/profile"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Image Cross Fader Script with Text Rotator</title> <style type="text/css"> /* <![CDATA[ */ * { border : none; } html, body { background-color : #ccc; color : #506070; font : normal normal normal 12pt/1.6 "Trebuchet MS", "Bernard MT Condensed", Tahoma, Verdana, Helvetica, Arial, sans-serif; min-height : 600px; text-align : center; height : auto; width : auto; } div#main { margin : 0 auto; height : inherit !important; padding : 0; width : 100%; } div.tube { border : 2px solid; background-color : #f0f0f0; height : inherit !important; clear : both; padding : 1em; margin : 0; overflow : hidden; } table { border-collapse : collapse; text-align : left; margin : 0; min-height : 600px !important; padding : 0; width : 100%; } img#slidePic { border : 1px solid; min-width : 200px; min-height : 200px; background-color : #ccc; } div#box { margin : 0 auto; width : 50%; } td { height : auto; vertical-align : middle !important; width : 100%; text-align : center; } /* ]]> */ </style> <script type="text/javascript"> // <![CDATA[ var slideTextID = "slideText"; // Specify the id of the slide text container. var fadeIn = 4; // Specify the fadeIn transition. var slideSpeed = 2 // Specify the number of delay in ( seconds ). var baseName = "image"; // Specify the base name for the images var crossFadeDuration = 3; // Specify the duration of the cross fade effect in ( seconds ). /* ~ In your image folder, you must rename all images based on the value that we've assigned in (baseName) variable and following it with a sequence of number. Example: image0.jpg, image1.jpg, image2.jpg and so on... */ var howManyImage = 5; // Specify the number of image(s) that will be loaded in the slide show. //* Bringing back the classic in creating arrays. var myImages = new Array( howManyImage ); var imagePath = new Array( howManyImage ); var myCaption = new Array(); myCaption[ 0 ] = "Text Sample #1"; myCaption[ 1 ] = "Text Sample #2"; myCaption[ 2 ] = "Text Sample #3"; myCaption[ 3 ] = "Text Sample #4"; myCaption[ 4 ] = "Text Sample #5"; /* ~ You can add more text slide, by continuing the same format. Next index will begin at ( 5 ). */ for ( var x = 0; x < myImages.length; x++ ) { myImages[ x ] = ((( baseName ) + x ) + ".jpg" ); { imagePath[ x ] = new Image(); imagePath[ x ].src = myImages[ x ]; } } var iLen = myImages.length; var tLen = myCaption.length; var browser; var imageCount = 0; var textCount = 0; var slideShow = function() { ie = new RegExp("MSIE[\\s\\/]([3-5]\\.\\d)", "i"); browser = navigator.userAgent; imageCount = (( imageCount === iLen ) ? 0 : imageCount ); textCount = (( textCount === tLen ) ? 0 : textCount ); txtRotate = (( document.all && !document.getElementById ) ? document.all[ slideTextID ] : (( document.layers ) ? document.layers[ slideTextID ] : document.getElementById( slideTextID ))); try { imgRotate = (( document.images.slidePic ) ? document.images.slidePic : document.images["slidePic"] ); } catch( e ) { imgRotate = (( document.all && !document.getElementById ) ? document.all["slidePic"] : (( document.layers ) ? document.layers["slidePic"] : document.getElementById("slidePic") )); } for ( var j = (( fadeIn ) * 100 ); j >= 0; j-- ) { if ( ie.test( browser ) ) { imgRotate.style.filter = "blendTrans(duration=" + crossFadeDuration + ")"; if ( imgRotate.filters.blendTrans.status !== 2 ) { imgRotate.filters.blendTrans.apply(); imgRotate .style.visibility = "visible"; } } else if ( browser.toLowerCase().indexOf("firefox") !== -1 ) { imgRotate.style.MozOpacity = Math.round( j / 100 ); } else if ( browser.toLowerCase().indexOf("konqueror") !== -1 ) { imgRotate.style.KhtmlOpacity = Math.round( j / 100 ); } else if ( ( /MSIE[\s\/]([6-8]\.\d)/i ).test( browser ) ) { imgRotate.style.filter = "alpha(opacity=" + j + ")"; } else { imgRotate.style.opacity = Math.round( j / 100 ); } } imgRotate.src = imagePath[ imageCount ].src; (( ie.test( browser )) ? imgRotate.filters.blendTrans.play() : true ); txtRotate.innerHTML = myCaption[ textCount ]; window.setTimeout( "slideShow()", (( slideSpeed ) * 1000 )); textCount++; imageCount++; }; window.onload = slideShow; // ]]> </script> </head> <body> <div id="main"> <div class="tube"> <table id="crossfader" frame="void" rules="none" summary="Javascript : crossfader script with text rotator"> <tr> <td><div id="box"><img id="slidePic" src="image0.jpg" alt="Image Slide" /> <div id="slideText"></div></div></td> </tr> </table> </div> </div> </body> </html>
•
•
Join Date: May 2009
Posts: 23
Reputation:
Solved Threads: 0
(Hopefully I am not duplicating a reply -- looked like I timed out before I could submit last time.)
I created the images -- image0.jpg through image4.jpg in my images directory and modified the path so that they could be accessed, then tried your code in both IE8 and FF.
In both, I can see that the tube div is being displayed (I added color:red to the style so that I could see the border.) Under this I see the captions, so I know we are looping properly. In firebug I can see that the image paths are being constructed properly. However, I am seeing no images.
I am currently using code from brainerror.com -- seems to give me the cross-browser fade-transitions I need even though it does not display captions. But I'm happy to test whatever else you come up. (Also happy to share the code I am using if you want to see it.)
Thanx !
I created the images -- image0.jpg through image4.jpg in my images directory and modified the path so that they could be accessed, then tried your code in both IE8 and FF.
In both, I can see that the tube div is being displayed (I added color:red to the style so that I could see the border.) Under this I see the captions, so I know we are looping properly. In firebug I can see that the image paths are being constructed properly. However, I am seeing no images.
I am currently using code from brainerror.com -- seems to give me the cross-browser fade-transitions I need even though it does not display captions. But I'm happy to test whatever else you come up. (Also happy to share the code I am using if you want to see it.)
Thanx !
•
•
•
•
I'm still not sure for the end result of this script, but if you find any promblem, just let me know again...
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://www.w3.org/2005/10/profile"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Image Cross Fader Script with Text Rotator</title> <style type="text/css"> /* <![CDATA[ */ * { border : none; } html, body { background-color : #ccc; color : #506070; font : normal normal normal 12pt/1.6 "Trebuchet MS", "Bernard MT Condensed", Tahoma, Verdana, Helvetica, Arial, sans-serif; min-height : 600px; text-align : center; height : auto; width : auto; } div#main { margin : 0 auto; height : inherit !important; padding : 0; width : 100%; } div.tube { border : 2px solid; background-color : #f0f0f0; height : inherit !important; clear : both; padding : 1em; margin : 0; overflow : hidden; } table { border-collapse : collapse; text-align : left; margin : 0; min-height : 600px !important; padding : 0; width : 100%; } img#slidePic { border : 1px solid; min-width : 200px; min-height : 200px; background-color : #ccc; } div#box { margin : 0 auto; width : 50%; } td { height : auto; vertical-align : middle !important; width : 100%; text-align : center; } /* ]]> */ </style> <script type="text/javascript"> // <![CDATA[ var slideTextID = "slideText"; // Specify the id of the slide text container. var fadeIn = 4; // Specify the fadeIn transition. var slideSpeed = 2 // Specify the number of delay in ( seconds ). var baseName = "image"; // Specify the base name for the images var crossFadeDuration = 3; // Specify the duration of the cross fade effect in ( seconds ). /* ~ In your image folder, you must rename all images based on the value that we've assigned in (baseName) variable and following it with a sequence of number. Example: image0.jpg, image1.jpg, image2.jpg and so on... */ var howManyImage = 5; // Specify the number of image(s) that will be loaded in the slide show. //* Bringing back the classic in creating arrays. var myImages = new Array( howManyImage ); var imagePath = new Array( howManyImage ); var myCaption = new Array(); myCaption[ 0 ] = "Text Sample #1"; myCaption[ 1 ] = "Text Sample #2"; myCaption[ 2 ] = "Text Sample #3"; myCaption[ 3 ] = "Text Sample #4"; myCaption[ 4 ] = "Text Sample #5"; /* ~ You can add more text slide, by continuing the same format. Next index will begin at ( 5 ). */ for ( var x = 0; x < myImages.length; x++ ) { myImages[ x ] = ((( baseName ) + x ) + ".jpg" ); { imagePath[ x ] = new Image(); imagePath[ x ].src = myImages[ x ]; } } var iLen = myImages.length; var tLen = myCaption.length; var browser; var imageCount = 0; var textCount = 0; var slideShow = function() { ie = new RegExp("MSIE[\\s\\/]([3-5]\\.\\d)", "i"); browser = navigator.userAgent; imageCount = (( imageCount === iLen ) ? 0 : imageCount ); textCount = (( textCount === tLen ) ? 0 : textCount ); txtRotate = (( document.all && !document.getElementById ) ? document.all[ slideTextID ] : (( document.layers ) ? document.layers[ slideTextID ] : document.getElementById( slideTextID ))); try { imgRotate = (( document.images.slidePic ) ? document.images.slidePic : document.images["slidePic"] ); } catch( e ) { imgRotate = (( document.all && !document.getElementById ) ? document.all["slidePic"] : (( document.layers ) ? document.layers["slidePic"] : document.getElementById("slidePic") )); } for ( var j = (( fadeIn ) * 100 ); j >= 0; j-- ) { if ( ie.test( browser ) ) { imgRotate.style.filter = "blendTrans(duration=" + crossFadeDuration + ")"; if ( imgRotate.filters.blendTrans.status !== 2 ) { imgRotate.filters.blendTrans.apply(); imgRotate .style.visibility = "visible"; } } else if ( browser.toLowerCase().indexOf("firefox") !== -1 ) { imgRotate.style.MozOpacity = Math.round( j / 100 ); } else if ( browser.toLowerCase().indexOf("konqueror") !== -1 ) { imgRotate.style.KhtmlOpacity = Math.round( j / 100 ); } else if ( ( /MSIE[\s\/]([6-8]\.\d)/i ).test( browser ) ) { imgRotate.style.filter = "alpha(opacity=" + j + ")"; } else { imgRotate.style.opacity = Math.round( j / 100 ); } } imgRotate.src = imagePath[ imageCount ].src; (( ie.test( browser )) ? imgRotate.filters.blendTrans.play() : true ); txtRotate.innerHTML = myCaption[ textCount ]; window.setTimeout( "slideShow()", (( slideSpeed ) * 1000 )); textCount++; imageCount++; }; window.onload = slideShow; // ]]> </script> </head> <body> <div id="main"> <div class="tube"> <table id="crossfader" frame="void" rules="none" summary="Javascript : crossfader script with text rotator"> <tr> <td><div id="box"><img id="slidePic" src="image0.jpg" alt="Image Slide" /> <div id="slideText"></div></div></td> </tr> </table> </div> </div> </body> </html>
The only problem i have here, is that i am just using a palm device, running in OPERA (Presto), developing the whole script. That's why i can't run testing on transitions. But it's quite a big challenge to me, creating programs in handheld device--so i prefer to give it another one last try.
Thanks for the feedback...
Thanks for the feedback...
![]() |
Similar Threads
- HELP! need help adding text to slideshow (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: help with this Greasemonkey (Javascript) script
- Next Thread: [jQuery] Create a draggable on the mousedown event
Views: 7463 | Replies: 25
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxcode ajaxhelp animate array automatically autoplay beta boarder box bug button calendar captcha card cart codes column cookies createrange() css cursor date debugger decimal design developer dom download dropdown element enter error events firefox firehose flash focus form frameworks getselection google gwt html htmlform iframe image() images index java javascript javascripts jawascriptruntimeerror jquery jsp listbox maps marquee masterpage menu microsoft mimic mp3 mp4 offline onmouseover parameters php player post problem programming prototype rating redirect regex safari scale scriptlets search select size sources sql starrating text textarea toggle twitter validation variables w3c web website window windowofwords windowsxp xml xspf





