Hi

Anyone here knows java applets?

Recommended Answers

All 6 Replies

Hi

Anyone please tell me where can i get to learn java applets to create image slider?

Thanks for the help.

There is no need to use applets for slide show and you would only complicate your life. You may do it with JavaScript as I did it few years back in my coursework where I use buttons to move from image to image, but you can exclude buttons and use timer to change image every 3-5 seconds. Also same thing cam be done with Flash, PHP, Ajax and other things(flash slide show on top of the page on my website). Everything depends on you, if you wish to learn new language or new software application

to learn something about applets check out the sun's java tutorial (use google to search for it ) About the slides if you have to use an applet then use threads or a timer. THe sun tutorial has a trail on java2D where you can learn how to load and render images, text and much more on graphics

There is no need to use applets for slide show and you would only complicate your life. You may do it with JavaScript as I did it few years back in my coursework where I use buttons to move from image to image, but you can exclude buttons and use timer to change image every 3-5 seconds. Also same thing cam be done with Flash, PHP, Ajax and other things(flash slide show on top of the page on my website). Everything depends on you, if you wish to learn new language or new software application

thanks alot.. what i needed to do is nearly like what you have done but just that i need to change the button to slider bar.. So do you know how to change the button to slider bar? please kindly help me..

If you look up the source code (do right click on Gallery, open link in new window/tab, then right click on new opened document and View Page Source) to that slide show, you will see that buttons are just images which can be swaped for anything you like

<A HREF="JavaScript:slideshowBack()" onmouseover="mouseOn('left');" onmouseout="mouseOff('left');">
<IMG SRC="../img/l_arrow_off.png" BORDER="0" NAME="left" id="left" ALT="Previous Image"></A>
<A HREF="JavaScript:slideshowUp()" onmouseover="mouseOn('right');" onmouseout="mouseOff('right');">
<IMG SRC="../img/r_arrow_off.png" BORDER="0" NAME="right" id="right" ALT="Next Image"></a>

Thanks peter_budo for your priceless help. I had solved my problems.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.