Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Those expandable things!
Name: simonscholey Date: August 23, 2006 at 09:07:38 Pacific OS: Windows XP Professional S CPU/Ram: AMD Athlon XP 2800 1Gb Product: Home Built
Comment:
Apologies for the subject! I am looking for some information on how to make those expanding bullet points in webpages. i've seen them in microsoft help files so you can find out more about something.
does anybody know what im talking about! more importanly can anybody help me to incorporate them into my site?
thanks in advance
MSI KT4AV-L AMD Athlon XP 2800 1Gb Crucial 3200 DDR 160Gb Seagate Barracuda ATI 256Mb 9600XT 16x DL DF DVD/RW 16x DVD ROM 9-in-1 Flash Media FDD Windows XP Pro/Vista Beta 2
Name: Michael J (by mjdamato) Date: August 23, 2006 at 12:47:40 Pacific
Reply:
What you are referring to is one of many things that can be accomplished with DHTML (Dynamic HTML). You can achieve it through a combination of HMTL, CSS and JavaScript.
Here is an example. Copy the code below into an html document (replace the [] with <>).
[script language="javascript"] function displayDiv(id) { divObj = document.getElementById(id); if (divObj.style.display=='inline') { divObj.style.display = 'none';} else {divObj.style.display = 'inline';} } [/script]
[div id="testDiv" style="display:inline;"] This content will appear/disappear when you click the link below [/div] [br][br] [a href="#" onClick="displayDiv('testDiv')"]Click Me[/a]
Summary: There are some hacks that make it very difficult for 99.99% of the population to get at your code. 1. Create a master page that consists of a single frame where you will load your actual page. 2. Disa...
Summary: I made my blog on 800X600, everything seems okay. But my friend w a 1024X786 screen says that things are getting outta alignment, esp those that i put in a div layer tag. HELP! how? my blog: http://ww...
Summary: "Java/JSP is extremely slow, and is a huge drain on server resources." You must not be doing it right :-) Java is plenty fast as long as what you're doing isn't making an obscene amount of calls to t...