Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

HTML

  • 14-10-2010 12:48PM
    #1
    Registered Users, Registered Users 2 Posts: 26


    Hi I'm not sure if this should go here but I'm currently having a few problems with a html project I need to do for college. I want to embed images in a page so I can scroll through them by clicking next and previous. I have this much done but I want to know how to get the 'next' and 'previous' buttons to disappear when they're not needed i.e at the end and beginning of the "slide show" respectively. Can anyone help me?

    Sorry about the bad use of phrasing.


Comments

  • Registered Users, Registered Users 2 Posts: 1,418 ✭✭✭lmahoney79


    For images like that I always use Lightbox, its just a matter of copy and paste html code into your page. Very handy and looks good.


  • Registered Users, Registered Users 2 Posts: 4,788 ✭✭✭ztoical


    Lightbox is pretty straight forward and stylish but it's a JavaScript application not html just to be aware of that in case your college project requires you only use html


  • Registered Users, Registered Users 2 Posts: 1,674 ✭✭✭Deliverance


    ztoical wrote: »
    Lightbox is pretty straight forward and stylish but it's a JavaScript application not html just to be aware of that in case your college project requires you only use html
    Dynamic html would require embedded javascript functions. Cannot be done in html alone. Html puts up pics and text in tables, unless css is incorporated.

    A good trick to start with before coding is pseudo code. Psuedo code is basic english about what you want to do.

    Write this first i.e. What do you want to achieve:

    1.place a picture on the screen
    2. place two buttons below the picture called 'next' and 'previous'. That is a good start and easily done in html.

    For the rest: have a look at this.
    http://www.htmlgoodies.com/beyond/javascript/article.php/3471341/So-You-Want-A-SlideShow-Huh.htm

    Look into how to make the first and last button invisible or visible in javascript. Tis not hard to do visible=0 of false.


  • Closed Accounts Posts: 3 princedant


    HTML stands for Hyper Text Markup Language. It is a type of computer language that is primarily used for files that are posted on the internet and viewedby web browsers.


Advertisement