August 18, 200817 yr Hi, What is the code for HTML which i can use to allow users to click on a section of text and it will expand via a text box to display more information about the link they've clicked on. The image version is like what they use on this page: http://www.jagex.com/corporate/Press/imageAssets.ws. Where you click on the images, and they expand. I would like to use this feature but only so that instead of images, its text. Thanks
August 19, 200817 yr That looks like just basic html to me. There are thumbnails of the images which link to the full image. To do the same with text you have to main options; 1. Show part of the text and link to a page with the full text. 2. Create a image with text then set it up so a thumbnail directs to the full image. [hide=Drops]Dragon Axe x11Berserker Ring x9Warrior Ring x8SeercullDragon MedDragon Boots x4 - all less then 30 kcGodsword Shard (bandos)Granite Maul x 3Solo only - doesn't include barrows[/hide][hide=Stats][/hide]
August 19, 200817 yr Yep, that Jagex site is simply links to different web pages, They could have done it using an Ajax script to load the info into a DIV, but there's so little else on that page there's no point! [Assist-X]
August 19, 200817 yr Not too sure what you're asking, since the answers already given make it seem like you're talking about something else :/ Anyway, that script for the images where they expand with the effects is called LIghtbox. It's not designed to work with inline content, but there are several alternatives that do. For further reading see: Modalbox, Thickbox, or The lightbox effect without lightbox. Last.fm Signature Overlays
Create an account or sign in to comment