June 6, 200818 yr Hello everyone, I am not sure the correct name of what I am trying to achieve, but I will try explain best I can. On my homepage I would like to display featured news of certain topics. Users can click on the tabs and the different content with images is displayed all in the same place depending on which one they have clicked, without having to move off the homepage. An example of exactly what I mean is on www.yahoo.co.uk Underneath the featured news section they have tabs for news, sport, entertainment, video where you click and the content changes, without having to move to external page. Please could you tell me how to achieve this or point me towards a tutorial. If you don't understand what I mean please let me know and I will try to explain better! Thanks for your time.
June 6, 200818 yr There is a similar example on the bbc homepage now as well. This kind of thing usually requires the use of javascript to either hide or show divs, or replace elements using a javascript library such as jquery. I would imagine that the case on yahoo is being fed by a database and updated with ajax requests, but i could be wrong - ive not looked into it. Either way, its not the easiest thing to achieve unless you have some decent web coding experience and at least some experience with javascript.
June 6, 200818 yr Author There is a similar example on the bbc homepage now as well.This kind of thing usually requires the use of javascript to either hide or show divs, or replace elements using a javascript library such as jquery. I would imagine that the case on yahoo is being fed by a database and updated with ajax requests, but i could be wrong - ive not looked into it. Either way, its not the easiest thing to achieve unless you have some decent web coding experience and at least some experience with javascript. Ok thanks for your reply
June 6, 200818 yr http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm is your friend nice one bluedreamer always wondered how to do tis and assumed it involves javascript. couple of questions - what happens if javascript disabled - i'm guessing clicking tab has no effect? and is there an alternative no javascript method?
Create an account or sign in to comment