Exe16p Posted August 18, 2008 Share Posted August 18, 2008 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 Link to comment Share on other sites More sharing options...
JoeDaStudd Posted August 19, 2008 Share Posted August 19, 2008 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] Link to comment Share on other sites More sharing options...
ClareJonsson Posted August 19, 2008 Share Posted August 19, 2008 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] Link to comment Share on other sites More sharing options...
Errdoth Posted August 19, 2008 Share Posted August 19, 2008 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 Link to comment Share on other sites More sharing options...
Marine Posted August 20, 2008 Share Posted August 20, 2008 I would also look into the jQuery library, that normally helps me out ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now